#15458C#15458C

#15458C is a dark, vivid blue. Relative luminance 0.063; OKLCH L 40.2% C 0.129 H 258.7°. Best body text is #FFFFFF at 9.28:1 contrast (WCAG AA passes).

Color values

HEX#15458C
RGBrgb(21, 69, 140)
HSLhsl(216, 74%, 32%)
HSVhsv(216, 85%, 55%)
CMYKcmyk(85%, 50.7%, 0%, 45.1%)
CIE-LABlab(30.18, 12.22, -43.90)
CIE-LCHlch(30.18, 45.57, 285.56°)
OKLaboklab(40.19% -0.0251 -0.1264)
OKLCHoklch(40.19% 0.129 258.7)
XYZxyz(7.1693, 6.3082, 25.6456)
Luminance0.0631 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#15458C #8C5C15
analogous
#15818C #15458C #20158C
triadic
#15458C #8C1545 #458C15
tetradic
#15458C #8C1581 #8C5C15 #158C20
square
#15458C #8C1581 #8C5C15 #158C20
split-complementary
#15458C #8C2015 #818C15
monochromatic
#051122 #0D2B57 #15458C #1D5FC1 #3A7EE1

Accessibility & contrast

On white

9.28
#15458C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#15458C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #15458C
9.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##15458C#FFFFFF#000000##FFFFFF
##15458C1.009.282.269.28
#FFFFFF9.281.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A4D8F
Deuteranopia (green-blind)
#00428B
Tritanopia (blue-blind)
#005662
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #15458c;
/* rgb */ color: rgb(21, 69, 140);
/* oklch */ color: oklch(40.2% 0.129 258.7);
Tailwind
colors: {
  custom: {
    50: '#6978ae',
    500: '#15458c',
    950: '#000000',
  },
}
SCSS
$custom: #15458c;
$custom-light: #6978ae;
$custom-dark: #000000;
JSON
{
  "hex": "#15458c",
  "rgb": {
    "r": 21,
    "g": 69,
    "b": 140
  },
  "hsl": {
    "h": 215.798,
    "s": 73.913,
    "l": 31.569
  },
  "oklch": {
    "l": 0.40192,
    "c": 0.12884,
    "h": 258.7
  },
  "luminance": 0.06309
}

Semantic roles & 50–950 ramp

primary
#15458C
secondary
#C08B3D
accent
#A637F1
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#070810
muted
#7A7B7F

Preview Lab

Preview with #15458C

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

Preview Lab → · Contrast checker → · Palette generator →

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