#15286F#15286F

#15286F is a dark, vivid blue. Relative luminance 0.028; OKLCH L 31.2% C 0.125 H 267.1°. Best body text is #FFFFFF at 13.42:1 contrast (WCAG AA passes).

Color values

HEX#15286F
RGBrgb(21, 40, 111)
HSLhsl(227, 68%, 26%)
HSVhsv(227, 81%, 44%)
CMYKcmyk(81.1%, 64%, 0%, 56.5%)
CIE-LABlab(19.33, 20.72, -43.24)
CIE-LCHlch(19.33, 47.95, 295.61°)
OKLaboklab(31.24% -0.0064 -0.125)
OKLCHoklch(31.24% 0.125 267.1)
XYZxyz(3.9363, 2.8243, 15.3735)
Luminance0.0283 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#15286F #6F5C15
analogous
#15556F #15286F #2F156F
triadic
#15286F #6F1528 #286F15
tetradic
#15286F #6F1555 #6F5C15 #156F2F
square
#15286F #6F1555 #6F5C15 #156F2F
split-complementary
#15286F #6F2F15 #556F15
monochromatic
#05091A #0B153C #15286F #1F3BA2 #284DD6

Accessibility & contrast

On white

13.42
#15286F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#15286F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #15286F
13.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##15286F#FFFFFF#000000##FFFFFF
##15286F1.0013.421.5713.42
#FFFFFF13.421.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003371
Deuteranopia (green-blind)
#002B6E
Tritanopia (blue-blind)
#003A47
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #15286f;
/* rgb */ color: rgb(21, 40, 111);
/* oklch */ color: oklch(31.2% 0.125 267.1);
Tailwind
colors: {
  custom: {
    50: '#636199',
    500: '#15286f',
    950: '#000000',
  },
}
SCSS
$custom: #15286f;
$custom-light: #636199;
$custom-dark: #000000;
JSON
{
  "hex": "#15286f",
  "rgb": {
    "r": 21,
    "g": 40,
    "b": 111
  },
  "hsl": {
    "h": 227.333,
    "s": 68.182,
    "l": 25.882
  },
  "oklch": {
    "l": 0.31244,
    "c": 0.12514,
    "h": 267.1
  },
  "luminance": 0.02825
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #15286F

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

Preview Lab → · Contrast checker → · Palette generator →

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