#051033#051033

#051033 is a very dark, moderate blue. Relative luminance 0.006; OKLCH L 19.0% C 0.071 H 265.5°. Best body text is #FFFFFF at 18.61:1 contrast (WCAG AA passes).

Color values

HEX#051033
RGBrgb(5, 16, 51)
HSLhsl(226, 82%, 11%)
HSVhsv(226, 90%, 20%)
CMYKcmyk(90.2%, 68.6%, 0%, 80%)
CIE-LABlab(5.80, 9.63, -24.21)
CIE-LCHlch(5.80, 26.05, 291.70°)
OKLaboklab(18.98% -0.0056 -0.0711)
OKLCHoklch(18.98% 0.071 265.5)
XYZxyz(0.8452, 0.6418, 3.2107)
Luminance0.0064 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#051033 #332805
analogous
#052733 #051033 #110533
triadic
#051033 #330510 #103305
tetradic
#051033 #330527 #332805 #053311
square
#051033 #330527 #332805 #053311
split-complementary
#051033 #331105 #273305
monochromatic
#03091C #03091C #051033 #0A216B #1033A2

Accessibility & contrast

On white

18.61
#051033 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #051033
18.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##051033#FFFFFF#000000##FFFFFF
##0510331.0018.611.1318.61
#FFFFFF18.611.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001534
Deuteranopia (green-blind)
#001132
Tritanopia (blue-blind)
#00191F
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #051033;
/* rgb */ color: rgb(5, 16, 51);
/* oklch */ color: oklch(19.0% 0.071 265.5);
Tailwind
colors: {
  custom: {
    50: '#4c4e6b',
    500: '#051033',
    950: '#000000',
  },
}
SCSS
$custom: #051033;
$custom-light: #4c4e6b;
$custom-dark: #000000;
JSON
{
  "hex": "#051033",
  "rgb": {
    "r": 5,
    "g": 16,
    "b": 51
  },
  "hsl": {
    "h": 225.652,
    "s": 82.143,
    "l": 10.98
  },
  "oklch": {
    "l": 0.18977,
    "c": 0.07132,
    "h": 265.5
  },
  "luminance": 0.00642
}

Semantic roles & 50–950 ramp

primary
#051033
secondary
#74601F
accent
#C82FF8
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#010106
muted
#77777A

Preview Lab

Preview with #051033

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

Preview Lab → · Contrast checker → · Palette generator →

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