#051F39#051F39

#051F39 is a very dark, muted cyan. Relative luminance 0.013; OKLCH L 23.6% C 0.059 H 251.3°. Best body text is #FFFFFF at 16.65:1 contrast (WCAG AA passes).

Color values

HEX#051F39
RGBrgb(5, 31, 57)
HSLhsl(210, 84%, 12%)
HSVhsv(210, 91%, 22%)
CMYKcmyk(91.2%, 45.6%, 0%, 77.6%)
CIE-LABlab(11.33, 1.50, -19.67)
CIE-LCHlch(11.33, 19.73, 274.36°)
OKLaboklab(23.57% -0.019 -0.0562)
OKLCHoklch(23.57% 0.059 251.3)
XYZxyz(1.2908, 1.3075, 4.0544)
Luminance0.0131 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#051F39 #391F05
analogous
#053939 #051F39 #050539
triadic
#051F39 #39051F #1F3905
tetradic
#051F39 #390539 #391F05 #053905
square
#051F39 #390539 #391F05 #053905
split-complementary
#051F39 #390505 #393905
monochromatic
#020F1C #020F1C #051F39 #0A3E71 #0F5CAA

Accessibility & contrast

On white

16.65
#051F39 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.26
#051F39 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #051F39
16.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##051F39#FFFFFF#000000##FFFFFF
##051F391.0016.651.2616.65
#FFFFFF16.651.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#12213A
Deuteranopia (green-blind)
#0A1C38
Tritanopia (blue-blind)
#002529
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #051f39;
/* rgb */ color: rgb(5, 31, 57);
/* oklch */ color: oklch(23.6% 0.059 251.3);
Tailwind
colors: {
  custom: {
    50: '#4e5a6f',
    500: '#051f39',
    950: '#000000',
  },
}
SCSS
$custom: #051f39;
$custom-light: #4e5a6f;
$custom-dark: #000000;
JSON
{
  "hex": "#051f39",
  "rgb": {
    "r": 5,
    "g": 31,
    "b": 57
  },
  "hsl": {
    "h": 210,
    "s": 83.871,
    "l": 12.157
  },
  "oklch": {
    "l": 0.23567,
    "c": 0.05931,
    "h": 251.3
  },
  "luminance": 0.01308
}

Semantic roles & 50–950 ramp

primary
#051F39
secondary
#7A4D20
accent
#942EFA
background
#F4F5F6
surface
#E7E9EC
border
#C3C5C7
text
#020307
muted
#78787A

Preview Lab

Preview with #051F39

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

Preview Lab → · Contrast checker → · Palette generator →

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