#15378D#15378D

#15378D is a dark, vivid blue. Relative luminance 0.048; OKLCH L 37.2% C 0.148 H 264.0°. Best body text is #FFFFFF at 10.70:1 contrast (WCAG AA passes).

Color values

HEX#15378D
RGBrgb(21, 55, 141)
HSLhsl(223, 74%, 32%)
HSVhsv(223, 85%, 55%)
CMYKcmyk(85.1%, 61%, 0%, 44.7%)
CIE-LABlab(26.20, 22.39, -50.98)
CIE-LCHlch(26.20, 55.67, 293.71°)
OKLaboklab(37.2% -0.0154 -0.1474)
OKLCHoklch(37.2% 0.148 264)
XYZxyz(6.4815, 4.8141, 25.7817)
Luminance0.0481 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#15378D #8D6B15
analogous
#15738D #15378D #2F158D
triadic
#15378D #8D1537 #378D15
tetradic
#15378D #8D1573 #8D6B15 #158D2F
square
#15378D #8D1573 #8D6B15 #158D2F
split-complementary
#15378D #8D2F15 #738D15
monochromatic
#050D22 #0D2258 #15378D #1D4CC2 #3B6AE2

Accessibility & contrast

On white

10.70
#15378D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#15378D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #15378D
10.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##15378D#FFFFFF#000000##FFFFFF
##15378D1.0010.701.9610.70
#FFFFFF10.701.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004490
Deuteranopia (green-blind)
#00398B
Tritanopia (blue-blind)
#004D5C
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #15378d;
/* rgb */ color: rgb(21, 55, 141);
/* oklch */ color: oklch(37.2% 0.148 264.0);
Tailwind
colors: {
  custom: {
    50: '#6a6daf',
    500: '#15378d',
    950: '#000000',
  },
}
SCSS
$custom: #15378d;
$custom-light: #6a6daf;
$custom-dark: #000000;
JSON
{
  "hex": "#15378d",
  "rgb": {
    "r": 21,
    "g": 55,
    "b": 141
  },
  "hsl": {
    "h": 223,
    "s": 74.074,
    "l": 31.765
  },
  "oklch": {
    "l": 0.372,
    "c": 0.14825,
    "h": 264
  },
  "luminance": 0.04815
}

Semantic roles & 50–950 ramp

primary
#15378D
secondary
#C19B3D
accent
#BC37F1
background
#F6F6FA
surface
#ECEBF5
border
#C7C6CF
text
#080710
muted
#7A7A7F

Preview Lab

Preview with #15378D

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

Preview Lab → · Contrast checker → · Palette generator →

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