#15225C#15225C

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

Color values

HEX#15225C
RGBrgb(21, 34, 92)
HSLhsl(229, 63%, 22%)
HSVhsv(229, 77%, 36%)
CMYKcmyk(77.2%, 63%, 0%, 63.9%)
CIE-LABlab(15.88, 17.23, -36.38)
CIE-LCHlch(15.88, 40.26, 295.34°)
OKLaboklab(28.14% -0.0019 -0.105)
OKLCHoklch(28.14% 0.105 268.9)
XYZxyz(2.8124, 2.0759, 10.3756)
Luminance0.0208 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#15225C #5C4F15
analogous
#15465C #15225C #2C155C
triadic
#15225C #5C1522 #225C15
tetradic
#15225C #5C1546 #5C4F15 #155C2C
square
#15225C #5C1546 #5C4F15 #155C2C
split-complementary
#15225C #5C2C15 #465C15
monochromatic
#060919 #0A102A #15225C #20348E #2C47C0

Accessibility & contrast

On white

14.84
#15225C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #15225C
14.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##15225C#FFFFFF#000000##FFFFFF
##15225C1.0014.841.4214.84
#FFFFFF14.841.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B5E
Deuteranopia (green-blind)
#00245B
Tritanopia (blue-blind)
#00303B
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #15225c;
/* rgb */ color: rgb(21, 34, 92);
/* oklch */ color: oklch(28.1% 0.105 268.9);
Tailwind
colors: {
  custom: {
    50: '#5e5c8b',
    500: '#15225c',
    950: '#000000',
  },
}
SCSS
$custom: #15225c;
$custom-light: #5e5c8b;
$custom-dark: #000000;
JSON
{
  "hex": "#15225c",
  "rgb": {
    "r": 21,
    "g": 34,
    "b": 92
  },
  "hsl": {
    "h": 229.014,
    "s": 62.832,
    "l": 22.157
  },
  "oklch": {
    "l": 0.28143,
    "c": 0.10498,
    "h": 268.9
  },
  "luminance": 0.02076
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #15225C

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

Preview Lab → · Contrast checker → · Palette generator →

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