#051A37#051A37

#051A37 is a very dark, moderate cyan. Relative luminance 0.010; OKLCH L 22.0% C 0.063 H 256.8°. Best body text is #FFFFFF at 17.36:1 contrast (WCAG AA passes).

Color values

HEX#051A37
RGBrgb(5, 26, 55)
HSLhsl(215, 83%, 12%)
HSVhsv(215, 91%, 22%)
CMYKcmyk(90.9%, 52.7%, 0%, 78.4%)
CIE-LABlab(9.38, 4.45, -21.36)
CIE-LCHlch(9.38, 21.82, 281.76°)
OKLaboklab(22% -0.0144 -0.0613)
OKLCHoklch(22% 0.063 256.8)
XYZxyz(1.1213, 1.0468, 3.7566)
Luminance0.0105 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#051A37 #372205
analogous
#053337 #051A37 #090537
triadic
#051A37 #37051A #1A3705
tetradic
#051A37 #370533 #372205 #053709
square
#051A37 #370533 #372205 #053709
split-complementary
#051A37 #370905 #333705
monochromatic
#030D1C #030D1C #051A37 #0A356F #0F4FA7

Accessibility & contrast

On white

17.36
#051A37 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #051A37
17.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##051A37#FFFFFF#000000##FFFFFF
##051A371.0017.361.2117.36
#FFFFFF17.361.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B1D38
Deuteranopia (green-blind)
#021836
Tritanopia (blue-blind)
#002125
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #051a37;
/* rgb */ color: rgb(5, 26, 55);
/* oklch */ color: oklch(22.0% 0.063 256.8);
Tailwind
colors: {
  custom: {
    50: '#4e556e',
    500: '#051a37',
    950: '#000000',
  },
}
SCSS
$custom: #051a37;
$custom-light: #4e556e;
$custom-dark: #000000;
JSON
{
  "hex": "#051a37",
  "rgb": {
    "r": 5,
    "g": 26,
    "b": 55
  },
  "hsl": {
    "h": 214.8,
    "s": 83.333,
    "l": 11.765
  },
  "oklch": {
    "l": 0.22,
    "c": 0.06293,
    "h": 256.8
  },
  "luminance": 0.01047
}

Semantic roles & 50–950 ramp

primary
#051A37
secondary
#785320
accent
#A42EFA
background
#F4F4F6
surface
#E7E8EC
border
#C3C4C7
text
#020307
muted
#78787A

Preview Lab

Preview with #051A37

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

Preview Lab → · Contrast checker → · Palette generator →

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