#15478C#15478C

#15478C is a dark, vivid cyan. Relative luminance 0.066; OKLCH L 40.7% C 0.126 H 257.8°. Best body text is #FFFFFF at 9.08:1 contrast (WCAG AA passes).

Color values

HEX#15478C
RGBrgb(21, 71, 140)
HSLhsl(215, 74%, 32%)
HSVhsv(215, 85%, 55%)
CMYKcmyk(85%, 49.3%, 0%, 45.1%)
CIE-LABlab(30.78, 10.84, -42.93)
CIE-LCHlch(30.78, 44.27, 284.18°)
OKLaboklab(40.66% -0.0267 -0.1235)
OKLCHoklch(40.66% 0.126 257.8)
XYZxyz(7.2944, 6.5585, 25.6873)
Luminance0.0656 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#15478C #8C5A15
analogous
#15838C #15478C #1F158C
triadic
#15478C #8C1547 #478C15
tetradic
#15478C #8C1583 #8C5A15 #158C1F
square
#15478C #8C1583 #8C5A15 #158C1F
split-complementary
#15478C #8C1F15 #838C15
monochromatic
#051122 #0D2C57 #15478C #1D62C1 #3A80E1

Accessibility & contrast

On white

9.08
#15478C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#15478C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #15478C
9.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##15478C#FFFFFF#000000##FFFFFF
##15478C1.009.082.319.08
#FFFFFF9.081.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F4E8F
Deuteranopia (green-blind)
#00438B
Tritanopia (blue-blind)
#005862
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #15478c;
/* rgb */ color: rgb(21, 71, 140);
/* oklch */ color: oklch(40.7% 0.126 257.8);
Tailwind
colors: {
  custom: {
    50: '#6979ae',
    500: '#15478c',
    950: '#000000',
  },
}
SCSS
$custom: #15478c;
$custom-light: #6979ae;
$custom-dark: #000000;
JSON
{
  "hex": "#15478c",
  "rgb": {
    "r": 21,
    "g": 71,
    "b": 140
  },
  "hsl": {
    "h": 214.79,
    "s": 73.913,
    "l": 31.569
  },
  "oklch": {
    "l": 0.40655,
    "c": 0.12631,
    "h": 257.8
  },
  "luminance": 0.06559
}

Semantic roles & 50–950 ramp

primary
#15478C
secondary
#C0893D
accent
#A337F1
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#070910
muted
#7A7B7F

Preview Lab

Preview with #15478C

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

Preview Lab → · Contrast checker → · Palette generator →

#15478C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva