#15207F#15207F

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

Color values

HEX#15207F
RGBrgb(21, 32, 127)
HSLhsl(234, 72%, 29%)
HSVhsv(234, 83%, 50%)
CMYKcmyk(83.5%, 74.8%, 0%, 50.2%)
CIE-LABlab(18.90, 32.49, -54.18)
CIE-LCHlch(18.90, 63.17, 300.95°)
OKLaboklab(31.43% -0.0031 -0.157)
OKLCHoklch(31.43% 0.157 268.9)
XYZxyz(4.6552, 2.7242, 20.3550)
Luminance0.0272 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#15207F #7F7415
analogous
#15557F #15207F #3F157F
triadic
#15207F #7F1520 #207F15
tetradic
#15207F #7F1555 #7F7415 #157F3F
square
#15207F #7F1555 #7F7415 #157F3F
split-complementary
#15207F #7F3F15 #557F15
monochromatic
#04071A #0C134A #15207F #1E2DB4 #3143DD

Accessibility & contrast

On white

13.59
#15207F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#15207F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #15207F
13.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##15207F#FFFFFF#000000##FFFFFF
##15207F1.0013.591.5513.59
#FFFFFF13.591.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.591.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #15207f;
/* rgb */ color: rgb(21, 32, 127);
/* oklch */ color: oklch(31.4% 0.157 268.9);
Tailwind
colors: {
  custom: {
    50: '#685ca5',
    500: '#15207f',
    950: '#000000',
  },
}
SCSS
$custom: #15207f;
$custom-light: #685ca5;
$custom-dark: #000000;
JSON
{
  "hex": "#15207f",
  "rgb": {
    "r": 21,
    "g": 32,
    "b": 127
  },
  "hsl": {
    "h": 233.774,
    "s": 71.622,
    "l": 29.02
  },
  "oklch": {
    "l": 0.31428,
    "c": 0.15701,
    "h": 268.9
  },
  "luminance": 0.02725
}

Semantic roles & 50–950 ramp

primary
#15207F
secondary
#B4A83C
accent
#DC39EE
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#07040F
muted
#7A797F

Preview Lab

Preview with #15207F

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

Preview Lab → · Contrast checker → · Palette generator →

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