#050B1F#050B1F

#050B1F is a very dark, muted blue. Relative luminance 0.004; OKLCH L 15.7% C 0.044 H 266.8°. Best body text is #FFFFFF at 19.55:1 contrast (WCAG AA passes).

Color values

HEX#050B1F
RGBrgb(5, 11, 31)
HSLhsl(226, 72%, 7%)
HSVhsv(226, 84%, 12%)
CMYKcmyk(83.9%, 64.5%, 0%, 87.8%)
CIE-LABlab(3.35, 3.17, -12.88)
CIE-LCHlch(3.35, 13.26, 283.83°)
OKLaboklab(15.66% -0.0025 -0.0437)
OKLCHoklch(15.66% 0.044 266.8)
XYZxyz(0.4295, 0.3705, 1.3449)
Luminance0.0037 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#050B1F #1F1905
analogous
#05181F #050B1F #0C051F
triadic
#050B1F #1F050B #0B1F05
tetradic
#050B1F #1F0518 #1F1905 #051F0C
square
#050B1F #1F0518 #1F1905 #051F0C
split-complementary
#050B1F #1F0C05 #181F05
monochromatic
#04091A #04091A #050B1F #0E1E54 #163088

Accessibility & contrast

On white

19.55
#050B1F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.07
#050B1F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #050B1F
19.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##050B1F#FFFFFF#000000##FFFFFF
##050B1F1.0019.551.0719.55
#FFFFFF19.551.0021.001.00
#0000001.0721.001.0021.00
##FFFFFF19.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#030D20
Deuteranopia (green-blind)
#010B1F
Tritanopia (blue-blind)
#001013
Achromatopsia (no color)
#0C0C0C

Design tokens & code

CSS
--color: #050b1f;
/* rgb */ color: rgb(5, 11, 31);
/* oklch */ color: oklch(15.7% 0.044 266.8);
Tailwind
colors: {
  custom: {
    50: '#484c5a',
    500: '#050b1f',
    950: '#000000',
  },
}
SCSS
$custom: #050b1f;
$custom-light: #484c5a;
$custom-dark: #000000;
JSON
{
  "hex": "#050b1f",
  "rgb": {
    "r": 5,
    "g": 11,
    "b": 31
  },
  "hsl": {
    "h": 226.154,
    "s": 72.222,
    "l": 7.059
  },
  "oklch": {
    "l": 0.15662,
    "c": 0.04381,
    "h": 266.8
  },
  "luminance": 0.00371
}

Semantic roles & 50–950 ramp

primary
#050B1F
secondary
#605120
accent
#C539EF
background
#F4F4F5
surface
#E6E7E9
border
#C2C3C5
text
#000103
muted
#777778

Preview Lab

Preview with #050B1F

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

Preview Lab → · Contrast checker → · Palette generator →

#050B1F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva