#051B2F#051B2F

#051B2F is a very dark, muted cyan. Relative luminance 0.010; OKLCH L 21.7% C 0.049 H 248.5°. Best body text is #FFFFFF at 17.44:1 contrast (WCAG AA passes).

Color values

HEX#051B2F
RGBrgb(5, 27, 47)
HSLhsl(209, 81%, 10%)
HSVhsv(209, 89%, 18%)
CMYKcmyk(89.4%, 42.6%, 0%, 81.6%)
CIE-LABlab(9.17, -0.12, -15.88)
CIE-LCHlch(9.17, 15.89, 269.55°)
OKLaboklab(21.65% -0.0178 -0.0452)
OKLCHoklch(21.65% 0.049 248.5)
XYZxyz(0.9674, 1.0213, 2.8349)
Luminance0.0102 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#051B2F #2F1905
analogous
#052F2E #051B2F #05062F
triadic
#051B2F #2F051B #1B2F05
tetradic
#051B2F #2E052F #2F1905 #062F05
square
#051B2F #2E052F #2F1905 #062F05
split-complementary
#051B2F #2F0506 #2F2E05
monochromatic
#03101C #03101C #051B2F #0B3B66 #115B9E

Accessibility & contrast

On white

17.44
#051B2F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.20
#051B2F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #051B2F
17.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##051B2F#FFFFFF#000000##FFFFFF
##051B2F1.0017.441.2017.44
#FFFFFF17.441.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#121C30
Deuteranopia (green-blind)
#0C182F
Tritanopia (blue-blind)
#002022
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #051b2f;
/* rgb */ color: rgb(5, 27, 47);
/* oklch */ color: oklch(21.7% 0.049 248.5);
Tailwind
colors: {
  custom: {
    50: '#4b5667',
    500: '#051b2f',
    950: '#000000',
  },
}
SCSS
$custom: #051b2f;
$custom-light: #4b5667;
$custom-dark: #000000;
JSON
{
  "hex": "#051b2f",
  "rgb": {
    "r": 5,
    "g": 27,
    "b": 47
  },
  "hsl": {
    "h": 208.571,
    "s": 80.769,
    "l": 10.196
  },
  "oklch": {
    "l": 0.21652,
    "c": 0.04856,
    "h": 248.5
  },
  "luminance": 0.01021
}

Semantic roles & 50–950 ramp

primary
#051B2F
secondary
#71461F
accent
#8F31F7
background
#F4F5F6
surface
#E7E9EB
border
#C3C5C6
text
#010306
muted
#77787A

Preview Lab

Preview with #051B2F

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

Preview Lab → · Contrast checker → · Palette generator →

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