#050313#050313

#050313 is a very dark, muted blue. Relative luminance 0.001; OKLCH L 11.7% C 0.040 H 287.1°. Best body text is #FFFFFF at 20.41:1 contrast (WCAG AA passes).

Color values

HEX#050313
RGBrgb(5, 3, 19)
HSLhsl(248, 73%, 4%)
HSVhsv(248, 84%, 7%)
CMYKcmyk(73.7%, 84.2%, 0%, 92.5%)
CIE-LABlab(1.30, 3.09, -6.80)
CIE-LCHlch(1.30, 7.47, 294.44°)
OKLaboklab(11.68% 0.0117 -0.0382)
OKLCHoklch(11.68% 0.04 287.1)
XYZxyz(0.2127, 0.1444, 0.6326)
Luminance0.0014 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#050313 #111303
analogous
#030913 #050313 #0D0313
triadic
#050313 #130503 #031305
tetradic
#050313 #130309 #111303 #03130D
square
#050313 #130309 #111303 #03130D
split-complementary
#050313 #130D03 #091303
monochromatic
#07041A #07041A #07041A #130B48 #21147D

Accessibility & contrast

On white

20.41
#050313 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #050313
20.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##050313#FFFFFF#000000##FFFFFF
##0503131.0020.411.0320.41
#FFFFFF20.411.0021.001.00
#0000001.0321.001.0021.00
##FFFFFF20.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000514
Deuteranopia (green-blind)
#000413
Tritanopia (blue-blind)
#020609
Achromatopsia (no color)
#050505

Design tokens & code

CSS
--color: #050313;
/* rgb */ color: rgb(5, 3, 19);
/* oklch */ color: oklch(11.7% 0.040 287.1);
Tailwind
colors: {
  custom: {
    50: '#494850',
    500: '#050313',
    950: '#000000',
  },
}
SCSS
$custom: #050313;
$custom-light: #494850;
$custom-dark: #000000;
JSON
{
  "hex": "#050313",
  "rgb": {
    "r": 5,
    "g": 3,
    "b": 19
  },
  "hsl": {
    "h": 247.5,
    "s": 72.727,
    "l": 4.314
  },
  "oklch": {
    "l": 0.11675,
    "c": 0.03994,
    "h": 287.1
  },
  "luminance": 0.00144
}

Semantic roles & 50–950 ramp

primary
#050313
secondary
#4F561C
accent
#EF38D9
background
#F4F4F4
surface
#E6E6E7
border
#C2C2C3
text
#000002
muted
#777778

Preview Lab

Preview with #050313

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

Preview Lab → · Contrast checker → · Palette generator →

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