#15286A#15286A

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

Color values

HEX#15286A
RGBrgb(21, 40, 106)
HSLhsl(227, 67%, 25%)
HSVhsv(227, 80%, 42%)
CMYKcmyk(80.2%, 62.3%, 0%, 58.4%)
CIE-LABlab(18.87, 18.66, -40.73)
CIE-LCHlch(18.87, 44.80, 294.61°)
OKLaboklab(30.77% -0.0064 -0.1176)
OKLCHoklch(30.77% 0.118 266.9)
XYZxyz(3.6687, 2.7172, 13.9640)
Luminance0.0272 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#15286A #6A5715
analogous
#15536A #15286A #2C156A
triadic
#15286A #6A1528 #286A15
tetradic
#15286A #6A1553 #6A5715 #156A2C
square
#15286A #6A1553 #6A5715 #156A2C
split-complementary
#15286A #6A2C15 #536A15
monochromatic
#050A1A #0B1537 #15286A #1F3B9D #294FD0

Accessibility & contrast

On white

13.60
#15286A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#15286A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #15286A
13.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##15286A#FFFFFF#000000##FFFFFF
##15286A1.0013.601.5413.60
#FFFFFF13.601.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00326C
Deuteranopia (green-blind)
#002A69
Tritanopia (blue-blind)
#003944
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #15286a;
/* rgb */ color: rgb(21, 40, 106);
/* oklch */ color: oklch(30.8% 0.118 266.9);
Tailwind
colors: {
  custom: {
    50: '#616195',
    500: '#15286a',
    950: '#000000',
  },
}
SCSS
$custom: #15286a;
$custom-light: #616195;
$custom-dark: #000000;
JSON
{
  "hex": "#15286a",
  "rgb": {
    "r": 21,
    "g": 40,
    "b": 106
  },
  "hsl": {
    "h": 226.588,
    "s": 66.929,
    "l": 24.902
  },
  "oklch": {
    "l": 0.30766,
    "c": 0.11781,
    "h": 266.9
  },
  "luminance": 0.02718
}

Semantic roles & 50–950 ramp

primary
#15286A
secondary
#A18A3A
accent
#C33EEA
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06050D
muted
#7A797E

Preview Lab

Preview with #15286A

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

Preview Lab → · Contrast checker → · Palette generator →

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