#05101F#05101F

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

Color values

HEX#05101F
RGBrgb(5, 16, 31)
HSLhsl(215, 72%, 7%)
HSVhsv(215, 84%, 12%)
CMYKcmyk(83.9%, 48.4%, 0%, 87.8%)
CIE-LABlab(4.53, 0.75, -11.08)
CIE-LCHlch(4.53, 11.11, 273.86°)
OKLaboklab(17.14% -0.0093 -0.0347)
OKLCHoklch(17.14% 0.036 254.9)
XYZxyz(0.4951, 0.5017, 1.3668)
Luminance0.0050 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#05101F #1F1405
analogous
#051D1F #05101F #07051F
triadic
#05101F #1F0510 #101F05
tetradic
#05101F #1F051D #1F1405 #051F07
square
#05101F #1F051D #1F1405 #051F07
split-complementary
#05101F #1F0705 #1D1F05
monochromatic
#040E1A #040E1A #05101F #0E2B54 #164688

Accessibility & contrast

On white

19.08
#05101F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #05101F
19.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##05101F#FFFFFF#000000##FFFFFF
##05101F1.0019.081.1019.08
#FFFFFF19.081.0021.001.00
#0000001.1021.001.0021.00
##FFFFFF19.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#091120
Deuteranopia (green-blind)
#060E1F
Tritanopia (blue-blind)
#001315
Achromatopsia (no color)
#101010

Design tokens & code

CSS
--color: #05101f;
/* rgb */ color: rgb(5, 16, 31);
/* oklch */ color: oklch(17.1% 0.036 254.9);
Tailwind
colors: {
  custom: {
    50: '#484e5a',
    500: '#05101f',
    950: '#000000',
  },
}
SCSS
$custom: #05101f;
$custom-light: #484e5a;
$custom-dark: #000000;
JSON
{
  "hex": "#05101f",
  "rgb": {
    "r": 5,
    "g": 16,
    "b": 31
  },
  "hsl": {
    "h": 214.615,
    "s": 72.222,
    "l": 7.059
  },
  "oklch": {
    "l": 0.17137,
    "c": 0.03596,
    "h": 254.9
  },
  "luminance": 0.00502
}

Semantic roles & 50–950 ramp

primary
#05101F
secondary
#604520
accent
#A239EF
background
#F4F4F5
surface
#E6E7E9
border
#C2C3C5
text
#000103
muted
#777778

Preview Lab

Preview with #05101F

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

Preview Lab → · Contrast checker → · Palette generator →

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