#15296E#15296E

#15296E is a dark, vivid blue. Relative luminance 0.029; OKLCH L 31.4% C 0.122 H 266.7°. Best body text is #FFFFFF at 13.34:1 contrast (WCAG AA passes).

Color values

HEX#15296E
RGBrgb(21, 41, 110)
HSLhsl(227, 68%, 26%)
HSVhsv(227, 81%, 43%)
CMYKcmyk(80.9%, 62.7%, 0%, 56.9%)
CIE-LABlab(19.52, 19.59, -42.28)
CIE-LCHlch(19.52, 46.59, 294.86°)
OKLaboklab(31.36% -0.0071 -0.1221)
OKLCHoklch(31.36% 0.122 266.7)
XYZxyz(3.9157, 2.8707, 15.0965)
Luminance0.0287 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#15296E #6E5A15
analogous
#15556E #15296E #2D156E
triadic
#15296E #6E1529 #296E15
tetradic
#15296E #6E1555 #6E5A15 #156E2D
square
#15296E #6E1555 #6E5A15 #156E2D
split-complementary
#15296E #6E2D15 #556E15
monochromatic
#050A1A #0B163B #15296E #1F3CA1 #294FD5

Accessibility & contrast

On white

13.34
#15296E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #15296E
13.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##15296E#FFFFFF#000000##FFFFFF
##15296E1.0013.341.5713.34
#FFFFFF13.341.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003470
Deuteranopia (green-blind)
#002B6D
Tritanopia (blue-blind)
#003B47
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #15296e;
/* rgb */ color: rgb(21, 41, 110);
/* oklch */ color: oklch(31.4% 0.122 266.7);
Tailwind
colors: {
  custom: {
    50: '#626298',
    500: '#15296e',
    950: '#000000',
  },
}
SCSS
$custom: #15296e;
$custom-light: #626298;
$custom-dark: #000000;
JSON
{
  "hex": "#15296e",
  "rgb": {
    "r": 21,
    "g": 41,
    "b": 110
  },
  "hsl": {
    "h": 226.517,
    "s": 67.939,
    "l": 25.686
  },
  "oklch": {
    "l": 0.31359,
    "c": 0.12236,
    "h": 266.7
  },
  "luminance": 0.02871
}

Semantic roles & 50–950 ramp

primary
#15296E
secondary
#A48D3A
accent
#C43DEB
background
#F6F5F9
surface
#EBEAF2
border
#C6C6CC
text
#06050E
muted
#7A797E

Preview Lab

Preview with #15296E

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

Preview Lab → · Contrast checker → · Palette generator →

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