#15296F#15296F

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

Color values

HEX#15296F
RGBrgb(21, 41, 111)
HSLhsl(227, 68%, 26%)
HSVhsv(227, 81%, 44%)
CMYKcmyk(81.1%, 63.1%, 0%, 56.5%)
CIE-LABlab(19.61, 20.00, -42.78)
CIE-LCHlch(19.61, 47.22, 295.06°)
OKLaboklab(31.45% -0.0071 -0.1236)
OKLCHoklch(31.45% 0.124 266.7)
XYZxyz(3.9704, 2.8926, 15.3849)
Luminance0.0289 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#15296F #6F5B15
analogous
#15566F #15296F #2E156F
triadic
#15296F #6F1529 #296F15
tetradic
#15296F #6F1556 #6F5B15 #156F2E
square
#15296F #6F1556 #6F5B15 #156F2E
split-complementary
#15296F #6F2E15 #566F15
monochromatic
#050A1A #0B163C #15296F #1F3CA2 #284FD6

Accessibility & contrast

On white

13.30
#15296F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#15296F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #15296F
13.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##15296F#FFFFFF#000000##FFFFFF
##15296F1.0013.301.5813.30
#FFFFFF13.301.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.301.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #15296f;
/* rgb */ color: rgb(21, 41, 111);
/* oklch */ color: oklch(31.5% 0.124 266.7);
Tailwind
colors: {
  custom: {
    50: '#636299',
    500: '#15296f',
    950: '#000000',
  },
}
SCSS
$custom: #15296f;
$custom-light: #636299;
$custom-dark: #000000;
JSON
{
  "hex": "#15296f",
  "rgb": {
    "r": 21,
    "g": 41,
    "b": 111
  },
  "hsl": {
    "h": 226.667,
    "s": 68.182,
    "l": 25.882
  },
  "oklch": {
    "l": 0.31454,
    "c": 0.12382,
    "h": 266.7
  },
  "luminance": 0.02893
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #15296F

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

Preview Lab → · Contrast checker → · Palette generator →

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