#15327E#15327E

#15327E is a dark, vivid blue. Relative luminance 0.039; OKLCH L 34.8% C 0.134 H 264.5°. Best body text is #FFFFFF at 11.74:1 contrast (WCAG AA passes).

Color values

HEX#15327E
RGBrgb(21, 50, 126)
HSLhsl(223, 71%, 29%)
HSVhsv(223, 83%, 49%)
CMYKcmyk(83.3%, 60.3%, 0%, 50.6%)
CIE-LABlab(23.49, 19.76, -46.02)
CIE-LCHlch(23.49, 50.08, 293.24°)
OKLaboklab(34.77% -0.0128 -0.133)
OKLCHoklch(34.77% 0.134 264.5)
XYZxyz(5.2144, 3.9464, 20.2215)
Luminance0.0395 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#15327E #7E6115
analogous
#15677E #15327E #2D157E
triadic
#15327E #7E1532 #327E15
tetradic
#15327E #7E1567 #7E6115 #157E2D
square
#15327E #7E1567 #7E6115 #157E2D
split-complementary
#15327E #7E2D15 #677E15
monochromatic
#040A1A #0C1D4A #15327E #1E47B2 #3160DD

Accessibility & contrast

On white

11.74
#15327E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#15327E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #15327E
11.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##15327E#FFFFFF#000000##FFFFFF
##15327E1.0011.741.7911.74
#FFFFFF11.741.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D81
Deuteranopia (green-blind)
#00337D
Tritanopia (blue-blind)
#004553
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #15327e;
/* rgb */ color: rgb(21, 50, 126);
/* oklch */ color: oklch(34.8% 0.134 264.5);
Tailwind
colors: {
  custom: {
    50: '#6669a4',
    500: '#15327e',
    950: '#000000',
  },
}
SCSS
$custom: #15327e;
$custom-light: #6669a4;
$custom-dark: #000000;
JSON
{
  "hex": "#15327e",
  "rgb": {
    "r": 21,
    "g": 50,
    "b": 126
  },
  "hsl": {
    "h": 223.429,
    "s": 71.429,
    "l": 28.824
  },
  "oklch": {
    "l": 0.3477,
    "c": 0.1336,
    "h": 264.5
  },
  "luminance": 0.03947
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #15327E

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

Preview Lab → · Contrast checker → · Palette generator →

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