#15205E#15205E

#15205E is a dark, moderate blue. Relative luminance 0.020; OKLCH L 27.9% C 0.111 H 269.9°. Best body text is #FFFFFF at 15.00:1 contrast (WCAG AA passes).

Color values

HEX#15205E
RGBrgb(21, 32, 94)
HSLhsl(231, 63%, 23%)
HSVhsv(231, 78%, 37%)
CMYKcmyk(77.7%, 66%, 0%, 63.1%)
CIE-LABlab(15.49, 19.53, -38.36)
CIE-LCHlch(15.49, 43.04, 296.98°)
OKLaboklab(27.91% -0.0003 -0.1108)
OKLCHoklch(27.91% 0.111 269.9)
XYZxyz(2.8455, 2.0003, 10.8236)
Luminance0.0200 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#15205E #5E5315
analogous
#15445E #15205E #2F155E
triadic
#15205E #5E1520 #205E15
tetradic
#15205E #5E1544 #5E5315 #155E2F
square
#15205E #5E1544 #5E5315 #155E2F
split-complementary
#15205E #5E2F15 #445E15
monochromatic
#060919 #0A0F2C #15205E #203190 #2B42C2

Accessibility & contrast

On white

15.00
#15205E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #15205E
15.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##15205E#FFFFFF#000000##FFFFFF
##15205E1.0015.001.4015.00
#FFFFFF15.001.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF15.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A60
Deuteranopia (green-blind)
#00235D
Tritanopia (blue-blind)
#00303B
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #15205e;
/* rgb */ color: rgb(21, 32, 94);
/* oklch */ color: oklch(27.9% 0.111 269.9);
Tailwind
colors: {
  custom: {
    50: '#5f5b8c',
    500: '#15205e',
    950: '#000000',
  },
}
SCSS
$custom: #15205e;
$custom-light: #5f5b8c;
$custom-dark: #000000;
JSON
{
  "hex": "#15205e",
  "rgb": {
    "r": 21,
    "g": 32,
    "b": 94
  },
  "hsl": {
    "h": 230.959,
    "s": 63.478,
    "l": 22.549
  },
  "oklch": {
    "l": 0.27909,
    "c": 0.11077,
    "h": 269.9
  },
  "luminance": 0.02001
}

Semantic roles & 50–950 ramp

primary
#15205E
secondary
#958739
accent
#CE41E7
background
#F5F5F8
surface
#EAE9F0
border
#C6C5CB
text
#05040C
muted
#79797D

Preview Lab

Preview with #15205E

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

Preview Lab → · Contrast checker → · Palette generator →

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