#15287C#15287C

#15287C is a dark, vivid blue. Relative luminance 0.031; OKLCH L 32.5% C 0.144 H 267.3°. Best body text is #FFFFFF at 12.91:1 contrast (WCAG AA passes).

Color values

HEX#15287C
RGBrgb(21, 40, 124)
HSLhsl(229, 71%, 28%)
HSVhsv(229, 83%, 49%)
CMYKcmyk(83.1%, 67.7%, 0%, 51.4%)
CIE-LABlab(20.56, 25.98, -49.54)
CIE-LCHlch(20.56, 55.94, 297.68°)
OKLaboklab(32.54% -0.0067 -0.1434)
OKLCHoklch(32.54% 0.144 267.3)
XYZxyz(4.7049, 3.1317, 19.4214)
Luminance0.0313 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#15287C #7C6915
analogous
#155B7C #15287C #35157C
triadic
#15287C #7C1528 #287C15
tetradic
#15287C #7C155B #7C6915 #157C35
square
#15287C #7C155B #7C6915 #157C35
split-complementary
#15287C #7C3515 #5B7C15
monochromatic
#04081A #0C1748 #15287C #1E39B0 #304FDC

Accessibility & contrast

On white

12.91
#15287C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#15287C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #15287C
12.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##15287C#FFFFFF#000000##FFFFFF
##15287C1.0012.911.6312.91
#FFFFFF12.911.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00367F
Deuteranopia (green-blind)
#002D7A
Tritanopia (blue-blind)
#003E4E
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #15287c;
/* rgb */ color: rgb(21, 40, 124);
/* oklch */ color: oklch(32.5% 0.144 267.3);
Tailwind
colors: {
  custom: {
    50: '#6661a3',
    500: '#15287c',
    950: '#000000',
  },
}
SCSS
$custom: #15287c;
$custom-light: #6661a3;
$custom-dark: #000000;
JSON
{
  "hex": "#15287c",
  "rgb": {
    "r": 21,
    "g": 40,
    "b": 124
  },
  "hsl": {
    "h": 228.932,
    "s": 71.034,
    "l": 28.431
  },
  "oklch": {
    "l": 0.32538,
    "c": 0.1436,
    "h": 267.3
  },
  "luminance": 0.03132
}

Semantic roles & 50–950 ramp

primary
#15287C
secondary
#B19C3C
accent
#CD3AEE
background
#F6F5FA
surface
#EBEAF4
border
#C6C6CE
text
#07050F
muted
#7A797F

Preview Lab

Preview with #15287C

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

Preview Lab → · Contrast checker → · Palette generator →

#15287C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva