#05182C#05182C

#05182C is a very dark, muted cyan. Relative luminance 0.009; OKLCH L 20.5% C 0.047 H 251.3°. Best body text is #FFFFFF at 17.90:1 contrast (WCAG AA passes).

Color values

HEX#05182C
RGBrgb(5, 24, 44)
HSLhsl(211, 80%, 10%)
HSVhsv(211, 89%, 17%)
CMYKcmyk(88.6%, 45.5%, 0%, 82.7%)
CIE-LABlab(7.83, 0.79, -15.79)
CIE-LCHlch(7.83, 15.81, 272.88°)
OKLaboklab(20.54% -0.0152 -0.045)
OKLCHoklch(20.54% 0.047 251.3)
XYZxyz(0.8437, 0.8673, 2.5053)
Luminance0.0087 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#05182C #2C1905
analogous
#052C2C #05182C #05052C
triadic
#05182C #2C0518 #182C05
tetradic
#05182C #2C052C #2C1905 #052C05
square
#05182C #2C052C #2C1905 #052C05
split-complementary
#05182C #2C0505 #2C2C05
monochromatic
#030F1B #030F1B #05182C #0B3663 #11549A

Accessibility & contrast

On white

17.90
#05182C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.17
#05182C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #05182C
17.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##05182C#FFFFFF#000000##FFFFFF
##05182C1.0017.901.1717.90
#FFFFFF17.901.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F192D
Deuteranopia (green-blind)
#09162C
Tritanopia (blue-blind)
#001D1F
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #05182c;
/* rgb */ color: rgb(5, 24, 44);
/* oklch */ color: oklch(20.5% 0.047 251.3);
Tailwind
colors: {
  custom: {
    50: '#4b5465',
    500: '#05182c',
    950: '#000000',
  },
}
SCSS
$custom: #05182c;
$custom-light: #4b5465;
$custom-dark: #000000;
JSON
{
  "hex": "#05182c",
  "rgb": {
    "r": 5,
    "g": 24,
    "b": 44
  },
  "hsl": {
    "h": 210.769,
    "s": 79.592,
    "l": 9.608
  },
  "oklch": {
    "l": 0.20539,
    "c": 0.04749,
    "h": 251.3
  },
  "luminance": 0.00867
}

Semantic roles & 50–950 ramp

primary
#05182C
secondary
#6E471F
accent
#9632F6
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#010205
muted
#77787A

Preview Lab

Preview with #05182C

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

Preview Lab → · Contrast checker → · Palette generator →

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