#15206E#15206E

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

Color values

HEX#15206E
RGBrgb(21, 32, 110)
HSLhsl(233, 68%, 26%)
HSVhsv(233, 81%, 43%)
CMYKcmyk(80.9%, 70.9%, 0%, 56.9%)
CIE-LABlab(17.07, 25.97, -46.28)
CIE-LCHlch(17.07, 53.07, 299.29°)
OKLaboklab(29.56% -0.0012 -0.134)
OKLCHoklch(29.56% 0.134 269.5)
XYZxyz(3.6393, 2.3178, 15.0044)
Luminance0.0232 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#15206E #6E6315
analogous
#154C6E #15206E #36156E
triadic
#15206E #6E1520 #206E15
tetradic
#15206E #6E154C #6E6315 #156E36
square
#15206E #6E154C #6E6315 #156E36
split-complementary
#15206E #6E3615 #4C6E15
monochromatic
#05071A #0B113B #15206E #1F2FA1 #293ED5

Accessibility & contrast

On white

14.35
#15206E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #15206E
14.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##15206E#FFFFFF#000000##FFFFFF
##15206E1.0014.351.4614.35
#FFFFFF14.351.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E70
Deuteranopia (green-blind)
#00266D
Tritanopia (blue-blind)
#003544
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #15206e;
/* rgb */ color: rgb(21, 32, 110);
/* oklch */ color: oklch(29.6% 0.134 269.5);
Tailwind
colors: {
  custom: {
    50: '#635b98',
    500: '#15206e',
    950: '#000000',
  },
}
SCSS
$custom: #15206e;
$custom-light: #635b98;
$custom-dark: #000000;
JSON
{
  "hex": "#15206e",
  "rgb": {
    "r": 21,
    "g": 32,
    "b": 110
  },
  "hsl": {
    "h": 232.584,
    "s": 67.939,
    "l": 25.686
  },
  "oklch": {
    "l": 0.29558,
    "c": 0.13397,
    "h": 269.5
  },
  "luminance": 0.02318
}

Semantic roles & 50–950 ramp

primary
#15206E
secondary
#A4973A
accent
#D53DEB
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06040E
muted
#7A797E

Preview Lab

Preview with #15206E

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

Preview Lab → · Contrast checker → · Palette generator →

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