#05151B#05151B

#05151B is a very dark, muted cyan. Relative luminance 0.006; OKLCH L 18.5% C 0.026 H 224.0°. Best body text is #FFFFFF at 18.59:1 contrast (WCAG AA passes).

Color values

HEX#05151B
RGBrgb(5, 21, 27)
HSLhsl(196, 69%, 6%)
HSVhsv(196, 81%, 11%)
CMYKcmyk(81.5%, 22.2%, 0%, 89.4%)
CIE-LABlab(5.85, -3.57, -6.00)
CIE-LCHlch(5.85, 6.98, 239.26°)
OKLaboklab(18.45% -0.0184 -0.0178)
OKLCHoklch(18.45% 0.026 224)
XYZxyz(0.5285, 0.6477, 1.1339)
Luminance0.0065 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#05151B #1B0B05
analogous
#051B16 #05151B #050A1B
triadic
#05151B #1B0515 #151B05
tetradic
#05151B #16051B #1B0B05 #0A1B05
square
#05151B #16051B #1B0B05 #0A1B05
split-complementary
#05151B #1B050A #1B1605
monochromatic
#05141A #05141A #05151B #0F3D4F #186582

Accessibility & contrast

On white

18.59
#05151B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.13
#05151B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #05151B
18.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##05151B#FFFFFF#000000##FFFFFF
##05151B1.0018.591.1318.59
#FFFFFF18.591.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#12141B
Deuteranopia (green-blind)
#0E121B
Tritanopia (blue-blind)
#001717
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #05151b;
/* rgb */ color: rgb(5, 21, 27);
/* oklch */ color: oklch(18.5% 0.026 224.0);
Tailwind
colors: {
  custom: {
    50: '#485257',
    500: '#05151b',
    950: '#000000',
  },
}
SCSS
$custom: #05151b;
$custom-light: #485257;
$custom-dark: #000000;
JSON
{
  "hex": "#05151b",
  "rgb": {
    "r": 5,
    "g": 21,
    "b": 27
  },
  "hsl": {
    "h": 196.364,
    "s": 68.75,
    "l": 6.275
  },
  "oklch": {
    "l": 0.18453,
    "c": 0.02563,
    "h": 224
  },
  "luminance": 0.00648
}

Semantic roles & 50–950 ramp

primary
#05151B
secondary
#5C3020
accent
#6C3CEC
background
#F4F4F5
surface
#E6E7E9
border
#C2C3C5
text
#000203
muted
#777878

Preview Lab

Preview with #05151B

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

Preview Lab → · Contrast checker → · Palette generator →

#05151B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva