#15286B#15286B

#15286B is a dark, moderate blue. Relative luminance 0.027; OKLCH L 30.9% C 0.119 H 266.9°. Best body text is #FFFFFF at 13.57:1 contrast (WCAG AA passes).

Color values

HEX#15286B
RGBrgb(21, 40, 107)
HSLhsl(227, 67%, 25%)
HSVhsv(227, 80%, 42%)
CMYKcmyk(80.4%, 62.6%, 0%, 58%)
CIE-LABlab(18.96, 19.07, -41.24)
CIE-LCHlch(18.96, 45.43, 294.82°)
OKLaboklab(30.86% -0.0064 -0.1191)
OKLCHoklch(30.86% 0.119 266.9)
XYZxyz(3.7210, 2.7381, 14.2395)
Luminance0.0274 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#15286B #6B5815
analogous
#15536B #15286B #2D156B
triadic
#15286B #6B1528 #286B15
tetradic
#15286B #6B1553 #6B5815 #156B2D
square
#15286B #6B1553 #6B5815 #156B2D
split-complementary
#15286B #6B2D15 #536B15
monochromatic
#050A1A #0B1538 #15286B #1F3B9E #294ED1

Accessibility & contrast

On white

13.57
#15286B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#15286B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #15286B
13.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##15286B#FFFFFF#000000##FFFFFF
##15286B1.0013.571.5513.57
#FFFFFF13.571.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00326D
Deuteranopia (green-blind)
#002A6A
Tritanopia (blue-blind)
#003945
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #15286b;
/* rgb */ color: rgb(21, 40, 107);
/* oklch */ color: oklch(30.9% 0.119 266.9);
Tailwind
colors: {
  custom: {
    50: '#626196',
    500: '#15286b',
    950: '#000000',
  },
}
SCSS
$custom: #15286b;
$custom-light: #626196;
$custom-dark: #000000;
JSON
{
  "hex": "#15286b",
  "rgb": {
    "r": 21,
    "g": 40,
    "b": 107
  },
  "hsl": {
    "h": 226.744,
    "s": 67.188,
    "l": 25.098
  },
  "oklch": {
    "l": 0.30861,
    "c": 0.11928,
    "h": 266.9
  },
  "luminance": 0.02739
}

Semantic roles & 50–950 ramp

primary
#15286B
secondary
#A28B3A
accent
#C43EEA
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06050D
muted
#7A797E

Preview Lab

Preview with #15286B

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

Preview Lab → · Contrast checker → · Palette generator →

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