#051C2F#051C2F

#051C2F is a very dark, muted cyan. Relative luminance 0.011; OKLCH L 21.9% C 0.047 H 246.4°. Best body text is #FFFFFF at 17.30:1 contrast (WCAG AA passes).

Color values

HEX#051C2F
RGBrgb(5, 28, 47)
HSLhsl(207, 81%, 10%)
HSVhsv(207, 89%, 18%)
CMYKcmyk(89.4%, 40.4%, 0%, 81.6%)
CIE-LABlab(9.54, -0.89, -15.29)
CIE-LCHlch(9.54, 15.31, 266.68°)
OKLaboklab(21.95% -0.019 -0.0434)
OKLCHoklch(21.95% 0.047 246.4)
XYZxyz(0.9907, 1.0679, 2.8427)
Luminance0.0107 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#051C2F #2F1805
analogous
#052F2D #051C2F #05072F
triadic
#051C2F #2F051C #1C2F05
tetradic
#051C2F #2D052F #2F1805 #072F05
square
#051C2F #2D052F #2F1805 #072F05
split-complementary
#051C2F #2F0507 #2F2D05
monochromatic
#03101C #03101C #051C2F #0B3D66 #115E9E

Accessibility & contrast

On white

17.30
#051C2F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.21
#051C2F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #051C2F
17.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##051C2F#FFFFFF#000000##FFFFFF
##051C2F1.0017.301.2117.30
#FFFFFF17.301.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#131D30
Deuteranopia (green-blind)
#0D192F
Tritanopia (blue-blind)
#002123
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #051c2f;
/* rgb */ color: rgb(5, 28, 47);
/* oklch */ color: oklch(21.9% 0.047 246.4);
Tailwind
colors: {
  custom: {
    50: '#4b5767',
    500: '#051c2f',
    950: '#000000',
  },
}
SCSS
$custom: #051c2f;
$custom-light: #4b5767;
$custom-dark: #000000;
JSON
{
  "hex": "#051c2f",
  "rgb": {
    "r": 5,
    "g": 28,
    "b": 47
  },
  "hsl": {
    "h": 207.143,
    "s": 80.769,
    "l": 10.196
  },
  "oklch": {
    "l": 0.21949,
    "c": 0.04738,
    "h": 246.4
  },
  "luminance": 0.01068
}

Semantic roles & 50–950 ramp

primary
#051C2F
secondary
#71441F
accent
#8A31F7
background
#F4F5F6
surface
#E7E9EB
border
#C3C5C6
text
#010306
muted
#77787A

Preview Lab

Preview with #051C2F

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

Preview Lab → · Contrast checker → · Palette generator →

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