#051633#051633

#051633 is a very dark, moderate blue. Relative luminance 0.008; OKLCH L 20.5% C 0.062 H 259.6°. Best body text is #FFFFFF at 17.96:1 contrast (WCAG AA passes).

Color values

HEX#051633
RGBrgb(5, 22, 51)
HSLhsl(218, 82%, 11%)
HSVhsv(218, 90%, 20%)
CMYKcmyk(90.2%, 56.9%, 0%, 80%)
CIE-LABlab(7.63, 5.72, -21.26)
CIE-LCHlch(7.63, 22.01, 285.05°)
OKLaboklab(20.55% -0.0112 -0.0611)
OKLCHoklch(20.55% 0.062 259.6)
XYZxyz(0.9468, 0.8450, 3.2445)
Luminance0.0084 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#051633 #332205
analogous
#052D33 #051633 #0B0533
triadic
#051633 #330516 #163305
tetradic
#051633 #33052D #332205 #05330B
square
#051633 #33052D #332205 #05330B
split-complementary
#051633 #330B05 #2D3305
monochromatic
#030C1C #030C1C #051633 #0A2E6B #1046A2

Accessibility & contrast

On white

17.96
#051633 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #051633
17.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##051633#FFFFFF#000000##FFFFFF
##0516331.0017.961.1717.96
#FFFFFF17.961.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#061934
Deuteranopia (green-blind)
#001532
Tritanopia (blue-blind)
#001D22
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #051633;
/* rgb */ color: rgb(5, 22, 51);
/* oklch */ color: oklch(20.5% 0.062 259.6);
Tailwind
colors: {
  custom: {
    50: '#4d526b',
    500: '#051633',
    950: '#000000',
  },
}
SCSS
$custom: #051633;
$custom-light: #4d526b;
$custom-dark: #000000;
JSON
{
  "hex": "#051633",
  "rgb": {
    "r": 5,
    "g": 22,
    "b": 51
  },
  "hsl": {
    "h": 217.826,
    "s": 82.143,
    "l": 10.98
  },
  "oklch": {
    "l": 0.2055,
    "c": 0.06212,
    "h": 259.6
  },
  "luminance": 0.00845
}

Semantic roles & 50–950 ramp

primary
#051633
secondary
#74551F
accent
#AE2FF8
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#010206
muted
#77787A

Preview Lab

Preview with #051633

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

Preview Lab → · Contrast checker → · Palette generator →

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