#05182E#05182E

#05182E is a very dark, muted cyan. Relative luminance 0.009; OKLCH L 20.7% C 0.051 H 253.3°. Best body text is #FFFFFF at 17.85:1 contrast (WCAG AA passes).

Color values

HEX#05182E
RGBrgb(5, 24, 46)
HSLhsl(212, 80%, 10%)
HSVhsv(212, 89%, 18%)
CMYKcmyk(89.1%, 47.8%, 0%, 82%)
CIE-LABlab(7.97, 1.74, -17.05)
CIE-LCHlch(7.97, 17.14, 275.84°)
OKLaboklab(20.69% -0.0146 -0.0486)
OKLCHoklch(20.69% 0.051 253.3)
XYZxyz(0.8822, 0.8827, 2.7081)
Luminance0.0088 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#05182E #2E1B05
analogous
#052D2E #05182E #06052E
triadic
#05182E #2E0518 #182E05
tetradic
#05182E #2E052D #2E1B05 #052E06
square
#05182E #2E052D #2E1B05 #052E06
split-complementary
#05182E #2E0605 #2D2E05
monochromatic
#030E1C #030E1C #05182E #0B3565 #11529C

Accessibility & contrast

On white

17.85
#05182E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.18
#05182E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #05182E
17.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##05182E#FFFFFF#000000##FFFFFF
##05182E1.0017.851.1817.85
#FFFFFF17.851.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E1A2F
Deuteranopia (green-blind)
#07162E
Tritanopia (blue-blind)
#001D20
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #05182e;
/* rgb */ color: rgb(5, 24, 46);
/* oklch */ color: oklch(20.7% 0.051 253.3);
Tailwind
colors: {
  custom: {
    50: '#4b5467',
    500: '#05182e',
    950: '#000000',
  },
}
SCSS
$custom: #05182e;
$custom-light: #4b5467;
$custom-dark: #000000;
JSON
{
  "hex": "#05182e",
  "rgb": {
    "r": 5,
    "g": 24,
    "b": 46
  },
  "hsl": {
    "h": 212.195,
    "s": 80.392,
    "l": 10
  },
  "oklch": {
    "l": 0.20694,
    "c": 0.05079,
    "h": 253.3
  },
  "luminance": 0.00883
}

Semantic roles & 50–950 ramp

primary
#05182E
secondary
#704A1F
accent
#9B31F7
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#010206
muted
#77787A

Preview Lab

Preview with #05182E

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

Preview Lab → · Contrast checker → · Palette generator →

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