#15378F#15378F

#15378F is a dark, vivid blue. Relative luminance 0.049; OKLCH L 37.4% C 0.151 H 264.2°. Best body text is #FFFFFF at 10.63:1 contrast (WCAG AA passes).

Color values

HEX#15378F
RGBrgb(21, 55, 143)
HSLhsl(223, 74%, 32%)
HSVhsv(223, 85%, 56%)
CMYKcmyk(85.3%, 61.5%, 0%, 43.9%)
CIE-LABlab(26.37, 23.20, -51.93)
CIE-LCHlch(26.37, 56.87, 294.07°)
OKLaboklab(37.39% -0.0153 -0.1502)
OKLCHoklch(37.39% 0.151 264.2)
XYZxyz(6.6316, 4.8742, 26.5726)
Luminance0.0488 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#15378F #8F6D15
analogous
#15748F #15378F #30158F
triadic
#15378F #8F1537 #378F15
tetradic
#15378F #8F1574 #8F6D15 #158F30
square
#15378F #8F1574 #8F6D15 #158F30
split-complementary
#15378F #8F3015 #748F15
monochromatic
#050E24 #0D225A #15378F #1D4CC4 #3C6AE2

Accessibility & contrast

On white

10.63
#15378F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#15378F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #15378F
10.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##15378F#FFFFFF#000000##FFFFFF
##15378F1.0010.631.9810.63
#FFFFFF10.631.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004492
Deuteranopia (green-blind)
#00398D
Tritanopia (blue-blind)
#004E5D
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #15378f;
/* rgb */ color: rgb(21, 55, 143);
/* oklch */ color: oklch(37.4% 0.151 264.2);
Tailwind
colors: {
  custom: {
    50: '#6a6db1',
    500: '#15378f',
    950: '#000000',
  },
}
SCSS
$custom: #15378f;
$custom-light: #6a6db1;
$custom-dark: #000000;
JSON
{
  "hex": "#15378f",
  "rgb": {
    "r": 21,
    "g": 55,
    "b": 143
  },
  "hsl": {
    "h": 223.279,
    "s": 74.39,
    "l": 32.157
  },
  "oklch": {
    "l": 0.37385,
    "c": 0.15102,
    "h": 264.2
  },
  "luminance": 0.04875
}

Semantic roles & 50–950 ramp

primary
#15378F
secondary
#C29D3E
accent
#BD37F1
background
#F6F6FB
surface
#ECEBF6
border
#C7C6D0
text
#080711
muted
#7A7A80

Preview Lab

Preview with #15378F

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

Preview Lab → · Contrast checker → · Palette generator →

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