#050D1F#050D1F

#050D1F is a very dark, muted blue. Relative luminance 0.004; OKLCH L 16.2% C 0.041 H 262.7°. Best body text is #FFFFFF at 19.38:1 contrast (WCAG AA passes).

Color values

HEX#050D1F
RGBrgb(5, 13, 31)
HSLhsl(222, 72%, 7%)
HSVhsv(222, 84%, 12%)
CMYKcmyk(83.9%, 58.1%, 0%, 87.8%)
CIE-LABlab(3.78, 2.27, -12.21)
CIE-LCHlch(3.78, 12.42, 280.54°)
OKLaboklab(16.24% -0.0052 -0.0402)
OKLCHoklch(16.24% 0.041 262.7)
XYZxyz(0.4537, 0.4190, 1.3530)
Luminance0.0042 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#050D1F #1F1705
analogous
#051A1F #050D1F #0A051F
triadic
#050D1F #1F050D #0D1F05
tetradic
#050D1F #1F051A #1F1705 #051F0A
square
#050D1F #1F051A #1F1705 #051F0A
split-complementary
#050D1F #1F0A05 #1A1F05
monochromatic
#040B1A #040B1A #050D1F #0E2354 #163988

Accessibility & contrast

On white

19.38
#050D1F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.08
#050D1F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #050D1F
19.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##050D1F#FFFFFF#000000##FFFFFF
##050D1F1.0019.381.0819.38
#FFFFFF19.381.0021.001.00
#0000001.0821.001.0021.00
##FFFFFF19.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#050F20
Deuteranopia (green-blind)
#030C1F
Tritanopia (blue-blind)
#001114
Achromatopsia (no color)
#0D0D0D

Design tokens & code

CSS
--color: #050d1f;
/* rgb */ color: rgb(5, 13, 31);
/* oklch */ color: oklch(16.2% 0.041 262.7);
Tailwind
colors: {
  custom: {
    50: '#484d5a',
    500: '#050d1f',
    950: '#000000',
  },
}
SCSS
$custom: #050d1f;
$custom-light: #484d5a;
$custom-dark: #000000;
JSON
{
  "hex": "#050d1f",
  "rgb": {
    "r": 5,
    "g": 13,
    "b": 31
  },
  "hsl": {
    "h": 221.538,
    "s": 72.222,
    "l": 7.059
  },
  "oklch": {
    "l": 0.16239,
    "c": 0.0405,
    "h": 262.7
  },
  "luminance": 0.00419
}

Semantic roles & 50–950 ramp

primary
#050D1F
secondary
#604C20
accent
#B739EF
background
#F4F4F5
surface
#E6E7E9
border
#C2C3C5
text
#000103
muted
#777778

Preview Lab

Preview with #050D1F

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

Preview Lab → · Contrast checker → · Palette generator →

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