#15417E#15417E

#15417E is a dark, moderate cyan. Relative luminance 0.054; OKLCH L 38.2% C 0.114 H 257.7°. Best body text is #FFFFFF at 10.05:1 contrast (WCAG AA passes).

Color values

HEX#15417E
RGBrgb(21, 65, 126)
HSLhsl(215, 71%, 29%)
HSVhsv(215, 83%, 49%)
CMYKcmyk(83.3%, 48.4%, 0%, 50.6%)
CIE-LABlab(27.97, 9.17, -38.77)
CIE-LCHlch(27.97, 39.84, 283.31°)
OKLaboklab(38.18% -0.0243 -0.1114)
OKLCHoklch(38.18% 0.114 257.7)
XYZxyz(5.9641, 5.4457, 20.4714)
Luminance0.0545 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#15417E #7E5215
analogous
#15767E #15417E #1D157E
triadic
#15417E #7E1541 #417E15
tetradic
#15417E #7E1576 #7E5215 #157E1D
square
#15417E #7E1576 #7E5215 #157E1D
split-complementary
#15417E #7E1D15 #767E15
monochromatic
#040E1A #0C264A #15417E #1E5CB2 #3179DD

Accessibility & contrast

On white

10.05
#15417E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#15417E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #15417E
10.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##15417E#FFFFFF#000000##FFFFFF
##15417E1.0010.052.0910.05
#FFFFFF10.051.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F4780
Deuteranopia (green-blind)
#023E7D
Tritanopia (blue-blind)
#005059
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #15417e;
/* rgb */ color: rgb(21, 65, 126);
/* oklch */ color: oklch(38.2% 0.114 257.7);
Tailwind
colors: {
  custom: {
    50: '#6575a4',
    500: '#15417e',
    950: '#000000',
  },
}
SCSS
$custom: #15417e;
$custom-light: #6575a4;
$custom-dark: #000000;
JSON
{
  "hex": "#15417e",
  "rgb": {
    "r": 21,
    "g": 65,
    "b": 126
  },
  "hsl": {
    "h": 214.857,
    "s": 71.429,
    "l": 28.824
  },
  "oklch": {
    "l": 0.38176,
    "c": 0.11399,
    "h": 257.7
  },
  "luminance": 0.05446
}

Semantic roles & 50–950 ramp

primary
#15417E
secondary
#B3813C
accent
#A33AEE
background
#F6F7FA
surface
#EBEDF4
border
#C6C8CE
text
#07080F
muted
#7A7B7F

Preview Lab

Preview with #15417E

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

Preview Lab → · Contrast checker → · Palette generator →

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