#15226D#15226D

#15226D is a dark, vivid blue. Relative luminance 0.024; OKLCH L 29.8% C 0.130 H 269.0°. Best body text is #FFFFFF at 14.17:1 contrast (WCAG AA passes).

Color values

HEX#15226D
RGBrgb(21, 34, 109)
HSLhsl(231, 68%, 25%)
HSVhsv(231, 81%, 43%)
CMYKcmyk(80.7%, 68.8%, 0%, 57.3%)
CIE-LABlab(17.49, 24.18, -44.94)
CIE-LCHlch(17.49, 51.03, 298.28°)
OKLaboklab(29.83% -0.0024 -0.13)
OKLCHoklch(29.83% 0.13 269)
XYZxyz(3.6407, 2.4072, 14.7378)
Luminance0.0241 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#15226D #6D6015
analogous
#154E6D #15226D #34156D
triadic
#15226D #6D1522 #226D15
tetradic
#15226D #6D154E #6D6015 #156D34
square
#15226D #6D154E #6D6015 #156D34
split-complementary
#15226D #6D3415 #4E6D15
monochromatic
#05081A #0B123A #15226D #1F32A0 #2942D4

Accessibility & contrast

On white

14.17
#15226D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#15226D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #15226D
14.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##15226D#FFFFFF#000000##FFFFFF
##15226D1.0014.171.4814.17
#FFFFFF14.171.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F6F
Deuteranopia (green-blind)
#00276C
Tritanopia (blue-blind)
#003644
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #15226d;
/* rgb */ color: rgb(21, 34, 109);
/* oklch */ color: oklch(29.8% 0.130 269.0);
Tailwind
colors: {
  custom: {
    50: '#635d98',
    500: '#15226d',
    950: '#000000',
  },
}
SCSS
$custom: #15226d;
$custom-light: #635d98;
$custom-dark: #000000;
JSON
{
  "hex": "#15226d",
  "rgb": {
    "r": 21,
    "g": 34,
    "b": 109
  },
  "hsl": {
    "h": 231.136,
    "s": 67.692,
    "l": 25.49
  },
  "oklch": {
    "l": 0.29833,
    "c": 0.13006,
    "h": 269
  },
  "luminance": 0.02408
}

Semantic roles & 50–950 ramp

primary
#15226D
secondary
#A3943A
accent
#D13DEB
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06040E
muted
#7A797E

Preview Lab

Preview with #15226D

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

Preview Lab → · Contrast checker → · Palette generator →

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