#15209E#15209E

#15209E is a dark, vivid blue. Relative luminance 0.037; OKLCH L 35.0% C 0.196 H 267.7°. Best body text is #FFFFFF at 12.12:1 contrast (WCAG AA passes).

Color values

HEX#15209E
RGBrgb(21, 32, 158)
HSLhsl(235, 77%, 35%)
HSVhsv(235, 87%, 62%)
CMYKcmyk(86.7%, 79.7%, 0%, 38%)
CIE-LABlab(22.51, 43.52, -67.50)
CIE-LCHlch(22.51, 80.32, 302.81°)
OKLaboklab(35.05% -0.0077 -0.1956)
OKLCHoklch(35.05% 0.196 267.7)
XYZxyz(6.9952, 3.6602, 32.6789)
Luminance0.0366 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#15209E #9E9315
analogous
#15659E #15209E #4E159E
triadic
#15209E #9E1520 #209E15
tetradic
#15209E #9E1565 #9E9315 #159E4E
square
#15209E #9E1565 #9E9315 #159E4E
split-complementary
#15209E #9E4E15 #659E15
monochromatic
#070A32 #0E1568 #15209E #1C2BD4 #4754E7

Accessibility & contrast

On white

12.12
#15209E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#15209E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #15209E
12.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##15209E#FFFFFF#000000##FFFFFF
##15209E1.0012.121.7312.12
#FFFFFF12.121.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003DA2
Deuteranopia (green-blind)
#002F9C
Tritanopia (blue-blind)
#00475F
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #15209e;
/* rgb */ color: rgb(21, 32, 158);
/* oklch */ color: oklch(35.0% 0.196 267.7);
Tailwind
colors: {
  custom: {
    50: '#715ebc',
    500: '#15209e',
    950: '#000000',
  },
}
SCSS
$custom: #15209e;
$custom-light: #715ebc;
$custom-dark: #000000;
JSON
{
  "hex": "#15209e",
  "rgb": {
    "r": 21,
    "g": 32,
    "b": 158
  },
  "hsl": {
    "h": 235.182,
    "s": 76.536,
    "l": 35.098
  },
  "oklch": {
    "l": 0.35047,
    "c": 0.19577,
    "h": 267.7
  },
  "luminance": 0.03661
}

Semantic roles & 50–950 ramp

primary
#15209E
secondary
#C7BD47
accent
#E435F3
background
#F7F5FB
surface
#EEE9F7
border
#C9C5D0
text
#090412
muted
#7B7981

Preview Lab

Preview with #15209E

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

Preview Lab → · Contrast checker → · Palette generator →

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