#15226C#15226C

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

Color values

HEX#15226C
RGBrgb(21, 34, 108)
HSLhsl(231, 67%, 25%)
HSVhsv(231, 81%, 42%)
CMYKcmyk(80.6%, 68.5%, 0%, 57.6%)
CIE-LABlab(17.39, 23.77, -44.45)
CIE-LCHlch(17.39, 50.41, 298.14°)
OKLaboklab(29.73% -0.0023 -0.1286)
OKLCHoklch(29.73% 0.129 269)
XYZxyz(3.5871, 2.3858, 14.4559)
Luminance0.0239 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#15226C #6C5F15
analogous
#154E6C #15226C #33156C
triadic
#15226C #6C1522 #226C15
tetradic
#15226C #6C154E #6C5F15 #156C33
square
#15226C #6C154E #6C5F15 #156C33
split-complementary
#15226C #6C3315 #4E6C15
monochromatic
#05081A #0B1239 #15226C #1F329F #2942D2

Accessibility & contrast

On white

14.22
#15226C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #15226C
14.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##15226C#FFFFFF#000000##FFFFFF
##15226C1.0014.221.4814.22
#FFFFFF14.221.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F6E
Deuteranopia (green-blind)
#00276B
Tritanopia (blue-blind)
#003643
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #15226c;
/* rgb */ color: rgb(21, 34, 108);
/* oklch */ color: oklch(29.7% 0.129 269.0);
Tailwind
colors: {
  custom: {
    50: '#625d97',
    500: '#15226c',
    950: '#000000',
  },
}
SCSS
$custom: #15226c;
$custom-light: #625d97;
$custom-dark: #000000;
JSON
{
  "hex": "#15226c",
  "rgb": {
    "r": 21,
    "g": 34,
    "b": 108
  },
  "hsl": {
    "h": 231.034,
    "s": 67.442,
    "l": 25.294
  },
  "oklch": {
    "l": 0.2973,
    "c": 0.12863,
    "h": 269
  },
  "luminance": 0.02386
}

Semantic roles & 50–950 ramp

primary
#15226C
secondary
#A3933A
accent
#D03DEA
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06040D
muted
#7A797E

Preview Lab

Preview with #15226C

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

Preview Lab → · Contrast checker → · Palette generator →

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