#15286D#15286D

#15286D is a dark, vivid blue. Relative luminance 0.028; OKLCH L 31.1% C 0.122 H 267.0°. Best body text is #FFFFFF at 13.49:1 contrast (WCAG AA passes).

Color values

HEX#15286D
RGBrgb(21, 40, 109)
HSLhsl(227, 68%, 25%)
HSVhsv(227, 81%, 43%)
CMYKcmyk(80.7%, 63.3%, 0%, 57.3%)
CIE-LABlab(19.14, 19.90, -42.24)
CIE-LCHlch(19.14, 46.69, 295.23°)
OKLaboklab(31.05% -0.0064 -0.1221)
OKLCHoklch(31.05% 0.122 267)
XYZxyz(3.8274, 2.7807, 14.8000)
Luminance0.0278 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#15286D #6D5A15
analogous
#15546D #15286D #2E156D
triadic
#15286D #6D1528 #286D15
tetradic
#15286D #6D1554 #6D5A15 #156D2E
square
#15286D #6D1554 #6D5A15 #156D2E
split-complementary
#15286D #6D2E15 #546D15
monochromatic
#05091A #0B153A #15286D #1F3BA0 #294ED4

Accessibility & contrast

On white

13.49
#15286D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#15286D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #15286D
13.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##15286D#FFFFFF#000000##FFFFFF
##15286D1.0013.491.5613.49
#FFFFFF13.491.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00336F
Deuteranopia (green-blind)
#002A6C
Tritanopia (blue-blind)
#003A46
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #15286d;
/* rgb */ color: rgb(21, 40, 109);
/* oklch */ color: oklch(31.1% 0.122 267.0);
Tailwind
colors: {
  custom: {
    50: '#626198',
    500: '#15286d',
    950: '#000000',
  },
}
SCSS
$custom: #15286d;
$custom-light: #626198;
$custom-dark: #000000;
JSON
{
  "hex": "#15286d",
  "rgb": {
    "r": 21,
    "g": 40,
    "b": 109
  },
  "hsl": {
    "h": 227.045,
    "s": 67.692,
    "l": 25.49
  },
  "oklch": {
    "l": 0.31051,
    "c": 0.12223,
    "h": 267
  },
  "luminance": 0.02781
}

Semantic roles & 50–950 ramp

primary
#15286D
secondary
#A38D3A
accent
#C53DEB
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06050E
muted
#7A797E

Preview Lab

Preview with #15286D

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

Preview Lab → · Contrast checker → · Palette generator →

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