#051833#051833

#051833 is a very dark, muted blue. Relative luminance 0.009; OKLCH L 21.1% C 0.059 H 257.1°. Best body text is #FFFFFF at 17.72:1 contrast (WCAG AA passes).

Color values

HEX#051833
RGBrgb(5, 24, 51)
HSLhsl(215, 82%, 11%)
HSVhsv(215, 90%, 20%)
CMYKcmyk(90.2%, 52.9%, 0%, 80%)
CIE-LABlab(8.35, 4.13, -20.12)
CIE-LCHlch(8.35, 20.53, 281.60°)
OKLaboklab(21.1% -0.0132 -0.0577)
OKLCHoklch(21.1% 0.059 257.1)
XYZxyz(0.9865, 0.9244, 3.2578)
Luminance0.0092 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#051833 #332005
analogous
#052F33 #051833 #090533
triadic
#051833 #330518 #183305
tetradic
#051833 #33052F #332005 #053309
square
#051833 #33052F #332005 #053309
split-complementary
#051833 #330905 #2F3305
monochromatic
#030D1C #030D1C #051833 #0A326B #104CA2

Accessibility & contrast

On white

17.72
#051833 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.19
#051833 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #051833
17.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##051833#FFFFFF#000000##FFFFFF
##0518331.0017.721.1917.72
#FFFFFF17.721.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A1A34
Deuteranopia (green-blind)
#031632
Tritanopia (blue-blind)
#001E22
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #051833;
/* rgb */ color: rgb(5, 24, 51);
/* oklch */ color: oklch(21.1% 0.059 257.1);
Tailwind
colors: {
  custom: {
    50: '#4d546b',
    500: '#051833',
    950: '#000000',
  },
}
SCSS
$custom: #051833;
$custom-light: #4d546b;
$custom-dark: #000000;
JSON
{
  "hex": "#051833",
  "rgb": {
    "r": 5,
    "g": 24,
    "b": 51
  },
  "hsl": {
    "h": 215.217,
    "s": 82.143,
    "l": 10.98
  },
  "oklch": {
    "l": 0.21104,
    "c": 0.05916,
    "h": 257.1
  },
  "luminance": 0.00925
}

Semantic roles & 50–950 ramp

primary
#051833
secondary
#74511F
accent
#A52FF8
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#010206
muted
#77787A

Preview Lab

Preview with #051833

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

Preview Lab → · Contrast checker → · Palette generator →

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