#05162D#05162D

#05162D is a very dark, muted cyan. Relative luminance 0.008; OKLCH L 20.0% C 0.052 H 255.9°. Best body text is #FFFFFF at 18.12:1 contrast (WCAG AA passes).

Color values

HEX#05162D
RGBrgb(5, 22, 45)
HSLhsl(215, 80%, 10%)
HSVhsv(215, 89%, 18%)
CMYKcmyk(88.9%, 51.1%, 0%, 82.4%)
CIE-LABlab(7.19, 2.74, -17.56)
CIE-LCHlch(7.19, 17.77, 278.87°)
OKLaboklab(20.03% -0.0126 -0.0503)
OKLCHoklch(20.03% 0.052 255.9)
XYZxyz(0.8230, 0.7955, 2.5923)
Luminance0.0080 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#05162D #2D1C05
analogous
#052A2D #05162D #08052D
triadic
#05162D #2D0516 #162D05
tetradic
#05162D #2D052A #2D1C05 #052D08
square
#05162D #2D052A #2D1C05 #052D08
split-complementary
#05162D #2D0805 #2A2D05
monochromatic
#030D1C #030D1C #05162D #0B3164 #114C9B

Accessibility & contrast

On white

18.12
#05162D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.16
#05162D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #05162D
18.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##05162D#FFFFFF#000000##FFFFFF
##05162D1.0018.121.1618.12
#FFFFFF18.121.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B182E
Deuteranopia (green-blind)
#05142D
Tritanopia (blue-blind)
#001B1F
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #05162d;
/* rgb */ color: rgb(5, 22, 45);
/* oklch */ color: oklch(20.0% 0.052 255.9);
Tailwind
colors: {
  custom: {
    50: '#4b5266',
    500: '#05162d',
    950: '#000000',
  },
}
SCSS
$custom: #05162d;
$custom-light: #4b5266;
$custom-dark: #000000;
JSON
{
  "hex": "#05162d",
  "rgb": {
    "r": 5,
    "g": 22,
    "b": 45
  },
  "hsl": {
    "h": 214.5,
    "s": 80,
    "l": 9.804
  },
  "oklch": {
    "l": 0.20034,
    "c": 0.0519,
    "h": 255.9
  },
  "luminance": 0.00796
}

Semantic roles & 50–950 ramp

primary
#05162D
secondary
#6F4D1F
accent
#A331F6
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#010206
muted
#77787A

Preview Lab

Preview with #05162D

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

Preview Lab → · Contrast checker → · Palette generator →

#05162D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva