#050023#050023

#050023 is a very dark, moderate blue. Relative luminance 0.002; OKLCH L 12.5% C 0.076 H 279.9°. Best body text is #FFFFFF at 20.37:1 contrast (WCAG AA passes).

Color values

HEX#050023
RGBrgb(5, 0, 35)
HSLhsl(249, 100%, 7%)
HSVhsv(249, 100%, 14%)
CMYKcmyk(85.7%, 100%, 0%, 86.3%)
CIE-LABlab(1.39, 9.01, -19.01)
CIE-LCHlch(1.39, 21.04, 295.36°)
OKLaboklab(12.52% 0.013 -0.0747)
OKLCHoklch(12.52% 0.076 279.9)
XYZxyz(0.3659, 0.1536, 1.6001)
Luminance0.0015 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#050023 #1E2300
analogous
#000D23 #050023 #170023
triadic
#050023 #230500 #002305
tetradic
#050023 #23000D #1E2300 #002317
square
#050023 #23000D #1E2300 #002317
split-complementary
#050023 #231700 #0D2300
monochromatic
#04001F #04001F #050023 #0E0060 #16009D

Accessibility & contrast

On white

20.37
#050023 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #050023
20.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##050023#FFFFFF#000000##FFFFFF
##0500231.0020.371.0320.37
#FFFFFF20.371.0021.001.00
#0000001.0321.001.0021.00
##FFFFFF20.371.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #050023;
/* rgb */ color: rgb(5, 0, 35);
/* oklch */ color: oklch(12.5% 0.076 279.9);
Tailwind
colors: {
  custom: {
    50: '#48475e',
    500: '#050023',
    950: '#000000',
  },
}
SCSS
$custom: #050023;
$custom-light: #48475e;
$custom-dark: #000000;
JSON
{
  "hex": "#050023",
  "rgb": {
    "r": 5,
    "g": 0,
    "b": 35
  },
  "hsl": {
    "h": 248.571,
    "s": 100,
    "l": 6.863
  },
  "oklch": {
    "l": 0.1252,
    "c": 0.07582,
    "h": 279.9
  },
  "luminance": 0.00154
}

Semantic roles & 50–950 ramp

primary
#050023
secondary
#5F6C13
accent
#FF29E0
background
#F4F3F5
surface
#E7E5E9
border
#C3C1C5
text
#010004
muted
#777779

Preview Lab

Preview with #050023

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

Preview Lab → · Contrast checker → · Palette generator →

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