#051533#051533

#051533 is a very dark, moderate blue. Relative luminance 0.008; OKLCH L 20.3% C 0.064 H 260.8°. Best body text is #FFFFFF at 18.08:1 contrast (WCAG AA passes).

Color values

HEX#051533
RGBrgb(5, 21, 51)
HSLhsl(219, 82%, 11%)
HSVhsv(219, 90%, 20%)
CMYKcmyk(90.2%, 58.8%, 0%, 80%)
CIE-LABlab(7.29, 6.46, -21.80)
CIE-LCHlch(7.29, 22.74, 286.51°)
OKLaboklab(20.28% -0.0102 -0.0628)
OKLCHoklch(20.28% 0.064 260.8)
XYZxyz(0.9281, 0.8075, 3.2383)
Luminance0.0081 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#051533 #332305
analogous
#052C33 #051533 #0C0533
triadic
#051533 #330515 #153305
tetradic
#051533 #33052C #332305 #05330C
square
#051533 #33052C #332305 #05330C
split-complementary
#051533 #330C05 #2C3305
monochromatic
#030B1C #030B1C #051533 #0A2C6B #1043A2

Accessibility & contrast

On white

18.08
#051533 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.16
#051533 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #051533
18.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##051533#FFFFFF#000000##FFFFFF
##0515331.0018.081.1618.08
#FFFFFF18.081.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#041834
Deuteranopia (green-blind)
#001432
Tritanopia (blue-blind)
#001C21
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #051533;
/* rgb */ color: rgb(5, 21, 51);
/* oklch */ color: oklch(20.3% 0.064 260.8);
Tailwind
colors: {
  custom: {
    50: '#4d516b',
    500: '#051533',
    950: '#000000',
  },
}
SCSS
$custom: #051533;
$custom-light: #4d516b;
$custom-dark: #000000;
JSON
{
  "hex": "#051533",
  "rgb": {
    "r": 5,
    "g": 21,
    "b": 51
  },
  "hsl": {
    "h": 219.13,
    "s": 82.143,
    "l": 10.98
  },
  "oklch": {
    "l": 0.20278,
    "c": 0.06363,
    "h": 260.8
  },
  "luminance": 0.00808
}

Semantic roles & 50–950 ramp

primary
#051533
secondary
#74571F
accent
#B32FF8
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#010206
muted
#77787A

Preview Lab

Preview with #051533

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

Preview Lab → · Contrast checker → · Palette generator →

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