#15348E#15348E

#15348E is a dark, vivid blue. Relative luminance 0.046; OKLCH L 36.7% C 0.153 H 264.9°. Best body text is #FFFFFF at 10.97:1 contrast (WCAG AA passes).

Color values

HEX#15348E
RGBrgb(21, 52, 142)
HSLhsl(225, 74%, 32%)
HSVhsv(225, 85%, 56%)
CMYKcmyk(85.2%, 63.4%, 0%, 44.3%)
CIE-LABlab(25.47, 24.88, -52.79)
CIE-LCHlch(25.47, 58.36, 295.23°)
OKLaboklab(36.68% -0.0136 -0.1528)
OKLCHoklch(36.68% 0.153 264.9)
XYZxyz(6.4180, 4.5676, 26.1293)
Luminance0.0457 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#15348E #8E6F15
analogous
#15718E #15348E #33158E
triadic
#15348E #8E1534 #348E15
tetradic
#15348E #8E1571 #8E6F15 #158E33
square
#15348E #8E1571 #8E6F15 #158E33
split-complementary
#15348E #8E3315 #718E15
monochromatic
#050D23 #0D2059 #15348E #1D48C3 #3B66E2

Accessibility & contrast

On white

10.97
#15348E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#15348E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #15348E
10.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##15348E#FFFFFF#000000##FFFFFF
##15348E1.0010.971.9110.97
#FFFFFF10.971.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF10.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004291
Deuteranopia (green-blind)
#00378C
Tritanopia (blue-blind)
#004B5C
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #15348e;
/* rgb */ color: rgb(21, 52, 142);
/* oklch */ color: oklch(36.7% 0.153 264.9);
Tailwind
colors: {
  custom: {
    50: '#6a6bb0',
    500: '#15348e',
    950: '#000000',
  },
}
SCSS
$custom: #15348e;
$custom-light: #6a6bb0;
$custom-dark: #000000;
JSON
{
  "hex": "#15348e",
  "rgb": {
    "r": 21,
    "g": 52,
    "b": 142
  },
  "hsl": {
    "h": 224.628,
    "s": 74.233,
    "l": 31.961
  },
  "oklch": {
    "l": 0.36681,
    "c": 0.15343,
    "h": 264.9
  },
  "luminance": 0.04568
}

Semantic roles & 50–950 ramp

primary
#15348E
secondary
#C2A03D
accent
#C137F1
background
#F7F6FA
surface
#EDEBF5
border
#C8C6CF
text
#080611
muted
#7B7A80

Preview Lab

Preview with #15348E

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

Preview Lab → · Contrast checker → · Palette generator →

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