#05182B#05182B

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

Color values

HEX#05182B
RGBrgb(5, 24, 43)
HSLhsl(210, 79%, 9%)
HSVhsv(210, 88%, 17%)
CMYKcmyk(88.4%, 44.2%, 0%, 83.1%)
CIE-LABlab(7.77, 0.32, -15.16)
CIE-LCHlch(7.77, 15.16, 271.21°)
OKLaboklab(20.46% -0.0156 -0.0431)
OKLCHoklch(20.46% 0.046 250.1)
XYZxyz(0.8251, 0.8599, 2.4075)
Luminance0.0086 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#05182B #2B1805
analogous
#052B2B #05182B #05052B
triadic
#05182B #2B0518 #182B05
tetradic
#05182B #2B052B #2B1805 #052B05
square
#05182B #2B052B #2B1805 #052B05
split-complementary
#05182B #2B0505 #2B2B05
monochromatic
#030F1B #030F1B #05182B #0B3762 #125599

Accessibility & contrast

On white

17.92
#05182B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #05182B
17.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##05182B#FFFFFF#000000##FFFFFF
##05182B1.0017.921.1717.92
#FFFFFF17.921.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F192C
Deuteranopia (green-blind)
#0A152B
Tritanopia (blue-blind)
#001D1F
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #05182b;
/* rgb */ color: rgb(5, 24, 43);
/* oklch */ color: oklch(20.5% 0.046 250.1);
Tailwind
colors: {
  custom: {
    50: '#4a5464',
    500: '#05182b',
    950: '#000000',
  },
}
SCSS
$custom: #05182b;
$custom-light: #4a5464;
$custom-dark: #000000;
JSON
{
  "hex": "#05182b",
  "rgb": {
    "r": 5,
    "g": 24,
    "b": 43
  },
  "hsl": {
    "h": 210,
    "s": 79.167,
    "l": 9.412
  },
  "oklch": {
    "l": 0.20463,
    "c": 0.04585,
    "h": 250.1
  },
  "luminance": 0.0086
}

Semantic roles & 50–950 ramp

primary
#05182B
secondary
#6D461F
accent
#9432F6
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#010205
muted
#77787A

Preview Lab

Preview with #05182B

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

Preview Lab → · Contrast checker → · Palette generator →

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