#050E1F#050E1F

#050E1F is a very dark, muted blue. Relative luminance 0.004; OKLCH L 16.5% C 0.039 H 260.3°. Best body text is #FFFFFF at 19.28:1 contrast (WCAG AA passes).

Color values

HEX#050E1F
RGBrgb(5, 14, 31)
HSLhsl(219, 72%, 7%)
HSVhsv(219, 84%, 12%)
CMYKcmyk(83.9%, 54.8%, 0%, 87.8%)
CIE-LABlab(4.02, 1.79, -11.85)
CIE-LCHlch(4.02, 11.99, 278.60°)
OKLaboklab(16.53% -0.0065 -0.0384)
OKLCHoklch(16.53% 0.039 260.3)
XYZxyz(0.4669, 0.4452, 1.3574)
Luminance0.0044 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#050E1F #1F1605
analogous
#051B1F #050E1F #09051F
triadic
#050E1F #1F050E #0E1F05
tetradic
#050E1F #1F051B #1F1605 #051F09
square
#050E1F #1F051B #1F1605 #051F09
split-complementary
#050E1F #1F0905 #1B1F05
monochromatic
#040C1A #040C1A #050E1F #0E2654 #163E88

Accessibility & contrast

On white

19.28
#050E1F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #050E1F
19.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##050E1F#FFFFFF#000000##FFFFFF
##050E1F1.0019.281.0919.28
#FFFFFF19.281.0021.001.00
#0000001.0921.001.0021.00
##FFFFFF19.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#071020
Deuteranopia (green-blind)
#040D1F
Tritanopia (blue-blind)
#001214
Achromatopsia (no color)
#0E0E0E

Design tokens & code

CSS
--color: #050e1f;
/* rgb */ color: rgb(5, 14, 31);
/* oklch */ color: oklch(16.5% 0.039 260.3);
Tailwind
colors: {
  custom: {
    50: '#484d5a',
    500: '#050e1f',
    950: '#000000',
  },
}
SCSS
$custom: #050e1f;
$custom-light: #484d5a;
$custom-dark: #000000;
JSON
{
  "hex": "#050e1f",
  "rgb": {
    "r": 5,
    "g": 14,
    "b": 31
  },
  "hsl": {
    "h": 219.231,
    "s": 72.222,
    "l": 7.059
  },
  "oklch": {
    "l": 0.16534,
    "c": 0.03891,
    "h": 260.3
  },
  "luminance": 0.00445
}

Semantic roles & 50–950 ramp

primary
#050E1F
secondary
#604A20
accent
#B039EF
background
#F4F4F5
surface
#E6E7E9
border
#C2C3C5
text
#000103
muted
#777778

Preview Lab

Preview with #050E1F

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

Preview Lab → · Contrast checker → · Palette generator →

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