#050F1D#050F1D

#050F1D is a very dark, muted blue. Relative luminance 0.005; OKLCH L 16.7% C 0.034 H 255.2°. Best body text is #FFFFFF at 19.22:1 contrast (WCAG AA passes).

Color values

HEX#050F1D
RGBrgb(5, 15, 29)
HSLhsl(215, 71%, 7%)
HSVhsv(215, 83%, 11%)
CMYKcmyk(82.8%, 48.3%, 0%, 88.6%)
CIE-LABlab(4.18, 0.63, -10.05)
CIE-LCHlch(4.18, 10.07, 273.59°)
OKLaboklab(16.68% -0.0086 -0.0326)
OKLCHoklch(16.68% 0.034 255.2)
XYZxyz(0.4551, 0.4626, 1.2275)
Luminance0.0046 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#050F1D #1D1305
analogous
#051B1D #050F1D #07051D
triadic
#050F1D #1D050F #0F1D05
tetradic
#050F1D #1D051B #1D1305 #051D07
square
#050F1D #1D051B #1D1305 #051D07
split-complementary
#050F1D #1D0705 #1B1D05
monochromatic
#050E1A #050E1A #050F1D #0E2A51 #174585

Accessibility & contrast

On white

19.22
#050F1D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.09
#050F1D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #050F1D
19.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##050F1D#FFFFFF#000000##FFFFFF
##050F1D1.0019.221.0919.22
#FFFFFF19.221.0021.001.00
#0000001.0921.001.0021.00
##FFFFFF19.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#09101E
Deuteranopia (green-blind)
#060E1D
Tritanopia (blue-blind)
#001214
Achromatopsia (no color)
#0F0F0F

Design tokens & code

CSS
--color: #050f1d;
/* rgb */ color: rgb(5, 15, 29);
/* oklch */ color: oklch(16.7% 0.034 255.2);
Tailwind
colors: {
  custom: {
    50: '#484e58',
    500: '#050f1d',
    950: '#000000',
  },
}
SCSS
$custom: #050f1d;
$custom-light: #484e58;
$custom-dark: #000000;
JSON
{
  "hex": "#050f1d",
  "rgb": {
    "r": 5,
    "g": 15,
    "b": 29
  },
  "hsl": {
    "h": 215,
    "s": 70.588,
    "l": 6.667
  },
  "oklch": {
    "l": 0.16677,
    "c": 0.03375,
    "h": 255.2
  },
  "luminance": 0.00463
}

Semantic roles & 50–950 ramp

primary
#050F1D
secondary
#5E4420
accent
#A33AED
background
#F4F4F5
surface
#E6E7E9
border
#C2C3C5
text
#000103
muted
#777778

Preview Lab

Preview with #050F1D

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

Preview Lab → · Contrast checker → · Palette generator →

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