#051932#051932

#051932 is a very dark, muted cyan. Relative luminance 0.010; OKLCH L 21.3% C 0.056 H 254.9°. Best body text is #FFFFFF at 17.62:1 contrast (WCAG AA passes).

Color values

HEX#051932
RGBrgb(5, 25, 50)
HSLhsl(213, 82%, 11%)
HSVhsv(213, 90%, 20%)
CMYKcmyk(90%, 50%, 0%, 80.4%)
CIE-LABlab(8.63, 2.86, -18.92)
CIE-LCHlch(8.63, 19.14, 278.58°)
OKLaboklab(21.3% -0.0146 -0.0541)
OKLCHoklch(21.3% 0.056 254.9)
XYZxyz(0.9857, 0.9577, 3.1499)
Luminance0.0096 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#051932 #321E05
analogous
#052F32 #051932 #070532
triadic
#051932 #320519 #193205
tetradic
#051932 #32052F #321E05 #053207
square
#051932 #32052F #321E05 #053207
split-complementary
#051932 #320705 #2F3205
monochromatic
#030E1C #030E1C #051932 #0B356A #1051A1

Accessibility & contrast

On white

17.62
#051932 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #051932
17.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##051932#FFFFFF#000000##FFFFFF
##0519321.0017.621.1917.62
#FFFFFF17.621.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D1B33
Deuteranopia (green-blind)
#051732
Tritanopia (blue-blind)
#001F23
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #051932;
/* rgb */ color: rgb(5, 25, 50);
/* oklch */ color: oklch(21.3% 0.056 254.9);
Tailwind
colors: {
  custom: {
    50: '#4c556a',
    500: '#051932',
    950: '#000000',
  },
}
SCSS
$custom: #051932;
$custom-light: #4c556a;
$custom-dark: #000000;
JSON
{
  "hex": "#051932",
  "rgb": {
    "r": 5,
    "g": 25,
    "b": 50
  },
  "hsl": {
    "h": 213.333,
    "s": 81.818,
    "l": 10.784
  },
  "oklch": {
    "l": 0.21303,
    "c": 0.05606,
    "h": 254.9
  },
  "luminance": 0.00958
}

Semantic roles & 50–950 ramp

primary
#051932
secondary
#734E1F
accent
#9F30F8
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#010206
muted
#77787A

Preview Lab

Preview with #051932

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

Preview Lab → · Contrast checker → · Palette generator →

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