#15225F#15225F

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

Color values

HEX#15225F
RGBrgb(21, 34, 95)
HSLhsl(229, 64%, 23%)
HSVhsv(229, 78%, 37%)
CMYKcmyk(77.9%, 64.2%, 0%, 62.7%)
CIE-LABlab(16.15, 18.48, -37.94)
CIE-LCHlch(16.15, 42.20, 295.97°)
OKLaboklab(28.43% -0.0019 -0.1095)
OKLCHoklch(28.43% 0.11 269)
XYZxyz(2.9461, 2.1294, 11.0800)
Luminance0.0213 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#15225F #5F5215
analogous
#15475F #15225F #2D155F
triadic
#15225F #5F1522 #225F15
tetradic
#15225F #5F1547 #5F5215 #155F2D
square
#15225F #5F1547 #5F5215 #155F2D
split-complementary
#15225F #5F2D15 #475F15
monochromatic
#060919 #0A102D #15225F #203491 #2B46C3

Accessibility & contrast

On white

14.73
#15225F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#15225F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #15225F
14.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##15225F#FFFFFF#000000##FFFFFF
##15225F1.0014.731.4314.73
#FFFFFF14.731.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.731.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #15225f;
/* rgb */ color: rgb(21, 34, 95);
/* oklch */ color: oklch(28.4% 0.110 269.0);
Tailwind
colors: {
  custom: {
    50: '#5f5c8d',
    500: '#15225f',
    950: '#000000',
  },
}
SCSS
$custom: #15225f;
$custom-light: #5f5c8d;
$custom-dark: #000000;
JSON
{
  "hex": "#15225f",
  "rgb": {
    "r": 21,
    "g": 34,
    "b": 95
  },
  "hsl": {
    "h": 229.459,
    "s": 63.793,
    "l": 22.745
  },
  "oklch": {
    "l": 0.2843,
    "c": 0.10954,
    "h": 269
  },
  "luminance": 0.0213
}

Semantic roles & 50–950 ramp

primary
#15225F
secondary
#96863A
accent
#CA41E7
background
#F5F5F8
surface
#EAE9F0
border
#C6C5CB
text
#05040C
muted
#79797D

Preview Lab

Preview with #15225F

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

Preview Lab → · Contrast checker → · Palette generator →

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