#050810#050810

#050810 is a very dark, near-neutral blue. Relative luminance 0.002; OKLCH L 13.5% C 0.019 H 264.3°. Best body text is #FFFFFF at 20.03:1 contrast (WCAG AA passes).

Color values

HEX#050810
RGBrgb(5, 8, 16)
HSLhsl(224, 52%, 4%)
HSVhsv(224, 69%, 6%)
CMYKcmyk(68.7%, 50%, 0%, 93.7%)
CIE-LABlab(2.20, 0.48, -3.71)
CIE-LCHlch(2.20, 3.74, 277.33°)
OKLaboklab(13.49% -0.0019 -0.0192)
OKLCHoklch(13.49% 0.019 264.3)
XYZxyz(0.2429, 0.2433, 0.5243)
Luminance0.0024 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#050810 #100D05
analogous
#050E10 #050810 #080510
triadic
#050810 #100508 #081005
tetradic
#050810 #10050E #100D05 #051008
square
#050810 #10050E #100D05 #051008
split-complementary
#050810 #100805 #0E1005
monochromatic
#070C17 #070C17 #070C17 #141F3F #22376D

Accessibility & contrast

On white

20.03
#050810 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.05
#050810 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #050810
20.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##050810#FFFFFF#000000##FFFFFF
##0508101.0020.031.0520.03
#FFFFFF20.031.0021.001.00
#0000001.0521.001.0021.00
##FFFFFF20.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#060910
Deuteranopia (green-blind)
#050810
Tritanopia (blue-blind)
#030A0B
Achromatopsia (no color)
#080808

Design tokens & code

CSS
--color: #050810;
/* rgb */ color: rgb(5, 8, 16);
/* oklch */ color: oklch(13.5% 0.019 264.3);
Tailwind
colors: {
  custom: {
    50: '#494a4e',
    500: '#050810',
    950: '#000000',
  },
}
SCSS
$custom: #050810;
$custom-light: #494a4e;
$custom-dark: #000000;
JSON
{
  "hex": "#050810",
  "rgb": {
    "r": 5,
    "g": 8,
    "b": 16
  },
  "hsl": {
    "h": 223.636,
    "s": 52.381,
    "l": 4.118
  },
  "oklch": {
    "l": 0.13485,
    "c": 0.01929,
    "h": 264.3
  },
  "luminance": 0.00243
}

Semantic roles & 50–950 ramp

primary
#050810
secondary
#4D4224
accent
#B54CDC
background
#F4F4F4
surface
#E6E7E7
border
#C2C3C3
text
#000101
muted
#777777

Preview Lab

Preview with #050810

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

Preview Lab → · Contrast checker → · Palette generator →

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