#15205B#15205B

#15205B is a dark, moderate blue. Relative luminance 0.019; OKLCH L 27.6% C 0.106 H 269.9°. Best body text is #FFFFFF at 15.11:1 contrast (WCAG AA passes).

Color values

HEX#15205B
RGBrgb(21, 32, 91)
HSLhsl(231, 63%, 22%)
HSVhsv(231, 77%, 36%)
CMYKcmyk(76.9%, 64.8%, 0%, 64.3%)
CIE-LABlab(15.21, 18.29, -36.81)
CIE-LCHlch(15.21, 41.11, 296.42°)
OKLaboklab(27.62% -0.0002 -0.1062)
OKLCHoklch(27.62% 0.106 269.9)
XYZxyz(2.7135, 1.9475, 10.1284)
Luminance0.0195 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#15205B #5B5015
analogous
#15435B #15205B #2D155B
triadic
#15205B #5B1520 #205B15
tetradic
#15205B #5B1543 #5B5015 #155B2D
square
#15205B #5B1543 #5B5015 #155B2D
split-complementary
#15205B #5B2D15 #435B15
monochromatic
#060919 #0A0F29 #15205B #20318D #2C43BE

Accessibility & contrast

On white

15.11
#15205B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#15205B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #15205B
15.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##15205B#FFFFFF#000000##FFFFFF
##15205B1.0015.111.3915.11
#FFFFFF15.111.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00295D
Deuteranopia (green-blind)
#00235A
Tritanopia (blue-blind)
#002F3A
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #15205b;
/* rgb */ color: rgb(21, 32, 91);
/* oklch */ color: oklch(27.6% 0.106 269.9);
Tailwind
colors: {
  custom: {
    50: '#5e5b8a',
    500: '#15205b',
    950: '#000000',
  },
}
SCSS
$custom: #15205b;
$custom-light: #5e5b8a;
$custom-dark: #000000;
JSON
{
  "hex": "#15205b",
  "rgb": {
    "r": 21,
    "g": 32,
    "b": 91
  },
  "hsl": {
    "h": 230.571,
    "s": 62.5,
    "l": 21.961
  },
  "oklch": {
    "l": 0.27615,
    "c": 0.10623,
    "h": 269.9
  },
  "luminance": 0.01948
}

Semantic roles & 50–950 ramp

primary
#15205B
secondary
#928439
accent
#CC42E6
background
#F5F5F8
surface
#EAE9F0
border
#C6C5CB
text
#05040C
muted
#79797D

Preview Lab

Preview with #15205B

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

Preview Lab → · Contrast checker → · Palette generator →

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