#05121E#05121E

#05121E is a very dark, muted cyan. Relative luminance 0.006; OKLCH L 17.7% C 0.032 H 246.6°. Best body text is #FFFFFF at 18.89:1 contrast (WCAG AA passes).

Color values

HEX#05121E
RGBrgb(5, 18, 30)
HSLhsl(209, 71%, 7%)
HSVhsv(209, 83%, 12%)
CMYKcmyk(83.3%, 40%, 0%, 88.2%)
CIE-LABlab(5.05, -0.73, -9.53)
CIE-LCHlch(5.05, 9.56, 265.64°)
OKLaboklab(17.68% -0.0126 -0.0291)
OKLCHoklch(17.68% 0.032 246.6)
XYZxyz(0.5132, 0.5586, 1.3088)
Luminance0.0056 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#05121E #1E1105
analogous
#051E1E #05121E #05061E
triadic
#05121E #1E0512 #121E05
tetradic
#05121E #1E051E #1E1105 #061E05
square
#05121E #1E051E #1E1105 #061E05
split-complementary
#05121E #1E0506 #1E1E05
monochromatic
#04101A #04101A #05121E #0E3152 #165187

Accessibility & contrast

On white

18.89
#05121E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.11
#05121E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #05121E
18.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##05121E#FFFFFF#000000##FFFFFF
##05121E1.0018.891.1118.89
#FFFFFF18.891.0021.001.00
#0000001.1121.001.0021.00
##FFFFFF18.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D121F
Deuteranopia (green-blind)
#09101E
Tritanopia (blue-blind)
#001516
Achromatopsia (no color)
#111111

Design tokens & code

CSS
--color: #05121e;
/* rgb */ color: rgb(5, 18, 30);
/* oklch */ color: oklch(17.7% 0.032 246.6);
Tailwind
colors: {
  custom: {
    50: '#485059',
    500: '#05121e',
    950: '#000000',
  },
}
SCSS
$custom: #05121e;
$custom-light: #485059;
$custom-dark: #000000;
JSON
{
  "hex": "#05121e",
  "rgb": {
    "r": 5,
    "g": 18,
    "b": 30
  },
  "hsl": {
    "h": 208.8,
    "s": 71.429,
    "l": 6.863
  },
  "oklch": {
    "l": 0.17683,
    "c": 0.03172,
    "h": 246.6
  },
  "luminance": 0.00559
}

Semantic roles & 50–950 ramp

primary
#05121E
secondary
#5F3E20
accent
#903AEE
background
#F4F4F5
surface
#E6E7E9
border
#C2C3C5
text
#000203
muted
#777878

Preview Lab

Preview with #05121E

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

Preview Lab → · Contrast checker → · Palette generator →

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