#15478D#15478D

#15478D is a dark, vivid blue. Relative luminance 0.066; OKLCH L 40.7% C 0.128 H 258.0°. Best body text is #FFFFFF at 9.06:1 contrast (WCAG AA passes).

Color values

HEX#15478D
RGBrgb(21, 71, 141)
HSLhsl(215, 74%, 32%)
HSVhsv(215, 85%, 55%)
CMYKcmyk(85.1%, 49.6%, 0%, 44.7%)
CIE-LABlab(30.85, 11.26, -43.43)
CIE-LCHlch(30.85, 44.86, 284.53°)
OKLaboklab(40.73% -0.0265 -0.1249)
OKLCHoklch(40.73% 0.128 258)
XYZxyz(7.3684, 6.5881, 26.0774)
Luminance0.0659 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#15478D #8D5B15
analogous
#15838D #15478D #1F158D
triadic
#15478D #8D1547 #478D15
tetradic
#15478D #8D1583 #8D5B15 #158D1F
square
#15478D #8D1583 #8D5B15 #158D1F
split-complementary
#15478D #8D1F15 #838D15
monochromatic
#051122 #0D2C58 #15478D #1D62C2 #3B80E2

Accessibility & contrast

On white

9.06
#15478D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #15478D
9.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##15478D#FFFFFF#000000##FFFFFF
##15478D1.009.062.329.06
#FFFFFF9.061.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.061.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #15478d;
/* rgb */ color: rgb(21, 71, 141);
/* oklch */ color: oklch(40.7% 0.128 258.0);
Tailwind
colors: {
  custom: {
    50: '#6979af',
    500: '#15478d',
    950: '#000000',
  },
}
SCSS
$custom: #15478d;
$custom-light: #6979af;
$custom-dark: #000000;
JSON
{
  "hex": "#15478d",
  "rgb": {
    "r": 21,
    "g": 71,
    "b": 141
  },
  "hsl": {
    "h": 215,
    "s": 74.074,
    "l": 31.765
  },
  "oklch": {
    "l": 0.40732,
    "c": 0.12772,
    "h": 258
  },
  "luminance": 0.06589
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #15478D

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

Preview Lab → · Contrast checker → · Palette generator →

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