Colour reference

Midnight Teal

#073b4c

RGB
rgb(7 59 76)
HSL
195°, 83%, 16%
OKLCh
32.9% 0.059 225.8

Open in the picker

Midnight Teal in every format

Web & CSSThe everyday formats for stylesheets and design tools.

Hex#073b4c
RGBrgb(7 59 76)
RGB legacyrgb(7, 59, 76)
RGB percentrgb(2.75% 23.14% 29.8%)
HSLhsl(194.8 83.1% 16.3%)
HSL legacyhsl(194.8, 83.1%, 16.3%)
HSV / HSBhsv(194.8, 90.8%, 29.8%)
HWBhwb(194.8 2.7% 70.2%)
Nearest namedarkslategray (approx.)
CMYKcmyk(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.

OKLChoklch(32.914% 0.0587 225.825)Modern CSS colour space for even palettes — better than HSL when building scales.
OKLaboklab(32.914% -0.04091 -0.0421)
CIE LChlch(22.376% 19.205 233.113)
CIE Lablab(22.376% -11.527 -15.36)
Display P3color(display-p3 0.0967 0.2276 0.2913)
Rec. 2020color(rec2020 0.0848 0.1624 0.2299)
srgb-linearcolor(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 — sRGBvec3(0.027, 0.231, 0.298)Encoded values. Use when writing straight to the framebuffer.
GLSL vec3 — linearvec3(0.002, 0.044, 0.072)Light-linear values. Use for lighting, blending and mixing.
GLSL vec4 — sRGBvec4(0.027, 0.231, 0.298, 1.0)
GLSL vec4 — linearvec4(0.002, 0.044, 0.072, 1.0)
GLSL ivec3ivec3(7, 59, 76)
HLSL float3 — sRGBfloat3(0.027, 0.231, 0.298)
HLSL float3 — linearfloat3(0.002, 0.044, 0.072)
HLSL float4 — sRGBfloat4(0.027, 0.231, 0.298, 1.0)
HLSL half4 — sRGBhalf4(0.027, 0.231, 0.298, 1.0)
WGSL vec3f — sRGBvec3f(0.027, 0.231, 0.298)
WGSL vec4f — sRGBvec4f(0.027, 0.231, 0.298, 1.0)
WGSL vec3<f32> — linearvec3<f32>(0.002, 0.044, 0.072)

Engines & appsConstructors for Unity, Unreal, Godot, Flutter, SwiftUI and Android.

Unity Colornew 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 Color32new Color32(7, 59, 76, 255)
Unreal FLinearColorFLinearColor(0.0021f, 0.0437f, 0.0723f, 1.0f)FLinearColor for materials and lighting. FColor when you need whole numbers from 0 to 255.
Unreal FColorFColor(7, 59, 76, 255)Whole numbers from 0 to 255 — use when an API asks for FColor, not FLinearColor.
Godot ColorColor(0.027, 0.231, 0.298, 1)
Flutter ColorColor(0xFF073B4C)Packed ARGB, so alpha comes first.
Android ColorColor.rgb(7, 59, 76)
SwiftUI ColorColor(red: 0.027, green: 0.231, blue: 0.298)
UIKit UIColorUIColor(red: 0.027, green: 0.231, blue: 0.298, alpha: 1)

Raw valuesPacked integers and plain arrays.

0x hex0x073B4C
0x hex (ARGB)0xFF073B4C
Array 0–1[0.027, 0.231, 0.298]
Array 0–255[7, 59, 76]
Decimal integer473932

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.

PairingWCAG 2 ratioLevelAPCASuitable for
Midnight Teal on white12.08:1AAALc 97Body text at any size
Midnight Teal on black1.74:1FailLc 0Not 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.081
  • midnightblueΔEok 0.119
  • darkslateblueΔEok 0.138
  • navyΔEok 0.157
  • darkblueΔEok 0.163
  • indigoΔEok 0.175