#051D39#051D39

#051D39 is a very dark, moderate cyan. Relative luminance 0.012; OKLCH L 23.0% C 0.062 H 254.2°. Best body text is #FFFFFF at 16.92:1 contrast (WCAG AA passes).

Color values

HEX#051D39
RGBrgb(5, 29, 57)
HSLhsl(212, 84%, 12%)
HSVhsv(212, 91%, 22%)
CMYKcmyk(91.2%, 49.1%, 0%, 77.6%)
CIE-LABlab(10.60, 3.04, -20.83)
CIE-LCHlch(10.60, 21.05, 278.31°)
OKLaboklab(23% -0.0169 -0.0596)
OKLCHoklch(23% 0.062 254.2)
XYZxyz(1.2402, 1.2063, 4.0376)
Luminance0.0121 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#051D39 #392105
analogous
#053739 #051D39 #070539
triadic
#051D39 #39051D #1D3905
tetradic
#051D39 #390537 #392105 #053907
square
#051D39 #390537 #392105 #053907
split-complementary
#051D39 #390705 #373905
monochromatic
#020E1C #020E1C #051D39 #0A3A71 #0F56AA

Accessibility & contrast

On white

16.92
#051D39 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.24
#051D39 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #051D39
16.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##051D39#FFFFFF#000000##FFFFFF
##051D391.0016.921.2416.92
#FFFFFF16.921.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F1F3A
Deuteranopia (green-blind)
#061A38
Tritanopia (blue-blind)
#002428
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #051d39;
/* rgb */ color: rgb(5, 29, 57);
/* oklch */ color: oklch(23.0% 0.062 254.2);
Tailwind
colors: {
  custom: {
    50: '#4e586f',
    500: '#051d39',
    950: '#000000',
  },
}
SCSS
$custom: #051d39;
$custom-light: #4e586f;
$custom-dark: #000000;
JSON
{
  "hex": "#051d39",
  "rgb": {
    "r": 5,
    "g": 29,
    "b": 57
  },
  "hsl": {
    "h": 212.308,
    "s": 83.871,
    "l": 12.157
  },
  "oklch": {
    "l": 0.23002,
    "c": 0.06198,
    "h": 254.2
  },
  "luminance": 0.01206
}

Semantic roles & 50–950 ramp

primary
#051D39
secondary
#7A5020
accent
#9C2EFA
background
#F4F5F6
surface
#E7E9EC
border
#C3C5C7
text
#020307
muted
#78787A

Preview Lab

Preview with #051D39

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#051D39 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva