#15338E#15338E

#15338E is a dark, vivid blue. Relative luminance 0.045; OKLCH L 36.5% C 0.155 H 265.1°. Best body text is #FFFFFF at 11.08:1 contrast (WCAG AA passes).

Color values

HEX#15338E
RGBrgb(21, 51, 142)
HSLhsl(225, 74%, 32%)
HSVhsv(225, 85%, 56%)
CMYKcmyk(85.2%, 64.1%, 0%, 44.3%)
CIE-LABlab(25.20, 25.57, -53.23)
CIE-LCHlch(25.20, 59.05, 295.65°)
OKLaboklab(36.48% -0.0131 -0.1541)
OKLCHoklch(36.48% 0.155 265.1)
XYZxyz(6.3738, 4.4793, 26.1146)
Luminance0.0448 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#15338E #8E7015
analogous
#15708E #15338E #34158E
triadic
#15338E #8E1533 #338E15
tetradic
#15338E #8E1570 #8E7015 #158E34
square
#15338E #8E1570 #8E7015 #158E34
split-complementary
#15338E #8E3415 #708E15
monochromatic
#050D23 #0D2059 #15338E #1D46C3 #3B65E2

Accessibility & contrast

On white

11.08
#15338E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#15338E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #15338E
11.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##15338E#FFFFFF#000000##FFFFFF
##15338E1.0011.081.9011.08
#FFFFFF11.081.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.081.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #15338e;
/* rgb */ color: rgb(21, 51, 142);
/* oklch */ color: oklch(36.5% 0.155 265.1);
Tailwind
colors: {
  custom: {
    50: '#6a6ab0',
    500: '#15338e',
    950: '#000000',
  },
}
SCSS
$custom: #15338e;
$custom-light: #6a6ab0;
$custom-dark: #000000;
JSON
{
  "hex": "#15338e",
  "rgb": {
    "r": 21,
    "g": 51,
    "b": 142
  },
  "hsl": {
    "h": 225.124,
    "s": 74.233,
    "l": 31.961
  },
  "oklch": {
    "l": 0.36482,
    "c": 0.15468,
    "h": 265.1
  },
  "luminance": 0.0448
}

Semantic roles & 50–950 ramp

primary
#15338E
secondary
#C2A13D
accent
#C337F1
background
#F7F6FA
surface
#EDEBF5
border
#C8C6CF
text
#080611
muted
#7B7A80

Preview Lab

Preview with #15338E

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

Preview Lab → · Contrast checker → · Palette generator →

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