#051637#051637

#051637 is a very dark, moderate blue. Relative luminance 0.009; OKLCH L 20.9% C 0.069 H 261.2°. Best body text is #FFFFFF at 17.85:1 contrast (WCAG AA passes).

Color values

HEX#051637
RGBrgb(5, 22, 55)
HSLhsl(220, 83%, 12%)
HSVhsv(220, 91%, 22%)
CMYKcmyk(90.9%, 60%, 0%, 78.4%)
CIE-LABlab(7.97, 7.66, -23.63)
CIE-LCHlch(7.97, 24.84, 287.96°)
OKLaboklab(20.92% -0.0105 -0.068)
OKLCHoklch(20.92% 0.069 261.2)
XYZxyz(1.0388, 0.8818, 3.7291)
Luminance0.0088 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#051637 #372605
analogous
#052F37 #051637 #0D0537
triadic
#051637 #370516 #163705
tetradic
#051637 #37052F #372605 #05370D
square
#051637 #37052F #372605 #05370D
split-complementary
#051637 #370D05 #2F3705
monochromatic
#030B1C #030B1C #051637 #0A2C6F #0F43A7

Accessibility & contrast

On white

17.85
#051637 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.18
#051637 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #051637
17.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##051637#FFFFFF#000000##FFFFFF
##0516371.0017.851.1817.85
#FFFFFF17.851.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#031A38
Deuteranopia (green-blind)
#001536
Tritanopia (blue-blind)
#001E23
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #051637;
/* rgb */ color: rgb(5, 22, 55);
/* oklch */ color: oklch(20.9% 0.069 261.2);
Tailwind
colors: {
  custom: {
    50: '#4e526e',
    500: '#051637',
    950: '#000000',
  },
}
SCSS
$custom: #051637;
$custom-light: #4e526e;
$custom-dark: #000000;
JSON
{
  "hex": "#051637",
  "rgb": {
    "r": 5,
    "g": 22,
    "b": 55
  },
  "hsl": {
    "h": 219.6,
    "s": 83.333,
    "l": 11.765
  },
  "oklch": {
    "l": 0.20917,
    "c": 0.06885,
    "h": 261.2
  },
  "luminance": 0.00882
}

Semantic roles & 50–950 ramp

primary
#051637
secondary
#785A20
accent
#B42EFA
background
#F4F4F6
surface
#E7E7EC
border
#C3C3C7
text
#020207
muted
#78787A

Preview Lab

Preview with #051637

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

Preview Lab → · Contrast checker → · Palette generator →

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