#15327C#15327C

#15327C is a dark, vivid blue. Relative luminance 0.039; OKLCH L 34.6% C 0.131 H 264.3°. Best body text is #FFFFFF at 11.80:1 contrast (WCAG AA passes).

Color values

HEX#15327C
RGBrgb(21, 50, 124)
HSLhsl(223, 71%, 28%)
HSVhsv(223, 83%, 49%)
CMYKcmyk(83.1%, 59.7%, 0%, 51.4%)
CIE-LABlab(23.32, 18.93, -45.03)
CIE-LCHlch(23.32, 48.85, 292.80°)
OKLaboklab(34.59% -0.0129 -0.1301)
OKLCHoklch(34.59% 0.131 264.3)
XYZxyz(5.0867, 3.8953, 19.5486)
Luminance0.0390 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#15327C #7C5F15
analogous
#15657C #15327C #2B157C
triadic
#15327C #7C1532 #327C15
tetradic
#15327C #7C1565 #7C5F15 #157C2B
square
#15327C #7C1565 #7C5F15 #157C2B
split-complementary
#15327C #7C2B15 #657C15
monochromatic
#040B1A #0C1D48 #15327C #1E47B0 #3060DC

Accessibility & contrast

On white

11.80
#15327C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #15327C
11.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##15327C#FFFFFF#000000##FFFFFF
##15327C1.0011.801.7811.80
#FFFFFF11.801.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.801.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #15327c;
/* rgb */ color: rgb(21, 50, 124);
/* oklch */ color: oklch(34.6% 0.131 264.3);
Tailwind
colors: {
  custom: {
    50: '#6569a3',
    500: '#15327c',
    950: '#000000',
  },
}
SCSS
$custom: #15327c;
$custom-light: #6569a3;
$custom-dark: #000000;
JSON
{
  "hex": "#15327c",
  "rgb": {
    "r": 21,
    "g": 50,
    "b": 124
  },
  "hsl": {
    "h": 223.107,
    "s": 71.034,
    "l": 28.431
  },
  "oklch": {
    "l": 0.34588,
    "c": 0.13073,
    "h": 264.3
  },
  "luminance": 0.03896
}

Semantic roles & 50–950 ramp

primary
#15327C
secondary
#B1903C
accent
#BB3AEE
background
#F6F6FA
surface
#EBEBF4
border
#C6C6CE
text
#07060F
muted
#7A7A7F

Preview Lab

Preview with #15327C

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

Preview Lab → · Contrast checker → · Palette generator →

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