#050310#050310

#050310 is a very dark, muted blue. Relative luminance 0.001; OKLCH L 11.4% C 0.034 H 290.1°. Best body text is #FFFFFF at 20.45:1 contrast (WCAG AA passes).

Color values

HEX#050310
RGBrgb(5, 3, 16)
HSLhsl(249, 68%, 4%)
HSVhsv(249, 81%, 6%)
CMYKcmyk(68.7%, 81.3%, 0%, 93.7%)
CIE-LABlab(1.22, 2.48, -5.14)
CIE-LCHlch(1.22, 5.71, 295.77°)
OKLaboklab(11.36% 0.0118 -0.0321)
OKLCHoklch(11.36% 0.034 290.1)
XYZxyz(0.1887, 0.1348, 0.5062)
Luminance0.0014 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#050310 #0E1003
analogous
#030710 #050310 #0B0310
triadic
#050310 #100503 #031005
tetradic
#050310 #100307 #0E1003 #03100B
square
#050310 #100307 #0E1003 #03100B
split-complementary
#050310 #100B03 #071003
monochromatic
#08051A #08051A #08051A #150D44 #251677

Accessibility & contrast

On white

20.45
#050310 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #050310
20.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##050310#FFFFFF#000000##FFFFFF
##0503101.0020.451.0320.45
#FFFFFF20.451.0021.001.00
#0000001.0321.001.0021.00
##FFFFFF20.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000511
Deuteranopia (green-blind)
#010410
Tritanopia (blue-blind)
#030507
Achromatopsia (no color)
#040404

Design tokens & code

CSS
--color: #050310;
/* rgb */ color: rgb(5, 3, 16);
/* oklch */ color: oklch(11.4% 0.034 290.1);
Tailwind
colors: {
  custom: {
    50: '#49484e',
    500: '#050310',
    950: '#000000',
  },
}
SCSS
$custom: #050310;
$custom-light: #49484e;
$custom-dark: #000000;
JSON
{
  "hex": "#050310",
  "rgb": {
    "r": 5,
    "g": 3,
    "b": 16
  },
  "hsl": {
    "h": 249.231,
    "s": 68.421,
    "l": 3.725
  },
  "oklch": {
    "l": 0.11361,
    "c": 0.03421,
    "h": 290.1
  },
  "luminance": 0.00135
}

Semantic roles & 50–950 ramp

primary
#050310
secondary
#4A521D
accent
#EB3DD0
background
#F4F4F4
surface
#E6E6E7
border
#C2C2C3
text
#000001
muted
#777777

Preview Lab

Preview with #050310

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

Preview Lab → · Contrast checker → · Palette generator →

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