#15226E#15226E

#15226E is a dark, vivid blue. Relative luminance 0.024; OKLCH L 29.9% C 0.131 H 268.9°. Best body text is #FFFFFF at 14.13:1 contrast (WCAG AA passes).

Color values

HEX#15226E
RGBrgb(21, 34, 110)
HSLhsl(231, 68%, 26%)
HSVhsv(231, 81%, 43%)
CMYKcmyk(80.9%, 69.1%, 0%, 56.9%)
CIE-LABlab(17.59, 24.58, -45.43)
CIE-LCHlch(17.59, 51.65, 298.41°)
OKLaboklab(29.94% -0.0024 -0.1315)
OKLCHoklch(29.94% 0.131 268.9)
XYZxyz(3.6948, 2.4289, 15.0229)
Luminance0.0243 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#15226E #6E6115
analogous
#154E6E #15226E #34156E
triadic
#15226E #6E1522 #226E15
tetradic
#15226E #6E154E #6E6115 #156E34
square
#15226E #6E154E #6E6115 #156E34
split-complementary
#15226E #6E3415 #4E6E15
monochromatic
#05081A #0B123B #15226E #1F32A1 #2942D5

Accessibility & contrast

On white

14.13
#15226E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#15226E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #15226E
14.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##15226E#FFFFFF#000000##FFFFFF
##15226E1.0014.131.4914.13
#FFFFFF14.131.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.131.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #15226e;
/* rgb */ color: rgb(21, 34, 110);
/* oklch */ color: oklch(29.9% 0.131 268.9);
Tailwind
colors: {
  custom: {
    50: '#635d98',
    500: '#15226e',
    950: '#000000',
  },
}
SCSS
$custom: #15226e;
$custom-light: #635d98;
$custom-dark: #000000;
JSON
{
  "hex": "#15226e",
  "rgb": {
    "r": 21,
    "g": 34,
    "b": 110
  },
  "hsl": {
    "h": 231.236,
    "s": 67.939,
    "l": 25.686
  },
  "oklch": {
    "l": 0.29937,
    "c": 0.13148,
    "h": 268.9
  },
  "luminance": 0.02429
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #15226E

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

Preview Lab → · Contrast checker → · Palette generator →

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