#15225A#15225A

#15225A is a dark, moderate blue. Relative luminance 0.020; OKLCH L 28.0% C 0.102 H 268.9°. Best body text is #FFFFFF at 14.91:1 contrast (WCAG AA passes).

Color values

HEX#15225A
RGBrgb(21, 34, 90)
HSLhsl(229, 62%, 22%)
HSVhsv(229, 77%, 35%)
CMYKcmyk(76.7%, 62.2%, 0%, 64.7%)
CIE-LABlab(15.70, 16.40, -35.34)
CIE-LCHlch(15.70, 38.96, 294.90°)
OKLaboklab(27.96% -0.002 -0.1019)
OKLCHoklch(27.96% 0.102 268.9)
XYZxyz(2.7261, 2.0414, 9.9212)
Luminance0.0204 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#15225A #5A4D15
analogous
#15455A #15225A #2B155A
triadic
#15225A #5A1522 #225A15
tetradic
#15225A #5A1545 #5A4D15 #155A2B
square
#15225A #5A1545 #5A4D15 #155A2B
split-complementary
#15225A #5A2B15 #455A15
monochromatic
#060919 #090F28 #15225A #21358C #2C47BD

Accessibility & contrast

On white

14.91
#15225A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#15225A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #15225A
14.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##15225A#FFFFFF#000000##FFFFFF
##15225A1.0014.911.4114.91
#FFFFFF14.911.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A5C
Deuteranopia (green-blind)
#002459
Tritanopia (blue-blind)
#00303A
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #15225a;
/* rgb */ color: rgb(21, 34, 90);
/* oklch */ color: oklch(28.0% 0.102 268.9);
Tailwind
colors: {
  custom: {
    50: '#5d5c89',
    500: '#15225a',
    950: '#000000',
  },
}
SCSS
$custom: #15225a;
$custom-light: #5d5c89;
$custom-dark: #000000;
JSON
{
  "hex": "#15225a",
  "rgb": {
    "r": 21,
    "g": 34,
    "b": 90
  },
  "hsl": {
    "h": 228.696,
    "s": 62.162,
    "l": 21.765
  },
  "oklch": {
    "l": 0.27955,
    "c": 0.1019,
    "h": 268.9
  },
  "luminance": 0.02042
}

Semantic roles & 50–950 ramp

primary
#15225A
secondary
#928139
accent
#C743E5
background
#F5F5F8
surface
#E9E9F0
border
#C5C5CB
text
#05040B
muted
#79797C

Preview Lab

Preview with #15225A

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

Preview Lab → · Contrast checker → · Palette generator →

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