#051931#051931

#051931 is a very dark, muted cyan. Relative luminance 0.009; OKLCH L 21.2% C 0.054 H 254.1°. Best body text is #FFFFFF at 17.65:1 contrast (WCAG AA passes).

Color values

HEX#051931
RGBrgb(5, 25, 49)
HSLhsl(213, 81%, 11%)
HSVhsv(213, 90%, 19%)
CMYKcmyk(89.8%, 49%, 0%, 80.8%)
CIE-LABlab(8.56, 2.38, -18.31)
CIE-LCHlch(8.56, 18.46, 277.40°)
OKLaboklab(21.22% -0.0149 -0.0523)
OKLCHoklch(21.22% 0.054 254.1)
XYZxyz(0.9644, 0.9492, 3.0375)
Luminance0.0095 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#051931 #311D05
analogous
#052F31 #051931 #070531
triadic
#051931 #310519 #193105
tetradic
#051931 #31052F #311D05 #053107
square
#051931 #31052F #311D05 #053107
split-complementary
#051931 #310705 #2F3105
monochromatic
#030E1C #030E1C #051931 #0B3569 #1052A0

Accessibility & contrast

On white

17.65
#051931 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.19
#051931 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #051931
17.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##051931#FFFFFF#000000##FFFFFF
##0519311.0017.651.1917.65
#FFFFFF17.651.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D1B32
Deuteranopia (green-blind)
#061731
Tritanopia (blue-blind)
#001F22
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #051931;
/* rgb */ color: rgb(5, 25, 49);
/* oklch */ color: oklch(21.2% 0.054 254.1);
Tailwind
colors: {
  custom: {
    50: '#4c5569',
    500: '#051931',
    950: '#000000',
  },
}
SCSS
$custom: #051931;
$custom-light: #4c5569;
$custom-dark: #000000;
JSON
{
  "hex": "#051931",
  "rgb": {
    "r": 5,
    "g": 25,
    "b": 49
  },
  "hsl": {
    "h": 212.727,
    "s": 81.481,
    "l": 10.588
  },
  "oklch": {
    "l": 0.21222,
    "c": 0.0544,
    "h": 254.1
  },
  "luminance": 0.00949
}

Semantic roles & 50–950 ramp

primary
#051931
secondary
#724D1F
accent
#9D30F8
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#010206
muted
#77787A

Preview Lab

Preview with #051931

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

Preview Lab → · Contrast checker → · Palette generator →

#051931 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva