#15296C#15296C

#15296C is a dark, moderate blue. Relative luminance 0.028; OKLCH L 31.2% C 0.119 H 266.6°. Best body text is #FFFFFF at 13.41:1 contrast (WCAG AA passes).

Color values

HEX#15296C
RGBrgb(21, 41, 108)
HSLhsl(226, 67%, 25%)
HSVhsv(226, 81%, 42%)
CMYKcmyk(80.6%, 62%, 0%, 57.6%)
CIE-LABlab(19.34, 18.76, -41.27)
CIE-LCHlch(19.34, 45.34, 294.45°)
OKLaboklab(31.17% -0.0071 -0.1192)
OKLCHoklch(31.17% 0.119 266.6)
XYZxyz(3.8080, 2.8276, 14.5295)
Luminance0.0283 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#15296C #6C5815
analogous
#15546C #15296C #2C156C
triadic
#15296C #6C1529 #296C15
tetradic
#15296C #6C1554 #6C5815 #156C2C
square
#15296C #6C1554 #6C5815 #156C2C
split-complementary
#15296C #6C2C15 #546C15
monochromatic
#050A1A #0B1639 #15296C #1F3C9F #2950D2

Accessibility & contrast

On white

13.41
#15296C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #15296C
13.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##15296C#FFFFFF#000000##FFFFFF
##15296C1.0013.411.5713.41
#FFFFFF13.411.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.411.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #15296c;
/* rgb */ color: rgb(21, 41, 108);
/* oklch */ color: oklch(31.2% 0.119 266.6);
Tailwind
colors: {
  custom: {
    50: '#626297',
    500: '#15296c',
    950: '#000000',
  },
}
SCSS
$custom: #15296c;
$custom-light: #626297;
$custom-dark: #000000;
JSON
{
  "hex": "#15296c",
  "rgb": {
    "r": 21,
    "g": 41,
    "b": 108
  },
  "hsl": {
    "h": 226.207,
    "s": 67.442,
    "l": 25.294
  },
  "oklch": {
    "l": 0.3117,
    "c": 0.11941,
    "h": 266.6
  },
  "luminance": 0.02828
}

Semantic roles & 50–950 ramp

primary
#15296C
secondary
#A38B3A
accent
#C33DEA
background
#F6F5F9
surface
#EBEAF2
border
#C6C6CC
text
#06050D
muted
#7A797E

Preview Lab

Preview with #15296C

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

Preview Lab → · Contrast checker → · Palette generator →

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