#15286E#15286E

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

Color values

HEX#15286E
RGBrgb(21, 40, 110)
HSLhsl(227, 68%, 26%)
HSVhsv(227, 81%, 43%)
CMYKcmyk(80.9%, 63.6%, 0%, 56.9%)
CIE-LABlab(19.23, 20.31, -42.74)
CIE-LCHlch(19.23, 47.32, 295.42°)
OKLaboklab(31.15% -0.0064 -0.1235)
OKLCHoklch(31.15% 0.124 267)
XYZxyz(3.8815, 2.8024, 15.0852)
Luminance0.0280 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#15286E #6E5B15
analogous
#15546E #15286E #2E156E
triadic
#15286E #6E1528 #286E15
tetradic
#15286E #6E1554 #6E5B15 #156E2E
square
#15286E #6E1554 #6E5B15 #156E2E
split-complementary
#15286E #6E2E15 #546E15
monochromatic
#05091A #0B153B #15286E #1F3BA1 #294DD5

Accessibility & contrast

On white

13.46
#15286E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #15286E
13.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##15286E#FFFFFF#000000##FFFFFF
##15286E1.0013.461.5613.46
#FFFFFF13.461.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003370
Deuteranopia (green-blind)
#002B6D
Tritanopia (blue-blind)
#003A46
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #15286e;
/* rgb */ color: rgb(21, 40, 110);
/* oklch */ color: oklch(31.1% 0.124 267.0);
Tailwind
colors: {
  custom: {
    50: '#626198',
    500: '#15286e',
    950: '#000000',
  },
}
SCSS
$custom: #15286e;
$custom-light: #626198;
$custom-dark: #000000;
JSON
{
  "hex": "#15286e",
  "rgb": {
    "r": 21,
    "g": 40,
    "b": 110
  },
  "hsl": {
    "h": 227.191,
    "s": 67.939,
    "l": 25.686
  },
  "oklch": {
    "l": 0.31147,
    "c": 0.12369,
    "h": 267
  },
  "luminance": 0.02803
}

Semantic roles & 50–950 ramp

primary
#15286E
secondary
#A48E3A
accent
#C63DEB
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06050E
muted
#7A797E

Preview Lab

Preview with #15286E

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

Preview Lab → · Contrast checker → · Palette generator →

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