#15478F#15478F

#15478F is a dark, vivid blue. Relative luminance 0.066; OKLCH L 40.9% C 0.131 H 258.4°. Best body text is #FFFFFF at 9.01:1 contrast (WCAG AA passes).

Color values

HEX#15478F
RGBrgb(21, 71, 143)
HSLhsl(215, 74%, 32%)
HSVhsv(215, 85%, 56%)
CMYKcmyk(85.3%, 50.3%, 0%, 43.9%)
CIE-LABlab(30.99, 12.08, -44.43)
CIE-LCHlch(30.99, 46.04, 285.22°)
OKLaboklab(40.89% -0.0262 -0.1279)
OKLCHoklch(40.89% 0.131 258.4)
XYZxyz(7.5186, 6.6481, 26.8682)
Luminance0.0665 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#15478F #8F5D15
analogous
#15848F #15478F #20158F
triadic
#15478F #8F1547 #478F15
tetradic
#15478F #8F1584 #8F5D15 #158F20
square
#15478F #8F1584 #8F5D15 #158F20
split-complementary
#15478F #8F2015 #848F15
monochromatic
#051224 #0D2D5A #15478F #1D61C4 #3C80E2

Accessibility & contrast

On white

9.01
#15478F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#15478F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #15478F
9.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##15478F#FFFFFF#000000##FFFFFF
##15478F1.009.012.339.01
#FFFFFF9.011.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B4F92
Deuteranopia (green-blind)
#00448E
Tritanopia (blue-blind)
#005864
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #15478f;
/* rgb */ color: rgb(21, 71, 143);
/* oklch */ color: oklch(40.9% 0.131 258.4);
Tailwind
colors: {
  custom: {
    50: '#6979b0',
    500: '#15478f',
    950: '#000000',
  },
}
SCSS
$custom: #15478f;
$custom-light: #6979b0;
$custom-dark: #000000;
JSON
{
  "hex": "#15478f",
  "rgb": {
    "r": 21,
    "g": 71,
    "b": 143
  },
  "hsl": {
    "h": 215.41,
    "s": 74.39,
    "l": 32.157
  },
  "oklch": {
    "l": 0.40886,
    "c": 0.13053,
    "h": 258.4
  },
  "luminance": 0.06649
}

Semantic roles & 50–950 ramp

primary
#15478F
secondary
#C28C3E
accent
#A537F1
background
#F6F7FA
surface
#ECEDF5
border
#C7C8CF
text
#070910
muted
#7A7B7F

Preview Lab

Preview with #15478F

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

Preview Lab → · Contrast checker → · Palette generator →

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