#15205F#15205F

#15205F is a dark, moderate blue. Relative luminance 0.020; OKLCH L 28.0% C 0.112 H 269.8°. Best body text is #FFFFFF at 14.96:1 contrast (WCAG AA passes).

Color values

HEX#15205F
RGBrgb(21, 32, 95)
HSLhsl(231, 64%, 23%)
HSVhsv(231, 78%, 37%)
CMYKcmyk(77.9%, 66.3%, 0%, 62.7%)
CIE-LABlab(15.58, 19.93, -38.87)
CIE-LCHlch(15.58, 43.68, 297.15°)
OKLaboklab(28.01% -0.0003 -0.1123)
OKLCHoklch(28.01% 0.112 269.8)
XYZxyz(2.8906, 2.0184, 11.0615)
Luminance0.0202 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#15205F #5F5415
analogous
#15455F #15205F #2F155F
triadic
#15205F #5F1520 #205F15
tetradic
#15205F #5F1545 #5F5415 #155F2F
square
#15205F #5F1545 #5F5415 #155F2F
split-complementary
#15205F #5F2F15 #455F15
monochromatic
#060819 #0A0F2D #15205F #203191 #2B42C3

Accessibility & contrast

On white

14.96
#15205F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#15205F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #15205F
14.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##15205F#FFFFFF#000000##FFFFFF
##15205F1.0014.961.4014.96
#FFFFFF14.961.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF14.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A61
Deuteranopia (green-blind)
#00245E
Tritanopia (blue-blind)
#00303C
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #15205f;
/* rgb */ color: rgb(21, 32, 95);
/* oklch */ color: oklch(28.0% 0.112 269.8);
Tailwind
colors: {
  custom: {
    50: '#5f5b8d',
    500: '#15205f',
    950: '#000000',
  },
}
SCSS
$custom: #15205f;
$custom-light: #5f5b8d;
$custom-dark: #000000;
JSON
{
  "hex": "#15205f",
  "rgb": {
    "r": 21,
    "g": 32,
    "b": 95
  },
  "hsl": {
    "h": 231.081,
    "s": 63.793,
    "l": 22.745
  },
  "oklch": {
    "l": 0.28009,
    "c": 0.11227,
    "h": 269.8
  },
  "luminance": 0.02019
}

Semantic roles & 50–950 ramp

primary
#15205F
secondary
#96893A
accent
#CE41E7
background
#F5F5F8
surface
#EAE9F0
border
#C6C5CB
text
#05040C
muted
#79797D

Preview Lab

Preview with #15205F

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

Preview Lab → · Contrast checker → · Palette generator →

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