#051032#051032

#051032 is a very dark, moderate blue. Relative luminance 0.006; OKLCH L 18.9% C 0.070 H 265.3°. Best body text is #FFFFFF at 18.64:1 contrast (WCAG AA passes).

Color values

HEX#051032
RGBrgb(5, 16, 50)
HSLhsl(225, 82%, 11%)
HSVhsv(225, 90%, 20%)
CMYKcmyk(90%, 68%, 0%, 80.4%)
CIE-LABlab(5.72, 9.08, -23.60)
CIE-LCHlch(5.72, 25.29, 291.05°)
OKLaboklab(18.87% -0.0056 -0.0694)
OKLCHoklch(18.87% 0.07 265.3)
XYZxyz(0.8234, 0.6330, 3.0958)
Luminance0.0063 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#051032 #322705
analogous
#052632 #051032 #100532
triadic
#051032 #320510 #103205
tetradic
#051032 #320526 #322705 #053210
square
#051032 #320526 #322705 #053210
split-complementary
#051032 #321005 #263205
monochromatic
#03091C #03091C #051032 #0B226A #1034A1

Accessibility & contrast

On white

18.64
#051032 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.13
#051032 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #051032
18.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##051032#FFFFFF#000000##FFFFFF
##0510321.0018.641.1318.64
#FFFFFF18.641.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001533
Deuteranopia (green-blind)
#001131
Tritanopia (blue-blind)
#00181E
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #051032;
/* rgb */ color: rgb(5, 16, 50);
/* oklch */ color: oklch(18.9% 0.070 265.3);
Tailwind
colors: {
  custom: {
    50: '#4c4e6a',
    500: '#051032',
    950: '#000000',
  },
}
SCSS
$custom: #051032;
$custom-light: #4c4e6a;
$custom-dark: #000000;
JSON
{
  "hex": "#051032",
  "rgb": {
    "r": 5,
    "g": 16,
    "b": 50
  },
  "hsl": {
    "h": 225.333,
    "s": 81.818,
    "l": 10.784
  },
  "oklch": {
    "l": 0.18873,
    "c": 0.06963,
    "h": 265.3
  },
  "luminance": 0.00633
}

Semantic roles & 50–950 ramp

primary
#051032
secondary
#735F1F
accent
#C730F8
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#010106
muted
#77777A

Preview Lab

Preview with #051032

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

Preview Lab → · Contrast checker → · Palette generator →

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