#15296D#15296D

#15296D is a dark, vivid blue. Relative luminance 0.028; OKLCH L 31.3% C 0.121 H 266.6°. Best body text is #FFFFFF at 13.38:1 contrast (WCAG AA passes).

Color values

HEX#15296D
RGBrgb(21, 41, 109)
HSLhsl(226, 68%, 25%)
HSVhsv(226, 81%, 43%)
CMYKcmyk(80.7%, 62.4%, 0%, 57.3%)
CIE-LABlab(19.43, 19.18, -41.77)
CIE-LCHlch(19.43, 45.97, 294.66°)
OKLaboklab(31.26% -0.0071 -0.1207)
OKLCHoklch(31.26% 0.121 266.6)
XYZxyz(3.8615, 2.8490, 14.8114)
Luminance0.0285 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#15296D #6D5915
analogous
#15556D #15296D #2D156D
triadic
#15296D #6D1529 #296D15
tetradic
#15296D #6D1555 #6D5915 #156D2D
square
#15296D #6D1555 #6D5915 #156D2D
split-complementary
#15296D #6D2D15 #556D15
monochromatic
#050A1A #0B163A #15296D #1F3CA0 #2950D4

Accessibility & contrast

On white

13.38
#15296D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#15296D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #15296D
13.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##15296D#FFFFFF#000000##FFFFFF
##15296D1.0013.381.5713.38
#FFFFFF13.381.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00336F
Deuteranopia (green-blind)
#002B6C
Tritanopia (blue-blind)
#003A46
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #15296d;
/* rgb */ color: rgb(21, 41, 109);
/* oklch */ color: oklch(31.3% 0.121 266.6);
Tailwind
colors: {
  custom: {
    50: '#626297',
    500: '#15296d',
    950: '#000000',
  },
}
SCSS
$custom: #15296d;
$custom-light: #626297;
$custom-dark: #000000;
JSON
{
  "hex": "#15296d",
  "rgb": {
    "r": 21,
    "g": 41,
    "b": 109
  },
  "hsl": {
    "h": 226.364,
    "s": 67.692,
    "l": 25.49
  },
  "oklch": {
    "l": 0.31264,
    "c": 0.12089,
    "h": 266.6
  },
  "luminance": 0.02849
}

Semantic roles & 50–950 ramp

primary
#15296D
secondary
#A38C3A
accent
#C33DEB
background
#F6F5F9
surface
#EBEAF2
border
#C6C6CC
text
#06050E
muted
#7A797E

Preview Lab

Preview with #15296D

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

Preview Lab → · Contrast checker → · Palette generator →

#15296D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva