#15225E#15225E

#15225E is a dark, moderate blue. Relative luminance 0.021; OKLCH L 28.3% C 0.108 H 269.0°. Best body text is #FFFFFF at 14.76:1 contrast (WCAG AA passes).

Color values

HEX#15225E
RGBrgb(21, 34, 94)
HSLhsl(229, 63%, 23%)
HSVhsv(229, 78%, 37%)
CMYKcmyk(77.7%, 63.8%, 0%, 63.1%)
CIE-LABlab(16.06, 18.06, -37.42)
CIE-LCHlch(16.06, 41.55, 295.77°)
OKLaboklab(28.33% -0.0019 -0.108)
OKLCHoklch(28.33% 0.108 269)
XYZxyz(2.9010, 2.1113, 10.8421)
Luminance0.0211 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#15225E #5E5115
analogous
#15465E #15225E #2C155E
triadic
#15225E #5E1522 #225E15
tetradic
#15225E #5E1546 #5E5115 #155E2C
square
#15225E #5E1546 #5E5115 #155E2C
split-complementary
#15225E #5E2C15 #465E15
monochromatic
#060919 #0A102C #15225E #203490 #2B46C2

Accessibility & contrast

On white

14.76
#15225E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#15225E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #15225E
14.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##15225E#FFFFFF#000000##FFFFFF
##15225E1.0014.761.4214.76
#FFFFFF14.761.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B60
Deuteranopia (green-blind)
#00255D
Tritanopia (blue-blind)
#00313C
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #15225e;
/* rgb */ color: rgb(21, 34, 94);
/* oklch */ color: oklch(28.3% 0.108 269.0);
Tailwind
colors: {
  custom: {
    50: '#5e5c8c',
    500: '#15225e',
    950: '#000000',
  },
}
SCSS
$custom: #15225e;
$custom-light: #5e5c8c;
$custom-dark: #000000;
JSON
{
  "hex": "#15225e",
  "rgb": {
    "r": 21,
    "g": 34,
    "b": 94
  },
  "hsl": {
    "h": 229.315,
    "s": 63.478,
    "l": 22.549
  },
  "oklch": {
    "l": 0.28334,
    "c": 0.10802,
    "h": 269
  },
  "luminance": 0.02112
}

Semantic roles & 50–950 ramp

primary
#15225E
secondary
#958539
accent
#C941E7
background
#F5F5F8
surface
#EAE9F0
border
#C6C5CB
text
#05040C
muted
#79797D

Preview Lab

Preview with #15225E

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

Preview Lab → · Contrast checker → · Palette generator →

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