#051333#051333

#051333 is a very dark, moderate blue. Relative luminance 0.007; OKLCH L 19.7% C 0.067 H 262.9°. Best body text is #FFFFFF at 18.30:1 contrast (WCAG AA passes).

Color values

HEX#051333
RGBrgb(5, 19, 51)
HSLhsl(222, 82%, 11%)
HSVhsv(222, 90%, 20%)
CMYKcmyk(90.2%, 62.7%, 0%, 80%)
CIE-LABlab(6.66, 7.84, -22.83)
CIE-LCHlch(6.66, 24.14, 288.96°)
OKLaboklab(19.74% -0.0083 -0.0662)
OKLCHoklch(19.74% 0.067 262.9)
XYZxyz(0.8928, 0.7369, 3.2265)
Luminance0.0074 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#051333 #332505
analogous
#052A33 #051333 #0E0533
triadic
#051333 #330513 #133305
tetradic
#051333 #33052A #332505 #05330E
square
#051333 #33052A #332505 #05330E
split-complementary
#051333 #330E05 #2A3305
monochromatic
#030A1C #030A1C #051333 #0A286B #103DA2

Accessibility & contrast

On white

18.30
#051333 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.15
#051333 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #051333
18.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##051333#FFFFFF#000000##FFFFFF
##0513331.0018.301.1518.30
#FFFFFF18.301.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#011734
Deuteranopia (green-blind)
#001332
Tritanopia (blue-blind)
#001B20
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #051333;
/* rgb */ color: rgb(5, 19, 51);
/* oklch */ color: oklch(19.7% 0.067 262.9);
Tailwind
colors: {
  custom: {
    50: '#4d506b',
    500: '#051333',
    950: '#000000',
  },
}
SCSS
$custom: #051333;
$custom-light: #4d506b;
$custom-dark: #000000;
JSON
{
  "hex": "#051333",
  "rgb": {
    "r": 5,
    "g": 19,
    "b": 51
  },
  "hsl": {
    "h": 221.739,
    "s": 82.143,
    "l": 10.98
  },
  "oklch": {
    "l": 0.19745,
    "c": 0.06669,
    "h": 262.9
  },
  "luminance": 0.00737
}

Semantic roles & 50–950 ramp

primary
#051333
secondary
#745B1F
accent
#BB2FF8
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#010206
muted
#77787A

Preview Lab

Preview with #051333

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

Preview Lab → · Contrast checker → · Palette generator →

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