#051B33#051B33

#051B33 is a very dark, muted cyan. Relative luminance 0.011; OKLCH L 22.0% C 0.055 H 252.5°. Best body text is #FFFFFF at 17.34:1 contrast (WCAG AA passes).

Color values

HEX#051B33
RGBrgb(5, 27, 51)
HSLhsl(211, 82%, 11%)
HSVhsv(211, 90%, 20%)
CMYKcmyk(90.2%, 47.1%, 0%, 80%)
CIE-LABlab(9.44, 1.76, -18.36)
CIE-LCHlch(9.44, 18.45, 275.47°)
OKLaboklab(21.96% -0.0165 -0.0524)
OKLCHoklch(21.96% 0.055 252.5)
XYZxyz(1.0518, 1.0550, 3.2795)
Luminance0.0106 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#051B33 #331D05
analogous
#053233 #051B33 #060533
triadic
#051B33 #33051B #1B3305
tetradic
#051B33 #330532 #331D05 #053306
square
#051B33 #330532 #331D05 #053306
split-complementary
#051B33 #330605 #323305
monochromatic
#030F1C #030F1C #051B33 #0A396B #1056A2

Accessibility & contrast

On white

17.34
#051B33 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #051B33
17.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##051B33#FFFFFF#000000##FFFFFF
##051B331.0017.341.2117.34
#FFFFFF17.341.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#101D34
Deuteranopia (green-blind)
#081833
Tritanopia (blue-blind)
#002124
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #051b33;
/* rgb */ color: rgb(5, 27, 51);
/* oklch */ color: oklch(22.0% 0.055 252.5);
Tailwind
colors: {
  custom: {
    50: '#4d566b',
    500: '#051b33',
    950: '#000000',
  },
}
SCSS
$custom: #051b33;
$custom-light: #4d566b;
$custom-dark: #000000;
JSON
{
  "hex": "#051b33",
  "rgb": {
    "r": 5,
    "g": 27,
    "b": 51
  },
  "hsl": {
    "h": 211.304,
    "s": 82.143,
    "l": 10.98
  },
  "oklch": {
    "l": 0.21956,
    "c": 0.05497,
    "h": 252.5
  },
  "luminance": 0.01055
}

Semantic roles & 50–950 ramp

primary
#051B33
secondary
#744C1F
accent
#982FF8
background
#F4F5F6
surface
#E7E9EB
border
#C3C5C6
text
#010306
muted
#77787A

Preview Lab

Preview with #051B33

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

Preview Lab → · Contrast checker → · Palette generator →

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