#15327D#15327D

#15327D is a dark, vivid blue. Relative luminance 0.039; OKLCH L 34.7% C 0.132 H 264.4°. Best body text is #FFFFFF at 11.77:1 contrast (WCAG AA passes).

Color values

HEX#15327D
RGBrgb(21, 50, 125)
HSLhsl(223, 71%, 29%)
HSVhsv(223, 83%, 49%)
CMYKcmyk(83.2%, 60%, 0%, 51%)
CIE-LABlab(23.41, 19.34, -45.52)
CIE-LCHlch(23.41, 49.46, 293.02°)
OKLaboklab(34.68% -0.0129 -0.1315)
OKLCHoklch(34.68% 0.132 264.4)
XYZxyz(5.1502, 3.9207, 19.8834)
Luminance0.0392 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#15327D #7D6015
analogous
#15667D #15327D #2C157D
triadic
#15327D #7D1532 #327D15
tetradic
#15327D #7D1566 #7D6015 #157D2C
square
#15327D #7D1566 #7D6015 #157D2C
split-complementary
#15327D #7D2C15 #667D15
monochromatic
#040A1A #0C1D49 #15327D #1E47B1 #3060DC

Accessibility & contrast

On white

11.77
#15327D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#15327D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #15327D
11.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##15327D#FFFFFF#000000##FFFFFF
##15327D1.0011.771.7811.77
#FFFFFF11.771.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D80
Deuteranopia (green-blind)
#00337C
Tritanopia (blue-blind)
#004552
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #15327d;
/* rgb */ color: rgb(21, 50, 125);
/* oklch */ color: oklch(34.7% 0.132 264.4);
Tailwind
colors: {
  custom: {
    50: '#6669a3',
    500: '#15327d',
    950: '#000000',
  },
}
SCSS
$custom: #15327d;
$custom-light: #6669a3;
$custom-dark: #000000;
JSON
{
  "hex": "#15327d",
  "rgb": {
    "r": 21,
    "g": 50,
    "b": 125
  },
  "hsl": {
    "h": 223.269,
    "s": 71.233,
    "l": 28.627
  },
  "oklch": {
    "l": 0.34678,
    "c": 0.13217,
    "h": 264.4
  },
  "luminance": 0.03921
}

Semantic roles & 50–950 ramp

primary
#15327D
secondary
#B2913C
accent
#BC3AEE
background
#F6F6FA
surface
#EBEBF4
border
#C6C6CE
text
#07060F
muted
#7A7A7F

Preview Lab

Preview with #15327D

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

Preview Lab → · Contrast checker → · Palette generator →

#15327D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva