#051636#051636

#051636 is a very dark, moderate blue. Relative luminance 0.009; OKLCH L 20.8% C 0.067 H 260.9°. Best body text is #FFFFFF at 17.88:1 contrast (WCAG AA passes).

Color values

HEX#051636
RGBrgb(5, 22, 54)
HSLhsl(219, 83%, 12%)
HSVhsv(219, 91%, 21%)
CMYKcmyk(90.7%, 59.3%, 0%, 78.8%)
CIE-LABlab(7.88, 7.18, -23.05)
CIE-LCHlch(7.88, 24.14, 287.31°)
OKLaboklab(20.82% -0.0106 -0.0663)
OKLCHoklch(20.82% 0.067 260.9)
XYZxyz(1.0151, 0.8723, 3.6042)
Luminance0.0087 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#051636 #362505
analogous
#052F36 #051636 #0D0536
triadic
#051636 #360516 #163605
tetradic
#051636 #36052F #362505 #05360D
square
#051636 #36052F #362505 #05360D
split-complementary
#051636 #360D05 #2F3605
monochromatic
#030B1C #030B1C #051636 #0A2D6E #0F44A6

Accessibility & contrast

On white

17.88
#051636 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.17
#051636 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #051636
17.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##051636#FFFFFF#000000##FFFFFF
##0516361.0017.881.1717.88
#FFFFFF17.881.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#041A37
Deuteranopia (green-blind)
#001535
Tritanopia (blue-blind)
#001E23
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #051636;
/* rgb */ color: rgb(5, 22, 54);
/* oklch */ color: oklch(20.8% 0.067 260.9);
Tailwind
colors: {
  custom: {
    50: '#4e526d',
    500: '#051636',
    950: '#000000',
  },
}
SCSS
$custom: #051636;
$custom-light: #4e526d;
$custom-dark: #000000;
JSON
{
  "hex": "#051636",
  "rgb": {
    "r": 5,
    "g": 22,
    "b": 54
  },
  "hsl": {
    "h": 219.184,
    "s": 83.051,
    "l": 11.569
  },
  "oklch": {
    "l": 0.20824,
    "c": 0.06718,
    "h": 260.9
  },
  "luminance": 0.00872
}

Semantic roles & 50–950 ramp

primary
#051636
secondary
#775920
accent
#B32EF9
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#020207
muted
#78787A

Preview Lab

Preview with #051636

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

Preview Lab → · Contrast checker → · Palette generator →

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