#051022#051022

#051022 is a very dark, muted blue. Relative luminance 0.005; OKLCH L 17.4% C 0.041 H 258.3°. Best body text is #FFFFFF at 19.03:1 contrast (WCAG AA passes).

Color values

HEX#051022
RGBrgb(5, 16, 34)
HSLhsl(217, 74%, 8%)
HSVhsv(217, 85%, 13%)
CMYKcmyk(85.3%, 52.9%, 0%, 86.7%)
CIE-LABlab(4.68, 1.80, -13.17)
CIE-LCHlch(4.68, 13.30, 277.77°)
OKLaboklab(17.38% -0.0084 -0.0405)
OKLCHoklch(17.38% 0.041 258.3)
XYZxyz(0.5365, 0.5183, 1.5848)
Luminance0.0052 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#051022 #221705
analogous
#051E22 #051022 #080522
triadic
#051022 #220510 #102205
tetradic
#051022 #22051E #221705 #052208
square
#051022 #22051E #221705 #052208
split-complementary
#051022 #220805 #1E2205
monochromatic
#040D1B #040D1B #051022 #0D2957 #15428D

Accessibility & contrast

On white

19.03
#051022 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.10
#051022 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #051022
19.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##051022#FFFFFF#000000##FFFFFF
##0510221.0019.031.1019.03
#FFFFFF19.031.0021.001.00
#0000001.1021.001.0021.00
##FFFFFF19.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#081223
Deuteranopia (green-blind)
#050F22
Tritanopia (blue-blind)
#001417
Achromatopsia (no color)
#101010

Design tokens & code

CSS
--color: #051022;
/* rgb */ color: rgb(5, 16, 34);
/* oklch */ color: oklch(17.4% 0.041 258.3);
Tailwind
colors: {
  custom: {
    50: '#494e5d',
    500: '#051022',
    950: '#000000',
  },
}
SCSS
$custom: #051022;
$custom-light: #494e5d;
$custom-dark: #000000;
JSON
{
  "hex": "#051022",
  "rgb": {
    "r": 5,
    "g": 16,
    "b": 34
  },
  "hsl": {
    "h": 217.241,
    "s": 74.359,
    "l": 7.647
  },
  "oklch": {
    "l": 0.17376,
    "c": 0.04138,
    "h": 258.3
  },
  "luminance": 0.00518
}

Semantic roles & 50–950 ramp

primary
#051022
secondary
#634A1F
accent
#AA37F1
background
#F4F4F5
surface
#E7E7E9
border
#C3C3C5
text
#010104
muted
#777779

Preview Lab

Preview with #051022

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

Preview Lab → · Contrast checker → · Palette generator →

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