#050024#050024

#050024 is a very dark, moderate blue. Relative luminance 0.002; OKLCH L 12.7% C 0.077 H 279.2°. Best body text is #FFFFFF at 20.35:1 contrast (WCAG AA passes).

Color values

HEX#050024
RGBrgb(5, 0, 36)
HSLhsl(248, 100%, 7%)
HSVhsv(248, 100%, 14%)
CMYKcmyk(86.1%, 100%, 0%, 85.9%)
CIE-LABlab(1.44, 9.39, -19.71)
CIE-LCHlch(1.44, 21.84, 295.47°)
OKLaboklab(12.68% 0.0124 -0.0761)
OKLCHoklch(12.68% 0.077 279.2)
XYZxyz(0.3809, 0.1596, 1.6795)
Luminance0.0016 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#050024 #1F2400
analogous
#000D24 #050024 #170024
triadic
#050024 #240500 #002405
tetradic
#050024 #24000D #1F2400 #002417
square
#050024 #24000D #1F2400 #002417
split-complementary
#050024 #241700 #0D2400
monochromatic
#04001F #04001F #050024 #0D0061 #16009E

Accessibility & contrast

On white

20.35
#050024 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.03
#050024 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #050024
20.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##050024#FFFFFF#000000##FFFFFF
##0500241.0020.351.0320.35
#FFFFFF20.351.0021.001.00
#0000001.0321.001.0021.00
##FFFFFF20.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000625
Deuteranopia (green-blind)
#000423
Tritanopia (blue-blind)
#000810
Achromatopsia (no color)
#050505

Design tokens & code

CSS
--color: #050024;
/* rgb */ color: rgb(5, 0, 36);
/* oklch */ color: oklch(12.7% 0.077 279.2);
Tailwind
colors: {
  custom: {
    50: '#48475e',
    500: '#050024',
    950: '#000000',
  },
}
SCSS
$custom: #050024;
$custom-light: #48475e;
$custom-dark: #000000;
JSON
{
  "hex": "#050024",
  "rgb": {
    "r": 5,
    "g": 0,
    "b": 36
  },
  "hsl": {
    "h": 248.333,
    "s": 100,
    "l": 7.059
  },
  "oklch": {
    "l": 0.12683,
    "c": 0.07715,
    "h": 279.2
  },
  "luminance": 0.0016
}

Semantic roles & 50–950 ramp

primary
#050024
secondary
#606D13
accent
#FF29E1
background
#F4F3F5
surface
#E7E5E9
border
#C3C1C5
text
#010004
muted
#777779

Preview Lab

Preview with #050024

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

Preview Lab → · Contrast checker → · Palette generator →

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