Colour reference
Midnight Teal
#073b4c
- RGB
- rgb(7 59 76)
- HSL
- 195°, 83%, 16%
- OKLCh
- 32.9% 0.059 225.8
Midnight Teal in every format
Web & CSSThe everyday formats for stylesheets and design tools.
| Hex | #073b4c | |
|---|---|---|
| RGB | rgb(7 59 76) | |
| RGB legacy | rgb(7, 59, 76) | |
| RGB percent | rgb(2.75% 23.14% 29.8%) | |
| HSL | hsl(194.8 83.1% 16.3%) | |
| HSL legacy | hsl(194.8, 83.1%, 16.3%) | |
| HSV / HSB | hsv(194.8, 90.8%, 29.8%) | |
| HWB | hwb(194.8 2.7% 70.2%) | |
| Nearest name | darkslategray (approx.) | |
| CMYK | cmyk(90.8%, 22.4%, 0%, 70.2%)Naive conversion. Real print work needs an ICC profile. |
Perceptual & wide gamutModern CSS colour spaces for uniform scales and P3 displays.
| OKLCh | oklch(32.914% 0.0587 225.825)Modern CSS colour space for even palettes — better than HSL when building scales. | |
|---|---|---|
| OKLab | oklab(32.914% -0.04091 -0.0421) | |
| CIE LCh | lch(22.376% 19.205 233.113) | |
| CIE Lab | lab(22.376% -11.527 -15.36) | |
| Display P3 | color(display-p3 0.0967 0.2276 0.2913) | |
| Rec. 2020 | color(rec2020 0.0848 0.1624 0.2299) | |
| srgb-linear | color(srgb-linear 0.0021 0.0437 0.0723)Light-linear sRGB — the same numbers a shader wants for maths. | |
| CIE XYZ (D65) | color(xyz-d65 0.0296 0.0369 0.074) |
ShadersGLSL, HLSL and WGSL vectors in both encoded and linear form.
| GLSL vec3 — sRGB | vec3(0.027, 0.231, 0.298)Encoded values. Use when writing straight to the framebuffer. | |
|---|---|---|
| GLSL vec3 — linear | vec3(0.002, 0.044, 0.072)Light-linear values. Use for lighting, blending and mixing. | |
| GLSL vec4 — sRGB | vec4(0.027, 0.231, 0.298, 1.0) | |
| GLSL vec4 — linear | vec4(0.002, 0.044, 0.072, 1.0) | |
| GLSL ivec3 | ivec3(7, 59, 76) | |
| HLSL float3 — sRGB | float3(0.027, 0.231, 0.298) | |
| HLSL float3 — linear | float3(0.002, 0.044, 0.072) | |
| HLSL float4 — sRGB | float4(0.027, 0.231, 0.298, 1.0) | |
| HLSL half4 — sRGB | half4(0.027, 0.231, 0.298, 1.0) | |
| WGSL vec3f — sRGB | vec3f(0.027, 0.231, 0.298) | |
| WGSL vec4f — sRGB | vec4f(0.027, 0.231, 0.298, 1.0) | |
| WGSL vec3<f32> — linear | vec3<f32>(0.002, 0.044, 0.072) |
Engines & appsConstructors for Unity, Unreal, Godot, Flutter, SwiftUI and Android.
| Unity Color | new Color(0.027f, 0.231f, 0.298f, 1.0f)Color for everyday scripting (0–1). Color32 when you need whole numbers from 0 to 255. | |
|---|---|---|
| Unity Color32 | new Color32(7, 59, 76, 255) | |
| Unreal FLinearColor | FLinearColor(0.0021f, 0.0437f, 0.0723f, 1.0f)FLinearColor for materials and lighting. FColor when you need whole numbers from 0 to 255. | |
| Unreal FColor | FColor(7, 59, 76, 255)Whole numbers from 0 to 255 — use when an API asks for FColor, not FLinearColor. | |
| Godot Color | Color(0.027, 0.231, 0.298, 1) | |
| Flutter Color | Color(0xFF073B4C)Packed ARGB, so alpha comes first. | |
| Android Color | Color.rgb(7, 59, 76) | |
| SwiftUI Color | Color(red: 0.027, green: 0.231, blue: 0.298) | |
| UIKit UIColor | UIColor(red: 0.027, green: 0.231, blue: 0.298, alpha: 1) |
Raw valuesPacked integers and plain arrays.
| 0x hex | 0x073B4C | |
|---|---|---|
| 0x hex (ARGB) | 0xFF073B4C | |
| Array 0–1 | [0.027, 0.231, 0.298] | |
| Array 0–255 | [7, 59, 76] | |
| Decimal integer | 473932 |
Contrast and accessibility
WCAG 2 ratios are what audits and legislation reference. APCA is shown alongside because WCAG 2 is known to misjudge mid-tone backgrounds, and it is the basis of the WCAG 3 draft.
| Pairing | WCAG 2 ratio | Level | APCA | Suitable for |
|---|---|---|---|---|
| Midnight Teal on white | 12.08:1 | AAA | Lc 97 | Body text at any size |
| Midnight Teal on black | 1.74:1 | Fail | Lc 0 | Not usable for text |
Midnight Teal text on a white background
Midnight Teal text on a black background
White text on Midnight Teal
Black text on Midnight Teal
Tonal scale
Hue held fixed while lightness walks OKLCh, ready to use as a design system ramp.
- 50#dbfeff
- 100#cef5ff
- 200#bbe4f5
- 300#a2cee0
- 400#83b1c5
- 500#6493a7
- 600#4c798b
- 700#386172
- 800#274d5c
- 900#1a3d4a
- 950#06232d
Tints and shades
Mixed perceptually toward white and black, so the steps feel evenly spaced.
- Tint 1#345967
- Tint 2#5a7884
- Tint 3#8198a2
- Tint 4#aab9c0
- Tint 5#d4dcdf
- Shade 1#042c3a
- Shade 2#021e28
- Shade 3#011118
- Shade 4#000509
- Shade 5#000101
Colours that work with Midnight Teal
Complementary, triadic and analogous partners, rotated in OKLCh so they keep the same apparent brightness.
- #4e2b1a
- #4b283c
- #39370e
- #003e3f
- #203653
Closest CSS names
darkslategrayΔEok 0.081midnightblueΔEok 0.119darkslateblueΔEok 0.138navyΔEok 0.157darkblueΔEok 0.163indigoΔEok 0.175