#05152A#05152A

#05152A is a very dark, muted cyan. Relative luminance 0.007; OKLCH L 19.5% C 0.048 H 255.2°. Best body text is #FFFFFF at 18.31:1 contrast (WCAG AA passes).

Color values

HEX#05152A
RGBrgb(5, 21, 42)
HSLhsl(214, 79%, 9%)
HSVhsv(214, 88%, 16%)
CMYKcmyk(88.1%, 50%, 0%, 83.5%)
CIE-LABlab(6.65, 2.02, -16.18)
CIE-LCHlch(6.65, 16.31, 277.10°)
OKLaboklab(19.5% -0.0123 -0.0466)
OKLCHoklch(19.5% 0.048 255.2)
XYZxyz(0.7485, 0.7357, 2.2926)
Luminance0.0074 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#05152A #2A1A05
analogous
#05282A #05152A #08052A
triadic
#05152A #2A0515 #152A05
tetradic
#05152A #2A0528 #2A1A05 #052A08
square
#05152A #2A0528 #2A1A05 #052A08
split-complementary
#05152A #2A0805 #282A05
monochromatic
#030E1B #030E1B #05152A #0C3061 #124C97

Accessibility & contrast

On white

18.31
#05152A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.15
#05152A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #05152A
18.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##05152A#FFFFFF#000000##FFFFFF
##05152A1.0018.311.1518.31
#FFFFFF18.311.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B172B
Deuteranopia (green-blind)
#06132A
Tritanopia (blue-blind)
#001A1D
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #05152a;
/* rgb */ color: rgb(5, 21, 42);
/* oklch */ color: oklch(19.5% 0.048 255.2);
Tailwind
colors: {
  custom: {
    50: '#4a5263',
    500: '#05152a',
    950: '#000000',
  },
}
SCSS
$custom: #05152a;
$custom-light: #4a5263;
$custom-dark: #000000;
JSON
{
  "hex": "#05152a",
  "rgb": {
    "r": 5,
    "g": 21,
    "b": 42
  },
  "hsl": {
    "h": 214.054,
    "s": 78.723,
    "l": 9.216
  },
  "oklch": {
    "l": 0.195,
    "c": 0.04819,
    "h": 255.2
  },
  "luminance": 0.00736
}

Semantic roles & 50–950 ramp

primary
#05152A
secondary
#6C4B1F
accent
#A133F5
background
#F4F4F5
surface
#E7E7EA
border
#C3C3C6
text
#010205
muted
#777879

Preview Lab

Preview with #05152A

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

Preview Lab → · Contrast checker → · Palette generator →

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