#15288F#15288F

#15288F is a dark, vivid blue. Relative luminance 0.037; OKLCH L 34.5% C 0.169 H 267.3°. Best body text is #FFFFFF at 12.12:1 contrast (WCAG AA passes).

Color values

HEX#15288F
RGBrgb(21, 40, 143)
HSLhsl(231, 74%, 32%)
HSVhsv(231, 85%, 56%)
CMYKcmyk(85.3%, 72%, 0%, 43.9%)
CIE-LABlab(22.51, 33.36, -58.27)
CIE-LCHlch(22.51, 67.14, 299.79°)
OKLaboklab(34.54% -0.008 -0.1689)
OKLCHoklch(34.54% 0.169 267.3)
XYZxyz(6.0243, 3.6594, 26.3701)
Luminance0.0366 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#15288F #8F7C15
analogous
#15658F #15288F #3F158F
triadic
#15288F #8F1528 #288F15
tetradic
#15288F #8F1565 #8F7C15 #158F3F
square
#15288F #8F1565 #8F7C15 #158F3F
split-complementary
#15288F #8F3F15 #658F15
monochromatic
#050A24 #0D195A #15288F #1D37C4 #3C56E2

Accessibility & contrast

On white

12.12
#15288F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#15288F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #15288F
12.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##15288F#FFFFFF#000000##FFFFFF
##15288F1.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)
#003C92
Deuteranopia (green-blind)
#00308D
Tritanopia (blue-blind)
#004558
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #15288f;
/* rgb */ color: rgb(21, 40, 143);
/* oklch */ color: oklch(34.5% 0.169 267.3);
Tailwind
colors: {
  custom: {
    50: '#6c62b1',
    500: '#15288f',
    950: '#000000',
  },
}
SCSS
$custom: #15288f;
$custom-light: #6c62b1;
$custom-dark: #000000;
JSON
{
  "hex": "#15288f",
  "rgb": {
    "r": 21,
    "g": 40,
    "b": 143
  },
  "hsl": {
    "h": 230.656,
    "s": 74.39,
    "l": 32.157
  },
  "oklch": {
    "l": 0.34545,
    "c": 0.16908,
    "h": 267.3
  },
  "luminance": 0.0366
}

Semantic roles & 50–950 ramp

primary
#15288F
secondary
#C2AD3E
accent
#D437F1
background
#F7F5FB
surface
#EDEAF6
border
#C8C6D0
text
#080511
muted
#7B7980

Preview Lab

Preview with #15288F

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

Preview Lab → · Contrast checker → · Palette generator →

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