#15225B#15225B

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

Color values

HEX#15225B
RGBrgb(21, 34, 91)
HSLhsl(229, 63%, 22%)
HSVhsv(229, 77%, 36%)
CMYKcmyk(76.9%, 62.6%, 0%, 64.3%)
CIE-LABlab(15.79, 16.82, -35.86)
CIE-LCHlch(15.79, 39.61, 295.13°)
OKLaboklab(28.05% -0.0019 -0.1034)
OKLCHoklch(28.05% 0.103 268.9)
XYZxyz(2.7690, 2.0585, 10.1469)
Luminance0.0206 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#15225B #5B4E15
analogous
#15455B #15225B #2B155B
triadic
#15225B #5B1522 #225B15
tetradic
#15225B #5B1545 #5B4E15 #155B2B
square
#15225B #5B1545 #5B4E15 #155B2B
split-complementary
#15225B #5B2B15 #455B15
monochromatic
#060919 #0A0F29 #15225B #20358D #2C47BE

Accessibility & contrast

On white

14.87
#15225B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #15225B
14.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##15225B#FFFFFF#000000##FFFFFF
##15225B1.0014.871.4114.87
#FFFFFF14.871.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.871.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #15225b;
/* rgb */ color: rgb(21, 34, 91);
/* oklch */ color: oklch(28.0% 0.103 268.9);
Tailwind
colors: {
  custom: {
    50: '#5e5c8a',
    500: '#15225b',
    950: '#000000',
  },
}
SCSS
$custom: #15225b;
$custom-light: #5e5c8a;
$custom-dark: #000000;
JSON
{
  "hex": "#15225b",
  "rgb": {
    "r": 21,
    "g": 34,
    "b": 91
  },
  "hsl": {
    "h": 228.857,
    "s": 62.5,
    "l": 21.961
  },
  "oklch": {
    "l": 0.28049,
    "c": 0.10344,
    "h": 268.9
  },
  "luminance": 0.02059
}

Semantic roles & 50–950 ramp

primary
#15225B
secondary
#928239
accent
#C742E6
background
#F5F5F8
surface
#EAE9F0
border
#C6C5CB
text
#05040C
muted
#79797D

Preview Lab

Preview with #15225B

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

Preview Lab → · Contrast checker → · Palette generator →

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