#15328F#15328F

#15328F is a dark, vivid blue. Relative luminance 0.044; OKLCH L 36.4% C 0.157 H 265.4°. Best body text is #FFFFFF at 11.14:1 contrast (WCAG AA passes).

Color values

HEX#15328F
RGBrgb(21, 50, 143)
HSLhsl(226, 74%, 32%)
HSVhsv(226, 85%, 56%)
CMYKcmyk(85.3%, 65%, 0%, 43.9%)
CIE-LABlab(25.02, 26.65, -54.14)
CIE-LCHlch(25.02, 60.34, 296.21°)
OKLaboklab(36.38% -0.0126 -0.1568)
OKLCHoklch(36.38% 0.157 265.4)
XYZxyz(6.4060, 4.4230, 26.4974)
Luminance0.0442 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#15328F #8F7215
analogous
#156F8F #15328F #35158F
triadic
#15328F #8F1532 #328F15
tetradic
#15328F #8F156F #8F7215 #158F35
square
#15328F #8F156F #8F7215 #158F35
split-complementary
#15328F #8F3515 #6F8F15
monochromatic
#050D24 #0D1F5A #15328F #1D45C4 #3C64E2

Accessibility & contrast

On white

11.14
#15328F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#15328F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #15328F
11.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##15328F#FFFFFF#000000##FFFFFF
##15328F1.0011.141.8811.14
#FFFFFF11.141.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004192
Deuteranopia (green-blind)
#00368D
Tritanopia (blue-blind)
#004B5B
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #15328f;
/* rgb */ color: rgb(21, 50, 143);
/* oklch */ color: oklch(36.4% 0.157 265.4);
Tailwind
colors: {
  custom: {
    50: '#6b69b1',
    500: '#15328f',
    950: '#000000',
  },
}
SCSS
$custom: #15328f;
$custom-light: #6b69b1;
$custom-dark: #000000;
JSON
{
  "hex": "#15328f",
  "rgb": {
    "r": 21,
    "g": 50,
    "b": 143
  },
  "hsl": {
    "h": 225.738,
    "s": 74.39,
    "l": 32.157
  },
  "oklch": {
    "l": 0.36382,
    "c": 0.15728,
    "h": 265.4
  },
  "luminance": 0.04424
}

Semantic roles & 50–950 ramp

primary
#15328F
secondary
#C2A33E
accent
#C537F1
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#080611
muted
#7B7A80

Preview Lab

Preview with #15328F

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

Preview Lab → · Contrast checker → · Palette generator →

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