#050511#050511

#050511 is a very dark, muted blue. Relative luminance 0.002; OKLCH L 12.4% C 0.029 H 281.3°. Best body text is #FFFFFF at 20.27:1 contrast (WCAG AA passes).

Color values

HEX#050511
RGBrgb(5, 5, 17)
HSLhsl(240, 55%, 4%)
HSVhsv(240, 71%, 7%)
CMYKcmyk(70.6%, 70.6%, 0%, 93.3%)
CIE-LABlab(1.64, 1.87, -5.10)
CIE-LCHlch(1.64, 5.43, 290.16°)
OKLaboklab(12.39% 0.0057 -0.0283)
OKLCHoklch(12.39% 0.029 281.3)
XYZxyz(0.2180, 0.1813, 0.5537)
Luminance0.0018 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#050511 #111105
analogous
#050B11 #050511 #0B0511
triadic
#050511 #110505 #051105
tetradic
#050511 #11050B #111105 #05110B
square
#050511 #11050B #111105 #05110B
split-complementary
#050511 #110B05 #0B1105
monochromatic
#070718 #070718 #070718 #131340 #212170

Accessibility & contrast

On white

20.27
#050511 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.04
#050511 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #050511
20.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##050511#FFFFFF#000000##FFFFFF
##0505111.0020.271.0420.27
#FFFFFF20.271.0021.001.00
#0000001.0421.001.0021.00
##FFFFFF20.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#020611
Deuteranopia (green-blind)
#020611
Tritanopia (blue-blind)
#030709
Achromatopsia (no color)
#060606

Design tokens & code

CSS
--color: #050511;
/* rgb */ color: rgb(5, 5, 17);
/* oklch */ color: oklch(12.4% 0.029 281.3);
Tailwind
colors: {
  custom: {
    50: '#49494f',
    500: '#050511',
    950: '#000000',
  },
}
SCSS
$custom: #050511;
$custom-light: #49494f;
$custom-dark: #000000;
JSON
{
  "hex": "#050511",
  "rgb": {
    "r": 5,
    "g": 5,
    "b": 17
  },
  "hsl": {
    "h": 240,
    "s": 54.545,
    "l": 4.314
  },
  "oklch": {
    "l": 0.12386,
    "c": 0.0289,
    "h": 281.3
  },
  "luminance": 0.00181
}

Semantic roles & 50–950 ramp

primary
#050511
secondary
#4F4F23
accent
#DE4ADE
background
#F4F4F4
surface
#E6E6E7
border
#C2C2C3
text
#000001
muted
#777777

Preview Lab

Preview with #050511

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

Preview Lab → · Contrast checker → · Palette generator →

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