#15206C#15206C

#15206C is a dark, vivid blue. Relative luminance 0.023; OKLCH L 29.3% C 0.131 H 269.5°. Best body text is #FFFFFF at 14.43:1 contrast (WCAG AA passes).

Color values

HEX#15206C
RGBrgb(21, 32, 108)
HSLhsl(232, 67%, 25%)
HSVhsv(232, 81%, 42%)
CMYKcmyk(80.6%, 70.4%, 0%, 57.6%)
CIE-LABlab(16.87, 25.17, -45.32)
CIE-LCHlch(16.87, 51.84, 299.05°)
OKLaboklab(29.35% -0.0011 -0.1311)
OKLCHoklch(29.35% 0.131 269.5)
XYZxyz(3.5316, 2.2748, 14.4374)
Luminance0.0227 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#15206C #6C6115
analogous
#154B6C #15206C #36156C
triadic
#15206C #6C1520 #206C15
tetradic
#15206C #6C154B #6C6115 #156C36
square
#15206C #6C154B #6C6115 #156C36
split-complementary
#15206C #6C3615 #4B6C15
monochromatic
#05081A #0B1139 #15206C #1F2F9F #293ED2

Accessibility & contrast

On white

14.43
#15206C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#15206C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #15206C
14.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##15206C#FFFFFF#000000##FFFFFF
##15206C1.0014.431.4614.43
#FFFFFF14.431.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E6E
Deuteranopia (green-blind)
#00256B
Tritanopia (blue-blind)
#003543
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #15206c;
/* rgb */ color: rgb(21, 32, 108);
/* oklch */ color: oklch(29.3% 0.131 269.5);
Tailwind
colors: {
  custom: {
    50: '#635b97',
    500: '#15206c',
    950: '#000000',
  },
}
SCSS
$custom: #15206c;
$custom-light: #635b97;
$custom-dark: #000000;
JSON
{
  "hex": "#15206c",
  "rgb": {
    "r": 21,
    "g": 32,
    "b": 108
  },
  "hsl": {
    "h": 232.414,
    "s": 67.442,
    "l": 25.294
  },
  "oklch": {
    "l": 0.29345,
    "c": 0.13115,
    "h": 269.5
  },
  "luminance": 0.02275
}

Semantic roles & 50–950 ramp

primary
#15206C
secondary
#A3953A
accent
#D43DEA
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06040D
muted
#7A797E

Preview Lab

Preview with #15206C

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

Preview Lab → · Contrast checker → · Palette generator →

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