#15207B#15207B

#15207B is a dark, vivid blue. Relative luminance 0.026; OKLCH L 31.0% C 0.152 H 269.0°. Best body text is #FFFFFF at 13.77:1 contrast (WCAG AA passes).

Color values

HEX#15207B
RGBrgb(21, 32, 123)
HSLhsl(234, 71%, 28%)
HSVhsv(234, 83%, 48%)
CMYKcmyk(82.9%, 74%, 0%, 51.8%)
CIE-LABlab(18.46, 30.99, -52.36)
CIE-LCHlch(18.46, 60.84, 300.61°)
OKLaboklab(30.98% -0.0026 -0.1517)
OKLCHoklch(30.98% 0.152 269)
XYZxyz(4.3997, 2.6220, 19.0093)
Luminance0.0262 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#15207B #7B7015
analogous
#15537B #15207B #3D157B
triadic
#15207B #7B1520 #207B15
tetradic
#15207B #7B1553 #7B7015 #157B3D
square
#15207B #7B1553 #7B7015 #157B3D
split-complementary
#15207B #7B3D15 #537B15
monochromatic
#04071A #0C1247 #15207B #1E2EAF #2F42DB

Accessibility & contrast

On white

13.77
#15207B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#15207B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #15207B
13.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##15207B#FFFFFF#000000##FFFFFF
##15207B1.0013.771.5213.77
#FFFFFF13.771.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00327E
Deuteranopia (green-blind)
#002879
Tritanopia (blue-blind)
#003A4B
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #15207b;
/* rgb */ color: rgb(21, 32, 123);
/* oklch */ color: oklch(31.0% 0.152 269.0);
Tailwind
colors: {
  custom: {
    50: '#675ca2',
    500: '#15207b',
    950: '#000000',
  },
}
SCSS
$custom: #15207b;
$custom-light: #675ca2;
$custom-dark: #000000;
JSON
{
  "hex": "#15207b",
  "rgb": {
    "r": 21,
    "g": 32,
    "b": 123
  },
  "hsl": {
    "h": 233.529,
    "s": 70.833,
    "l": 28.235
  },
  "oklch": {
    "l": 0.30979,
    "c": 0.15172,
    "h": 269
  },
  "luminance": 0.02623
}

Semantic roles & 50–950 ramp

primary
#15207B
secondary
#B0A43B
accent
#DA3AEE
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#07040F
muted
#7A797F

Preview Lab

Preview with #15207B

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

Preview Lab → · Contrast checker → · Palette generator →

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