#15458E#15458E

#15458E is a dark, vivid blue. Relative luminance 0.064; OKLCH L 40.3% C 0.132 H 259.1°. Best body text is #FFFFFF at 9.24:1 contrast (WCAG AA passes).

Color values

HEX#15458E
RGBrgb(21, 69, 142)
HSLhsl(216, 74%, 32%)
HSVhsv(216, 85%, 56%)
CMYKcmyk(85.2%, 51.4%, 0%, 44.3%)
CIE-LABlab(30.32, 13.05, -44.89)
CIE-LCHlch(30.32, 46.75, 286.20°)
OKLaboklab(40.35% -0.0248 -0.1293)
OKLCHoklch(40.35% 0.132 259.1)
XYZxyz(7.3181, 6.3678, 26.4293)
Luminance0.0637 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#15458E #8E5E15
analogous
#15828E #15458E #21158E
triadic
#15458E #8E1545 #458E15
tetradic
#15458E #8E1582 #8E5E15 #158E21
square
#15458E #8E1582 #8E5E15 #158E21
split-complementary
#15458E #8E2115 #828E15
monochromatic
#051123 #0D2B59 #15458E #1D5FC3 #3B7DE2

Accessibility & contrast

On white

9.24
#15458E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#15458E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #15458E
9.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##15458E#FFFFFF#000000##FFFFFF
##15458E1.009.242.279.24
#FFFFFF9.241.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#174D91
Deuteranopia (green-blind)
#00428D
Tritanopia (blue-blind)
#005762
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #15458e;
/* rgb */ color: rgb(21, 69, 142);
/* oklch */ color: oklch(40.3% 0.132 259.1);
Tailwind
colors: {
  custom: {
    50: '#6978b0',
    500: '#15458e',
    950: '#000000',
  },
}
SCSS
$custom: #15458e;
$custom-light: #6978b0;
$custom-dark: #000000;
JSON
{
  "hex": "#15458e",
  "rgb": {
    "r": 21,
    "g": 69,
    "b": 142
  },
  "hsl": {
    "h": 216.198,
    "s": 74.233,
    "l": 31.961
  },
  "oklch": {
    "l": 0.40349,
    "c": 0.13165,
    "h": 259.1
  },
  "luminance": 0.06369
}

Semantic roles & 50–950 ramp

primary
#15458E
secondary
#C28D3D
accent
#A737F1
background
#F6F7FA
surface
#ECEDF5
border
#C7C8CF
text
#070810
muted
#7A7B7F

Preview Lab

Preview with #15458E

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

Preview Lab → · Contrast checker → · Palette generator →

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