#050B1C#050B1C

#050B1C is a very dark, muted blue. Relative luminance 0.004; OKLCH L 15.4% C 0.038 H 265.3°. Best body text is #FFFFFF at 19.61:1 contrast (WCAG AA passes).

Color values

HEX#050B1C
RGBrgb(5, 11, 28)
HSLhsl(224, 70%, 6%)
HSVhsv(224, 82%, 11%)
CMYKcmyk(82.1%, 60.7%, 0%, 89%)
CIE-LABlab(3.21, 2.21, -10.71)
CIE-LCHlch(3.21, 10.94, 281.67°)
OKLaboklab(15.39% -0.0031 -0.0379)
OKLCHoklch(15.39% 0.038 265.3)
XYZxyz(0.3918, 0.3554, 1.1463)
Luminance0.0036 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#050B1C #1C1605
analogous
#05171C #050B1C #0B051C
triadic
#050B1C #1C050B #0B1C05
tetradic
#050B1C #1C0517 #1C1605 #051C0B
square
#050B1C #1C0517 #1C1605 #051C0B
split-complementary
#050B1C #1C0B05 #171C05
monochromatic
#050A1A #050A1A #050B1C #0E1F50 #183484

Accessibility & contrast

On white

19.61
#050B1C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #050B1C
19.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##050B1C#FFFFFF#000000##FFFFFF
##050B1C1.0019.611.0719.61
#FFFFFF19.611.0021.001.00
#0000001.0721.001.0021.00
##FFFFFF19.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#050D1D
Deuteranopia (green-blind)
#030B1C
Tritanopia (blue-blind)
#000F12
Achromatopsia (no color)
#0C0C0C

Design tokens & code

CSS
--color: #050b1c;
/* rgb */ color: rgb(5, 11, 28);
/* oklch */ color: oklch(15.4% 0.038 265.3);
Tailwind
colors: {
  custom: {
    50: '#484c58',
    500: '#050b1c',
    950: '#000000',
  },
}
SCSS
$custom: #050b1c;
$custom-light: #484c58;
$custom-dark: #000000;
JSON
{
  "hex": "#050b1c",
  "rgb": {
    "r": 5,
    "g": 11,
    "b": 28
  },
  "hsl": {
    "h": 224.348,
    "s": 69.697,
    "l": 6.471
  },
  "oklch": {
    "l": 0.15393,
    "c": 0.03807,
    "h": 265.3
  },
  "luminance": 0.00355
}

Semantic roles & 50–950 ramp

primary
#050B1C
secondary
#5D4D20
accent
#BE3BED
background
#F4F4F5
surface
#E6E7E9
border
#C2C3C5
text
#000103
muted
#777778

Preview Lab

Preview with #050B1C

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

Preview Lab → · Contrast checker → · Palette generator →

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