#050A1F#050A1F

#050A1F is a very dark, muted blue. Relative luminance 0.003; OKLCH L 15.4% C 0.045 H 268.6°. Best body text is #FFFFFF at 19.63:1 contrast (WCAG AA passes).

Color values

HEX#050A1F
RGBrgb(5, 10, 31)
HSLhsl(228, 72%, 7%)
HSVhsv(228, 84%, 12%)
CMYKcmyk(83.9%, 67.7%, 0%, 87.8%)
CIE-LABlab(3.15, 3.58, -13.18)
CIE-LCHlch(3.15, 13.66, 285.20°)
OKLaboklab(15.38% -0.0011 -0.0455)
OKLCHoklch(15.38% 0.046 268.6)
XYZxyz(0.4184, 0.3482, 1.3412)
Luminance0.0035 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#050A1F #1F1A05
analogous
#05171F #050A1F #0D051F
triadic
#050A1F #1F050A #0A1F05
tetradic
#050A1F #1F0517 #1F1A05 #051F0D
square
#050A1F #1F0517 #1F1A05 #051F0D
split-complementary
#050A1F #1F0D05 #171F05
monochromatic
#04081A #04081A #050A1F #0E1B54 #162C88

Accessibility & contrast

On white

19.63
#050A1F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #050A1F
19.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##050A1F#FFFFFF#000000##FFFFFF
##050A1F1.0019.631.0719.63
#FFFFFF19.631.0021.001.00
#0000001.0721.001.0021.00
##FFFFFF19.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#020D20
Deuteranopia (green-blind)
#000A1F
Tritanopia (blue-blind)
#000F12
Achromatopsia (no color)
#0B0B0B

Design tokens & code

CSS
--color: #050a1f;
/* rgb */ color: rgb(5, 10, 31);
/* oklch */ color: oklch(15.4% 0.045 268.6);
Tailwind
colors: {
  custom: {
    50: '#484b5a',
    500: '#050a1f',
    950: '#000000',
  },
}
SCSS
$custom: #050a1f;
$custom-light: #484b5a;
$custom-dark: #000000;
JSON
{
  "hex": "#050a1f",
  "rgb": {
    "r": 5,
    "g": 10,
    "b": 31
  },
  "hsl": {
    "h": 228.462,
    "s": 72.222,
    "l": 7.059
  },
  "oklch": {
    "l": 0.15383,
    "c": 0.0455,
    "h": 268.6
  },
  "luminance": 0.00348
}

Semantic roles & 50–950 ramp

primary
#050A1F
secondary
#605420
accent
#CC39EF
background
#F4F4F5
surface
#E6E7E9
border
#C2C3C5
text
#000103
muted
#777778

Preview Lab

Preview with #050A1F

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

Preview Lab → · Contrast checker → · Palette generator →

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