#05162B#05162B

#05162B is a very dark, muted cyan. Relative luminance 0.008; OKLCH L 19.9% C 0.049 H 254.2°. Best body text is #FFFFFF at 18.16:1 contrast (WCAG AA passes).

Color values

HEX#05162B
RGBrgb(5, 22, 43)
HSLhsl(213, 79%, 9%)
HSVhsv(213, 88%, 17%)
CMYKcmyk(88.4%, 48.8%, 0%, 83.1%)
CIE-LABlab(7.05, 1.79, -16.29)
CIE-LCHlch(7.05, 16.39, 276.26°)
OKLaboklab(19.87% -0.0132 -0.0467)
OKLCHoklch(19.87% 0.049 254.2)
XYZxyz(0.7854, 0.7804, 2.3943)
Luminance0.0078 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#05162B #2B1A05
analogous
#05292B #05162B #07052B
triadic
#05162B #2B0516 #162B05
tetradic
#05162B #2B0529 #2B1A05 #052B07
square
#05162B #2B0529 #2B1A05 #052B07
split-complementary
#05162B #2B0705 #292B05
monochromatic
#030E1B #030E1B #05162B #0B3262 #124E99

Accessibility & contrast

On white

18.16
#05162B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #05162B
18.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##05162B#FFFFFF#000000##FFFFFF
##05162B1.0018.161.1618.16
#FFFFFF18.161.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C182C
Deuteranopia (green-blind)
#06142B
Tritanopia (blue-blind)
#001B1E
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #05162b;
/* rgb */ color: rgb(5, 22, 43);
/* oklch */ color: oklch(19.9% 0.049 254.2);
Tailwind
colors: {
  custom: {
    50: '#4a5264',
    500: '#05162b',
    950: '#000000',
  },
}
SCSS
$custom: #05162b;
$custom-light: #4a5264;
$custom-dark: #000000;
JSON
{
  "hex": "#05162b",
  "rgb": {
    "r": 5,
    "g": 22,
    "b": 43
  },
  "hsl": {
    "h": 213.158,
    "s": 79.167,
    "l": 9.412
  },
  "oklch": {
    "l": 0.19873,
    "c": 0.0485,
    "h": 254.2
  },
  "luminance": 0.00781
}

Semantic roles & 50–950 ramp

primary
#05162B
secondary
#6D4A1F
accent
#9E32F6
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#010205
muted
#77787A

Preview Lab

Preview with #05162B

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

Preview Lab → · Contrast checker → · Palette generator →

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