#15478E#15478E

#15478E is a dark, vivid blue. Relative luminance 0.066; OKLCH L 40.8% C 0.129 H 258.2°. Best body text is #FFFFFF at 9.04:1 contrast (WCAG AA passes).

Color values

HEX#15478E
RGBrgb(21, 71, 142)
HSLhsl(215, 74%, 32%)
HSVhsv(215, 85%, 56%)
CMYKcmyk(85.2%, 50%, 0%, 44.3%)
CIE-LABlab(30.92, 11.67, -43.93)
CIE-LCHlch(30.92, 45.45, 284.88°)
OKLaboklab(40.81% -0.0264 -0.1264)
OKLCHoklch(40.81% 0.129 258.2)
XYZxyz(7.4432, 6.6180, 26.4710)
Luminance0.0662 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#15478E #8E5C15
analogous
#15848E #15478E #20158E
triadic
#15478E #8E1547 #478E15
tetradic
#15478E #8E1584 #8E5C15 #158E20
square
#15478E #8E1584 #8E5C15 #158E20
split-complementary
#15478E #8E2015 #848E15
monochromatic
#051223 #0D2C59 #15478E #1D62C3 #3B80E2

Accessibility & contrast

On white

9.04
#15478E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#15478E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #15478E
9.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##15478E#FFFFFF#000000##FFFFFF
##15478E1.009.042.329.04
#FFFFFF9.041.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D4F91
Deuteranopia (green-blind)
#00448D
Tritanopia (blue-blind)
#005863
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #15478e;
/* rgb */ color: rgb(21, 71, 142);
/* oklch */ color: oklch(40.8% 0.129 258.2);
Tailwind
colors: {
  custom: {
    50: '#6979b0',
    500: '#15478e',
    950: '#000000',
  },
}
SCSS
$custom: #15478e;
$custom-light: #6979b0;
$custom-dark: #000000;
JSON
{
  "hex": "#15478e",
  "rgb": {
    "r": 21,
    "g": 71,
    "b": 142
  },
  "hsl": {
    "h": 215.207,
    "s": 74.233,
    "l": 31.961
  },
  "oklch": {
    "l": 0.40809,
    "c": 0.12912,
    "h": 258.2
  },
  "luminance": 0.06619
}

Semantic roles & 50–950 ramp

primary
#15478E
secondary
#C28B3D
accent
#A437F1
background
#F6F7FA
surface
#ECEDF5
border
#C7C8CF
text
#070910
muted
#7A7B7F

Preview Lab

Preview with #15478E

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

Preview Lab → · Contrast checker → · Palette generator →

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