#051024#051024

#051024 is a very dark, muted blue. Relative luminance 0.005; OKLCH L 17.5% C 0.045 H 260.0°. Best body text is #FFFFFF at 18.99:1 contrast (WCAG AA passes).

Color values

HEX#051024
RGBrgb(5, 16, 36)
HSLhsl(219, 76%, 8%)
HSVhsv(219, 86%, 14%)
CMYKcmyk(86.1%, 55.6%, 0%, 85.9%)
CIE-LABlab(4.79, 2.55, -14.54)
CIE-LCHlch(4.79, 14.77, 279.95°)
OKLaboklab(17.54% -0.0078 -0.0443)
OKLCHoklch(17.54% 0.045 260)
XYZxyz(0.5662, 0.5302, 1.7412)
Luminance0.0053 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#051024 #241905
analogous
#051F24 #051024 #090524
triadic
#051024 #240510 #102405
tetradic
#051024 #24051F #241905 #052409
square
#051024 #24051F #241905 #052409
split-complementary
#051024 #240905 #1F2405
monochromatic
#040C1B #040C1B #051024 #0C285A #14408F

Accessibility & contrast

On white

18.99
#051024 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #051024
18.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##051024#FFFFFF#000000##FFFFFF
##0510241.0018.991.1118.99
#FFFFFF18.991.0021.001.00
#0000001.1121.001.0021.00
##FFFFFF18.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#071225
Deuteranopia (green-blind)
#030F24
Tritanopia (blue-blind)
#001518
Achromatopsia (no color)
#101010

Design tokens & code

CSS
--color: #051024;
/* rgb */ color: rgb(5, 16, 36);
/* oklch */ color: oklch(17.5% 0.045 260.0);
Tailwind
colors: {
  custom: {
    50: '#494e5e',
    500: '#051024',
    950: '#000000',
  },
}
SCSS
$custom: #051024;
$custom-light: #494e5e;
$custom-dark: #000000;
JSON
{
  "hex": "#051024",
  "rgb": {
    "r": 5,
    "g": 16,
    "b": 36
  },
  "hsl": {
    "h": 218.71,
    "s": 75.61,
    "l": 8.039
  },
  "oklch": {
    "l": 0.17543,
    "c": 0.04499,
    "h": 260
  },
  "luminance": 0.0053
}

Semantic roles & 50–950 ramp

primary
#051024
secondary
#664D1F
accent
#AF36F2
background
#F4F4F5
surface
#E7E7E9
border
#C3C3C5
text
#010104
muted
#777779

Preview Lab

Preview with #051024

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

Preview Lab → · Contrast checker → · Palette generator →

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