#051E39#051E39

#051E39 is a very dark, moderate cyan. Relative luminance 0.013; OKLCH L 23.3% C 0.061 H 252.8°. Best body text is #FFFFFF at 16.78:1 contrast (WCAG AA passes).

Color values

HEX#051E39
RGBrgb(5, 30, 57)
HSLhsl(211, 84%, 12%)
HSVhsv(211, 91%, 22%)
CMYKcmyk(91.2%, 47.4%, 0%, 77.6%)
CIE-LABlab(10.96, 2.27, -20.25)
CIE-LCHlch(10.96, 20.37, 276.39°)
OKLaboklab(23.28% -0.0179 -0.0579)
OKLCHoklch(23.28% 0.061 252.8)
XYZxyz(1.2651, 1.2561, 4.0459)
Luminance0.0126 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#051E39 #392005
analogous
#053839 #051E39 #060539
triadic
#051E39 #39051E #1E3905
tetradic
#051E39 #390538 #392005 #053906
square
#051E39 #390538 #392005 #053906
split-complementary
#051E39 #390605 #383905
monochromatic
#020F1C #020F1C #051E39 #0A3C71 #0F59AA

Accessibility & contrast

On white

16.78
#051E39 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.25
#051E39 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #051E39
16.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##051E39#FFFFFF#000000##FFFFFF
##051E391.0016.781.2516.78
#FFFFFF16.781.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#11203A
Deuteranopia (green-blind)
#081B38
Tritanopia (blue-blind)
#002428
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #051e39;
/* rgb */ color: rgb(5, 30, 57);
/* oklch */ color: oklch(23.3% 0.061 252.8);
Tailwind
colors: {
  custom: {
    50: '#4e596f',
    500: '#051e39',
    950: '#000000',
  },
}
SCSS
$custom: #051e39;
$custom-light: #4e596f;
$custom-dark: #000000;
JSON
{
  "hex": "#051e39",
  "rgb": {
    "r": 5,
    "g": 30,
    "b": 57
  },
  "hsl": {
    "h": 211.154,
    "s": 83.871,
    "l": 12.157
  },
  "oklch": {
    "l": 0.23283,
    "c": 0.06063,
    "h": 252.8
  },
  "luminance": 0.01256
}

Semantic roles & 50–950 ramp

primary
#051E39
secondary
#7A4F20
accent
#982EFA
background
#F4F5F6
surface
#E7E9EC
border
#C3C5C7
text
#020307
muted
#78787A

Preview Lab

Preview with #051E39

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

Preview Lab → · Contrast checker → · Palette generator →

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