#15225D#15225D

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

Color values

HEX#15225D
RGBrgb(21, 34, 93)
HSLhsl(229, 63%, 22%)
HSVhsv(229, 77%, 36%)
CMYKcmyk(77.4%, 63.4%, 0%, 63.5%)
CIE-LABlab(15.97, 17.65, -36.91)
CIE-LCHlch(15.97, 40.91, 295.56°)
OKLaboklab(28.24% -0.0019 -0.1065)
OKLCHoklch(28.24% 0.107 269)
XYZxyz(2.8564, 2.0935, 10.6074)
Luminance0.0209 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#15225D #5D5015
analogous
#15465D #15225D #2C155D
triadic
#15225D #5D1522 #225D15
tetradic
#15225D #5D1546 #5D5015 #155D2C
square
#15225D #5D1546 #5D5015 #155D2C
split-complementary
#15225D #5D2C15 #465D15
monochromatic
#060919 #0A102B #15225D #20348F #2C47C1

Accessibility & contrast

On white

14.80
#15225D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #15225D
14.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##15225D#FFFFFF#000000##FFFFFF
##15225D1.0014.801.4214.80
#FFFFFF14.801.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B5F
Deuteranopia (green-blind)
#00245C
Tritanopia (blue-blind)
#00313B
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #15225d;
/* rgb */ color: rgb(21, 34, 93);
/* oklch */ color: oklch(28.2% 0.106 269.0);
Tailwind
colors: {
  custom: {
    50: '#5e5c8b',
    500: '#15225d',
    950: '#000000',
  },
}
SCSS
$custom: #15225d;
$custom-light: #5e5c8b;
$custom-dark: #000000;
JSON
{
  "hex": "#15225d",
  "rgb": {
    "r": 21,
    "g": 34,
    "b": 93
  },
  "hsl": {
    "h": 229.167,
    "s": 63.158,
    "l": 22.353
  },
  "oklch": {
    "l": 0.28238,
    "c": 0.1065,
    "h": 269
  },
  "luminance": 0.02094
}

Semantic roles & 50–950 ramp

primary
#15225D
secondary
#948439
accent
#C842E6
background
#F5F5F8
surface
#EAE9F0
border
#C6C5CB
text
#05040C
muted
#79797D

Preview Lab

Preview with #15225D

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

Preview Lab → · Contrast checker → · Palette generator →

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