#051F2B#051F2B

#051F2B is a very dark, muted cyan. Relative luminance 0.012; OKLCH L 22.6% C 0.039 H 231.6°. Best body text is #FFFFFF at 16.97:1 contrast (WCAG AA passes).

Color values

HEX#051F2B
RGBrgb(5, 31, 43)
HSLhsl(199, 79%, 9%)
HSVhsv(199, 88%, 17%)
CMYKcmyk(88.4%, 27.9%, 0%, 83.1%)
CIE-LABlab(10.46, -4.90, -10.94)
CIE-LCHlch(10.46, 11.99, 245.85°)
OKLaboklab(22.6% -0.0243 -0.0307)
OKLCHoklch(22.6% 0.039 231.6)
XYZxyz(0.9884, 1.1865, 2.4620)
Luminance0.0119 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#051F2B #2B1105
analogous
#052B24 #051F2B #050C2B
triadic
#051F2B #2B051F #1F2B05
tetradic
#051F2B #24052B #2B1105 #0C2B05
square
#051F2B #24052B #2B1105 #0C2B05
split-complementary
#051F2B #2B050C #2B2405
monochromatic
#03141B #03141B #051F2B #0B4762 #126E99

Accessibility & contrast

On white

16.97
#051F2B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #051F2B
16.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##051F2B#FFFFFF#000000##FFFFFF
##051F2B1.0016.971.2416.97
#FFFFFF16.971.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#191F2C
Deuteranopia (green-blind)
#141B2B
Tritanopia (blue-blind)
#002223
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #051f2b;
/* rgb */ color: rgb(5, 31, 43);
/* oklch */ color: oklch(22.6% 0.039 231.6);
Tailwind
colors: {
  custom: {
    50: '#4b5a64',
    500: '#051f2b',
    950: '#000000',
  },
}
SCSS
$custom: #051f2b;
$custom-light: #4b5a64;
$custom-dark: #000000;
JSON
{
  "hex": "#051f2b",
  "rgb": {
    "r": 5,
    "g": 31,
    "b": 43
  },
  "hsl": {
    "h": 198.947,
    "s": 79.167,
    "l": 9.412
  },
  "oklch": {
    "l": 0.22595,
    "c": 0.03921,
    "h": 231.6
  },
  "luminance": 0.01187
}

Semantic roles & 50–950 ramp

primary
#051F2B
secondary
#6D381F
accent
#7032F6
background
#F4F5F5
surface
#E7E9EA
border
#C3C5C6
text
#010305
muted
#777879

Preview Lab

Preview with #051F2B

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

Preview Lab → · Contrast checker → · Palette generator →

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