#15517E#15517E

#15517E is a dark, moderate cyan. Relative luminance 0.076; OKLCH L 42.1% C 0.096 H 246.0°. Best body text is #FFFFFF at 8.37:1 contrast (WCAG AA passes).

Color values

HEX#15517E
RGBrgb(21, 81, 126)
HSLhsl(206, 71%, 29%)
HSVhsv(206, 83%, 49%)
CMYKcmyk(83.3%, 35.7%, 0%, 50.6%)
CIE-LABlab(33.03, -1.58, -30.70)
CIE-LCHlch(33.03, 30.74, 267.05°)
OKLaboklab(42.12% -0.0388 -0.0873)
OKLCHoklch(42.12% 0.096 246)
XYZxyz(7.0161, 7.5498, 20.8221)
Luminance0.0755 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#15517E #7E4215
analogous
#157E77 #15517E #151D7E
triadic
#15517E #7E1551 #517E15
tetradic
#15517E #77157E #7E4215 #1D7E15
square
#15517E #77157E #7E4215 #1D7E15
split-complementary
#15517E #7E151D #7E7715
monochromatic
#04111A #0C2F4A #15517E #1E73B2 #3193DD

Accessibility & contrast

On white

8.37
#15517E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#15517E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #15517E
8.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##15517E#FFFFFF#000000##FFFFFF
##15517E1.008.372.518.37
#FFFFFF8.371.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C5380
Deuteranopia (green-blind)
#2D497D
Tritanopia (blue-blind)
#005C61
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #15517e;
/* rgb */ color: rgb(21, 81, 126);
/* oklch */ color: oklch(42.1% 0.096 246.0);
Tailwind
colors: {
  custom: {
    50: '#6581a3',
    500: '#15517e',
    950: '#000000',
  },
}
SCSS
$custom: #15517e;
$custom-light: #6581a3;
$custom-dark: #000000;
JSON
{
  "hex": "#15517e",
  "rgb": {
    "r": 21,
    "g": 81,
    "b": 126
  },
  "hsl": {
    "h": 205.714,
    "s": 71.429,
    "l": 28.824
  },
  "oklch": {
    "l": 0.42122,
    "c": 0.09558,
    "h": 246
  },
  "luminance": 0.07551
}

Semantic roles & 50–950 ramp

primary
#15517E
secondary
#B36F3C
accent
#873AEE
background
#F6F7FA
surface
#EBEEF4
border
#C6C9CE
text
#060A0F
muted
#7A7C7F

Preview Lab

Preview with #15517E

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

Preview Lab → · Contrast checker → · Palette generator →

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