#051124#051124

#051124 is a very dark, muted blue. Relative luminance 0.006; OKLCH L 17.8% C 0.043 H 257.9°. Best body text is #FFFFFF at 18.88:1 contrast (WCAG AA passes).

Color values

HEX#051124
RGBrgb(5, 17, 36)
HSLhsl(217, 76%, 8%)
HSVhsv(217, 86%, 14%)
CMYKcmyk(86.1%, 52.8%, 0%, 85.9%)
CIE-LABlab(5.06, 1.99, -14.12)
CIE-LCHlch(5.06, 14.26, 278.03°)
OKLaboklab(17.84% -0.0091 -0.0425)
OKLCHoklch(17.84% 0.043 257.9)
XYZxyz(0.5814, 0.5605, 1.7463)
Luminance0.0056 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#051124 #241805
analogous
#052024 #051124 #080524
triadic
#051124 #240511 #112405
tetradic
#051124 #240520 #241805 #052408
square
#051124 #240520 #241805 #052408
split-complementary
#051124 #240805 #202405
monochromatic
#040D1B #040D1B #051124 #0C2A5A #14448F

Accessibility & contrast

On white

18.88
#051124 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.11
#051124 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #051124
18.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##051124#FFFFFF#000000##FFFFFF
##0511241.0018.881.1118.88
#FFFFFF18.881.0021.001.00
#0000001.1121.001.0021.00
##FFFFFF18.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#081325
Deuteranopia (green-blind)
#041024
Tritanopia (blue-blind)
#001518
Achromatopsia (no color)
#111111

Design tokens & code

CSS
--color: #051124;
/* rgb */ color: rgb(5, 17, 36);
/* oklch */ color: oklch(17.8% 0.043 257.9);
Tailwind
colors: {
  custom: {
    50: '#494f5e',
    500: '#051124',
    950: '#000000',
  },
}
SCSS
$custom: #051124;
$custom-light: #494f5e;
$custom-dark: #000000;
JSON
{
  "hex": "#051124",
  "rgb": {
    "r": 5,
    "g": 17,
    "b": 36
  },
  "hsl": {
    "h": 216.774,
    "s": 75.61,
    "l": 8.039
  },
  "oklch": {
    "l": 0.17836,
    "c": 0.04348,
    "h": 257.9
  },
  "luminance": 0.00561
}

Semantic roles & 50–950 ramp

primary
#051124
secondary
#664A1F
accent
#A936F2
background
#F4F4F5
surface
#E7E7E9
border
#C3C3C5
text
#010104
muted
#777779

Preview Lab

Preview with #051124

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

Preview Lab → · Contrast checker → · Palette generator →

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