#05101E#05101E

#05101E is a very dark, muted cyan. Relative luminance 0.005; OKLCH L 17.1% C 0.034 H 253.5°. Best body text is #FFFFFF at 19.10:1 contrast (WCAG AA passes).

Color values

HEX#05101E
RGBrgb(5, 16, 30)
HSLhsl(214, 71%, 7%)
HSVhsv(214, 83%, 12%)
CMYKcmyk(83.3%, 46.7%, 0%, 88.2%)
CIE-LABlab(4.48, 0.42, -10.38)
CIE-LCHlch(4.48, 10.38, 272.30°)
OKLaboklab(17.06% -0.0097 -0.0328)
OKLCHoklch(17.06% 0.034 253.5)
XYZxyz(0.4821, 0.4965, 1.2985)
Luminance0.0050 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#05101E #1E1305
analogous
#051D1E #05101E #07051E
triadic
#05101E #1E0510 #101E05
tetradic
#05101E #1E051D #1E1305 #051E07
square
#05101E #1E051D #1E1305 #051E07
split-complementary
#05101E #1E0705 #1D1E05
monochromatic
#040E1A #040E1A #05101E #0E2C52 #164887

Accessibility & contrast

On white

19.10
#05101E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.10
#05101E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #05101E
19.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##05101E#FFFFFF#000000##FFFFFF
##05101E1.0019.101.1019.10
#FFFFFF19.101.0021.001.00
#0000001.1021.001.0021.00
##FFFFFF19.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A111F
Deuteranopia (green-blind)
#070E1E
Tritanopia (blue-blind)
#001315
Achromatopsia (no color)
#0F0F0F

Design tokens & code

CSS
--color: #05101e;
/* rgb */ color: rgb(5, 16, 30);
/* oklch */ color: oklch(17.1% 0.034 253.5);
Tailwind
colors: {
  custom: {
    50: '#484e59',
    500: '#05101e',
    950: '#000000',
  },
}
SCSS
$custom: #05101e;
$custom-light: #484e59;
$custom-dark: #000000;
JSON
{
  "hex": "#05101e",
  "rgb": {
    "r": 5,
    "g": 16,
    "b": 30
  },
  "hsl": {
    "h": 213.6,
    "s": 71.429,
    "l": 6.863
  },
  "oklch": {
    "l": 0.17061,
    "c": 0.03417,
    "h": 253.5
  },
  "luminance": 0.00497
}

Semantic roles & 50–950 ramp

primary
#05101E
secondary
#5F4320
accent
#9F3AEE
background
#F4F4F5
surface
#E6E7E9
border
#C2C3C5
text
#000103
muted
#777778

Preview Lab

Preview with #05101E

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

Preview Lab → · Contrast checker → · Palette generator →

#05101E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva