#15207E#15207E

#15207E is a dark, vivid blue. Relative luminance 0.027; OKLCH L 31.3% C 0.156 H 268.9°. Best body text is #FFFFFF at 13.64:1 contrast (WCAG AA passes).

Color values

HEX#15207E
RGBrgb(21, 32, 126)
HSLhsl(234, 71%, 29%)
HSVhsv(234, 83%, 49%)
CMYKcmyk(83.3%, 74.6%, 0%, 50.6%)
CIE-LABlab(18.79, 32.12, -53.73)
CIE-LCHlch(18.79, 62.59, 300.87°)
OKLaboklab(31.32% -0.003 -0.1557)
OKLCHoklch(31.32% 0.156 268.9)
XYZxyz(4.5904, 2.6983, 20.0135)
Luminance0.0270 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#15207E #7E7315
analogous
#15557E #15207E #3F157E
triadic
#15207E #7E1520 #207E15
tetradic
#15207E #7E1555 #7E7315 #157E3F
square
#15207E #7E1555 #7E7315 #157E3F
split-complementary
#15207E #7E3F15 #557E15
monochromatic
#04071A #0C134A #15207E #1E2DB2 #3143DD

Accessibility & contrast

On white

13.64
#15207E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#15207E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #15207E
13.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##15207E#FFFFFF#000000##FFFFFF
##15207E1.0013.641.5413.64
#FFFFFF13.641.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003381
Deuteranopia (green-blind)
#00297C
Tritanopia (blue-blind)
#003B4D
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #15207e;
/* rgb */ color: rgb(21, 32, 126);
/* oklch */ color: oklch(31.3% 0.156 268.9);
Tailwind
colors: {
  custom: {
    50: '#685ca4',
    500: '#15207e',
    950: '#000000',
  },
}
SCSS
$custom: #15207e;
$custom-light: #685ca4;
$custom-dark: #000000;
JSON
{
  "hex": "#15207e",
  "rgb": {
    "r": 21,
    "g": 32,
    "b": 126
  },
  "hsl": {
    "h": 233.714,
    "s": 71.429,
    "l": 28.824
  },
  "oklch": {
    "l": 0.31316,
    "c": 0.1557,
    "h": 268.9
  },
  "luminance": 0.02699
}

Semantic roles & 50–950 ramp

primary
#15207E
secondary
#B3A73C
accent
#DB3AEE
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#07040F
muted
#7A797F

Preview Lab

Preview with #15207E

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

Preview Lab → · Contrast checker → · Palette generator →

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