#05182A#05182A

#05182A is a very dark, muted cyan. Relative luminance 0.009; OKLCH L 20.4% C 0.044 H 248.9°. Best body text is #FFFFFF at 17.94:1 contrast (WCAG AA passes).

Color values

HEX#05182A
RGBrgb(5, 24, 42)
HSLhsl(209, 79%, 9%)
HSVhsv(209, 88%, 16%)
CMYKcmyk(88.1%, 42.9%, 0%, 83.5%)
CIE-LABlab(7.70, -0.14, -14.52)
CIE-LCHlch(7.70, 14.52, 269.45°)
OKLaboklab(20.39% -0.0159 -0.0413)
OKLCHoklch(20.39% 0.044 248.9)
XYZxyz(0.8070, 0.8526, 2.3121)
Luminance0.0085 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#05182A #2A1705
analogous
#052A2A #05182A #05062A
triadic
#05182A #2A0518 #182A05
tetradic
#05182A #2A052A #2A1705 #062A05
square
#05182A #2A052A #2A1705 #062A05
split-complementary
#05182A #2A0506 #2A2A05
monochromatic
#03101B #03101B #05182A #0C3761 #125797

Accessibility & contrast

On white

17.94
#05182A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #05182A
17.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##05182A#FFFFFF#000000##FFFFFF
##05182A1.0017.941.1717.94
#FFFFFF17.941.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#10192B
Deuteranopia (green-blind)
#0A152A
Tritanopia (blue-blind)
#001C1F
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #05182a;
/* rgb */ color: rgb(5, 24, 42);
/* oklch */ color: oklch(20.4% 0.044 248.9);
Tailwind
colors: {
  custom: {
    50: '#4a5463',
    500: '#05182a',
    950: '#000000',
  },
}
SCSS
$custom: #05182a;
$custom-light: #4a5463;
$custom-dark: #000000;
JSON
{
  "hex": "#05182a",
  "rgb": {
    "r": 5,
    "g": 24,
    "b": 42
  },
  "hsl": {
    "h": 209.189,
    "s": 78.723,
    "l": 9.216
  },
  "oklch": {
    "l": 0.20389,
    "c": 0.04423,
    "h": 248.9
  },
  "luminance": 0.00853
}

Semantic roles & 50–950 ramp

primary
#05182A
secondary
#6C441F
accent
#9133F5
background
#F4F4F5
surface
#E7E7EA
border
#C3C3C6
text
#010205
muted
#777879

Preview Lab

Preview with #05182A

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

Preview Lab → · Contrast checker → · Palette generator →

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