#15378E#15378E

#15378E is a dark, vivid blue. Relative luminance 0.048; OKLCH L 37.3% C 0.150 H 264.1°. Best body text is #FFFFFF at 10.67:1 contrast (WCAG AA passes).

Color values

HEX#15378E
RGBrgb(21, 55, 142)
HSLhsl(223, 74%, 32%)
HSVhsv(223, 85%, 56%)
CMYKcmyk(85.2%, 61.3%, 0%, 44.3%)
CIE-LABlab(26.29, 22.79, -51.45)
CIE-LCHlch(26.29, 56.27, 293.89°)
OKLaboklab(37.29% -0.0154 -0.1488)
OKLCHoklch(37.29% 0.15 264.1)
XYZxyz(6.5562, 4.8440, 26.1754)
Luminance0.0485 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#15378E #8E6C15
analogous
#15748E #15378E #2F158E
triadic
#15378E #8E1537 #378E15
tetradic
#15378E #8E1574 #8E6C15 #158E2F
square
#15378E #8E1574 #8E6C15 #158E2F
split-complementary
#15378E #8E2F15 #748E15
monochromatic
#050E23 #0D2259 #15378E #1D4CC3 #3B6AE2

Accessibility & contrast

On white

10.67
#15378E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#15378E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #15378E
10.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##15378E#FFFFFF#000000##FFFFFF
##15378E1.0010.671.9710.67
#FFFFFF10.671.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004491
Deuteranopia (green-blind)
#00398C
Tritanopia (blue-blind)
#004D5D
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #15378e;
/* rgb */ color: rgb(21, 55, 142);
/* oklch */ color: oklch(37.3% 0.150 264.1);
Tailwind
colors: {
  custom: {
    50: '#6a6db0',
    500: '#15378e',
    950: '#000000',
  },
}
SCSS
$custom: #15378e;
$custom-light: #6a6db0;
$custom-dark: #000000;
JSON
{
  "hex": "#15378e",
  "rgb": {
    "r": 21,
    "g": 55,
    "b": 142
  },
  "hsl": {
    "h": 223.14,
    "s": 74.233,
    "l": 31.961
  },
  "oklch": {
    "l": 0.37292,
    "c": 0.14964,
    "h": 264.1
  },
  "luminance": 0.04845
}

Semantic roles & 50–950 ramp

primary
#15378E
secondary
#C29C3D
accent
#BD37F1
background
#F6F6FA
surface
#ECEBF5
border
#C7C6CF
text
#080711
muted
#7A7A80

Preview Lab

Preview with #15378E

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

Preview Lab → · Contrast checker → · Palette generator →

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