#05162C#05162C

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

Color values

HEX#05162C
RGBrgb(5, 22, 44)
HSLhsl(214, 80%, 10%)
HSVhsv(214, 89%, 17%)
CMYKcmyk(88.6%, 50%, 0%, 82.7%)
CIE-LABlab(7.12, 2.26, -16.93)
CIE-LCHlch(7.12, 17.08, 277.61°)
OKLaboklab(19.95% -0.0129 -0.0485)
OKLCHoklch(19.95% 0.05 255.1)
XYZxyz(0.8040, 0.7878, 2.4921)
Luminance0.0079 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#05162C #2C1B05
analogous
#052A2C #05162C #07052C
triadic
#05162C #2C0516 #162C05
tetradic
#05162C #2C052A #2C1B05 #052C07
square
#05162C #2C052A #2C1B05 #052C07
split-complementary
#05162C #2C0705 #2A2C05
monochromatic
#030E1B #030E1B #05162C #0B3163 #114D9A

Accessibility & contrast

On white

18.14
#05162C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #05162C
18.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##05162C#FFFFFF#000000##FFFFFF
##05162C1.0018.141.1618.14
#FFFFFF18.141.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.141.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #05162c;
/* rgb */ color: rgb(5, 22, 44);
/* oklch */ color: oklch(20.0% 0.050 255.1);
Tailwind
colors: {
  custom: {
    50: '#4a5265',
    500: '#05162c',
    950: '#000000',
  },
}
SCSS
$custom: #05162c;
$custom-light: #4a5265;
$custom-dark: #000000;
JSON
{
  "hex": "#05162c",
  "rgb": {
    "r": 5,
    "g": 22,
    "b": 44
  },
  "hsl": {
    "h": 213.846,
    "s": 79.592,
    "l": 9.608
  },
  "oklch": {
    "l": 0.19953,
    "c": 0.05019,
    "h": 255.1
  },
  "luminance": 0.00788
}

Semantic roles & 50–950 ramp

primary
#05162C
secondary
#6E4B1F
accent
#A032F6
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#010205
muted
#77787A

Preview Lab

Preview with #05162C

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

Preview Lab → · Contrast checker → · Palette generator →

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