#050C1D#050C1D

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

Color values

HEX#050C1D
RGBrgb(5, 12, 29)
HSLhsl(223, 71%, 7%)
HSVhsv(223, 83%, 11%)
CMYKcmyk(82.8%, 58.6%, 0%, 88.6%)
CIE-LABlab(3.47, 2.09, -11.12)
CIE-LCHlch(3.47, 11.31, 280.62°)
OKLaboklab(15.77% -0.0043 -0.0381)
OKLCHoklch(15.77% 0.038 263.6)
XYZxyz(0.4158, 0.3839, 1.2143)
Luminance0.0038 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#050C1D #1D1605
analogous
#05181D #050C1D #0A051D
triadic
#050C1D #1D050C #0C1D05
tetradic
#050C1D #1D0518 #1D1605 #051D0A
square
#050C1D #1D0518 #1D1605 #051D0A
split-complementary
#050C1D #1D0A05 #181D05
monochromatic
#050B1A #050B1A #050C1D #0E2251 #173785

Accessibility & contrast

On white

19.50
#050C1D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #050C1D
19.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##050C1D#FFFFFF#000000##FFFFFF
##050C1D1.0019.501.0819.50
#FFFFFF19.501.0021.001.00
#0000001.0821.001.0021.00
##FFFFFF19.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#050E1E
Deuteranopia (green-blind)
#030B1D
Tritanopia (blue-blind)
#001013
Achromatopsia (no color)
#0C0C0C

Design tokens & code

CSS
--color: #050c1d;
/* rgb */ color: rgb(5, 12, 29);
/* oklch */ color: oklch(15.8% 0.038 263.6);
Tailwind
colors: {
  custom: {
    50: '#484c58',
    500: '#050c1d',
    950: '#000000',
  },
}
SCSS
$custom: #050c1d;
$custom-light: #484c58;
$custom-dark: #000000;
JSON
{
  "hex": "#050c1d",
  "rgb": {
    "r": 5,
    "g": 12,
    "b": 29
  },
  "hsl": {
    "h": 222.5,
    "s": 70.588,
    "l": 6.667
  },
  "oklch": {
    "l": 0.15773,
    "c": 0.03833,
    "h": 263.6
  },
  "luminance": 0.00384
}

Semantic roles & 50–950 ramp

primary
#050C1D
secondary
#5E4C20
accent
#B93AED
background
#F4F4F5
surface
#E6E7E9
border
#C2C3C5
text
#000103
muted
#777778

Preview Lab

Preview with #050C1D

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

Preview Lab → · Contrast checker → · Palette generator →

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