#15286C#15286C

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

Color values

HEX#15286C
RGBrgb(21, 40, 108)
HSLhsl(227, 67%, 25%)
HSVhsv(227, 81%, 42%)
CMYKcmyk(80.6%, 63%, 0%, 57.6%)
CIE-LABlab(19.05, 19.49, -41.74)
CIE-LCHlch(19.05, 46.06, 295.03°)
OKLaboklab(30.96% -0.0064 -0.1206)
OKLCHoklch(30.96% 0.121 267)
XYZxyz(3.7739, 2.7593, 14.5182)
Luminance0.0276 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#15286C #6C5915
analogous
#15536C #15286C #2E156C
triadic
#15286C #6C1528 #286C15
tetradic
#15286C #6C1553 #6C5915 #156C2E
square
#15286C #6C1553 #6C5915 #156C2E
split-complementary
#15286C #6C2E15 #536C15
monochromatic
#05091A #0B1539 #15286C #1F3B9F #294ED2

Accessibility & contrast

On white

13.53
#15286C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #15286C
13.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##15286C#FFFFFF#000000##FFFFFF
##15286C1.0013.531.5513.53
#FFFFFF13.531.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.531.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #15286c;
/* rgb */ color: rgb(21, 40, 108);
/* oklch */ color: oklch(31.0% 0.121 267.0);
Tailwind
colors: {
  custom: {
    50: '#626197',
    500: '#15286c',
    950: '#000000',
  },
}
SCSS
$custom: #15286c;
$custom-light: #626197;
$custom-dark: #000000;
JSON
{
  "hex": "#15286c",
  "rgb": {
    "r": 21,
    "g": 40,
    "b": 108
  },
  "hsl": {
    "h": 226.897,
    "s": 67.442,
    "l": 25.294
  },
  "oklch": {
    "l": 0.30956,
    "c": 0.12076,
    "h": 267
  },
  "luminance": 0.0276
}

Semantic roles & 50–950 ramp

primary
#15286C
secondary
#A38C3A
accent
#C53DEA
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06050D
muted
#7A797E

Preview Lab

Preview with #15286C

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

Preview Lab → · Contrast checker → · Palette generator →

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