#15328D#15328D

#15328D is a dark, vivid blue. Relative luminance 0.044; OKLCH L 36.2% C 0.155 H 265.3°. Best body text is #FFFFFF at 11.21:1 contrast (WCAG AA passes).

Color values

HEX#15328D
RGBrgb(21, 50, 141)
HSLhsl(226, 74%, 32%)
HSVhsv(226, 85%, 55%)
CMYKcmyk(85.1%, 64.5%, 0%, 44.7%)
CIE-LABlab(24.84, 25.86, -53.20)
CIE-LCHlch(24.84, 59.15, 295.92°)
OKLaboklab(36.19% -0.0125 -0.154)
OKLCHoklch(36.19% 0.155 265.3)
XYZxyz(6.2559, 4.3630, 25.7066)
Luminance0.0436 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#15328D #8D7015
analogous
#156E8D #15328D #34158D
triadic
#15328D #8D1532 #328D15
tetradic
#15328D #8D156E #8D7015 #158D34
square
#15328D #8D156E #8D7015 #158D34
split-complementary
#15328D #8D3415 #6E8D15
monochromatic
#050C22 #0D1F58 #15328D #1D45C2 #3B63E2

Accessibility & contrast

On white

11.21
#15328D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#15328D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #15328D
11.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##15328D#FFFFFF#000000##FFFFFF
##15328D1.0011.211.8711.21
#FFFFFF11.211.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004190
Deuteranopia (green-blind)
#00358B
Tritanopia (blue-blind)
#004A5A
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #15328d;
/* rgb */ color: rgb(21, 50, 141);
/* oklch */ color: oklch(36.2% 0.155 265.3);
Tailwind
colors: {
  custom: {
    50: '#6a69af',
    500: '#15328d',
    950: '#000000',
  },
}
SCSS
$custom: #15328d;
$custom-light: #6a69af;
$custom-dark: #000000;
JSON
{
  "hex": "#15328d",
  "rgb": {
    "r": 21,
    "g": 50,
    "b": 141
  },
  "hsl": {
    "h": 225.5,
    "s": 74.074,
    "l": 31.765
  },
  "oklch": {
    "l": 0.36187,
    "c": 0.15456,
    "h": 265.3
  },
  "luminance": 0.04364
}

Semantic roles & 50–950 ramp

primary
#15328D
secondary
#C1A13D
accent
#C437F1
background
#F6F6FA
surface
#ECEBF5
border
#C7C6CF
text
#080610
muted
#7A7A7F

Preview Lab

Preview with #15328D

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

Preview Lab → · Contrast checker → · Palette generator →

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