#050F1B#050F1B

#050F1B is a very dark, muted cyan. Relative luminance 0.005; OKLCH L 16.5% C 0.030 H 251.9°. Best body text is #FFFFFF at 19.26:1 contrast (WCAG AA passes).

Color values

HEX#050F1B
RGBrgb(5, 15, 27)
HSLhsl(213, 69%, 6%)
HSVhsv(213, 81%, 11%)
CMYKcmyk(81.5%, 44.4%, 0%, 89.4%)
CIE-LABlab(4.09, 0.03, -8.61)
CIE-LCHlch(4.09, 8.61, 270.17°)
OKLaboklab(16.53% -0.0094 -0.0287)
OKLCHoklch(16.53% 0.03 251.9)
XYZxyz(0.4312, 0.4530, 1.1014)
Luminance0.0045 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#050F1B #1B1105
analogous
#051A1B #050F1B #06051B
triadic
#050F1B #1B050F #0F1B05
tetradic
#050F1B #1B051A #1B1105 #051B06
square
#050F1B #1B051A #1B1105 #051B06
split-complementary
#050F1B #1B0605 #1A1B05
monochromatic
#050E1A #050E1A #050F1B #0F2C4F #184882

Accessibility & contrast

On white

19.26
#050F1B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #050F1B
19.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##050F1B#FFFFFF#000000##FFFFFF
##050F1B1.0019.261.0919.26
#FFFFFF19.261.0021.001.00
#0000001.0921.001.0021.00
##FFFFFF19.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A101C
Deuteranopia (green-blind)
#070D1B
Tritanopia (blue-blind)
#001213
Achromatopsia (no color)
#0E0E0E

Design tokens & code

CSS
--color: #050f1b;
/* rgb */ color: rgb(5, 15, 27);
/* oklch */ color: oklch(16.5% 0.030 251.9);
Tailwind
colors: {
  custom: {
    50: '#484e57',
    500: '#050f1b',
    950: '#000000',
  },
}
SCSS
$custom: #050f1b;
$custom-light: #484e57;
$custom-dark: #000000;
JSON
{
  "hex": "#050f1b",
  "rgb": {
    "r": 5,
    "g": 15,
    "b": 27
  },
  "hsl": {
    "h": 212.727,
    "s": 68.75,
    "l": 6.275
  },
  "oklch": {
    "l": 0.16528,
    "c": 0.03016,
    "h": 251.9
  },
  "luminance": 0.00453
}

Semantic roles & 50–950 ramp

primary
#050F1B
secondary
#5C4120
accent
#9C3CEC
background
#F4F4F5
surface
#E6E7E9
border
#C2C3C5
text
#000103
muted
#777778

Preview Lab

Preview with #050F1B

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

Preview Lab → · Contrast checker → · Palette generator →

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