#051F33#051F33

#051F33 is a very dark, muted cyan. Relative luminance 0.013; OKLCH L 23.1% C 0.050 H 245.2°. Best body text is #FFFFFF at 16.80:1 contrast (WCAG AA passes).

Color values

HEX#051F33
RGBrgb(5, 31, 51)
HSLhsl(206, 82%, 11%)
HSVhsv(206, 90%, 20%)
CMYKcmyk(90.2%, 39.2%, 0%, 80%)
CIE-LABlab(10.93, -1.29, -16.00)
CIE-LCHlch(10.93, 16.06, 265.39°)
OKLaboklab(23.12% -0.021 -0.0454)
OKLCHoklch(23.12% 0.05 245.2)
XYZxyz(1.1499, 1.2511, 3.3122)
Luminance0.0125 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#051F33 #331905
analogous
#053330 #051F33 #050833
triadic
#051F33 #33051F #1F3305
tetradic
#051F33 #300533 #331905 #083305
square
#051F33 #300533 #331905 #083305
split-complementary
#051F33 #330508 #333005
monochromatic
#03111C #03111C #051F33 #0A416B #1063A2

Accessibility & contrast

On white

16.80
#051F33 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #051F33
16.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##051F33#FFFFFF#000000##FFFFFF
##051F331.0016.801.2516.80
#FFFFFF16.801.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#162034
Deuteranopia (green-blind)
#0F1B33
Tritanopia (blue-blind)
#002426
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #051f33;
/* rgb */ color: rgb(5, 31, 51);
/* oklch */ color: oklch(23.1% 0.050 245.2);
Tailwind
colors: {
  custom: {
    50: '#4d5a6a',
    500: '#051f33',
    950: '#000000',
  },
}
SCSS
$custom: #051f33;
$custom-light: #4d5a6a;
$custom-dark: #000000;
JSON
{
  "hex": "#051f33",
  "rgb": {
    "r": 5,
    "g": 31,
    "b": 51
  },
  "hsl": {
    "h": 206.087,
    "s": 82.143,
    "l": 10.98
  },
  "oklch": {
    "l": 0.23124,
    "c": 0.05007,
    "h": 245.2
  },
  "luminance": 0.01251
}

Semantic roles & 50–950 ramp

primary
#051F33
secondary
#74441F
accent
#872FF8
background
#F4F5F6
surface
#E7E9EB
border
#C3C5C6
text
#010306
muted
#77787A

Preview Lab

Preview with #051F33

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

Preview Lab → · Contrast checker → · Palette generator →

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