#15327B#15327B

#15327B is a dark, vivid blue. Relative luminance 0.039; OKLCH L 34.5% C 0.129 H 264.2°. Best body text is #FFFFFF at 11.84:1 contrast (WCAG AA passes).

Color values

HEX#15327B
RGBrgb(21, 50, 123)
HSLhsl(223, 71%, 28%)
HSVhsv(223, 83%, 48%)
CMYKcmyk(82.9%, 59.3%, 0%, 51.8%)
CIE-LABlab(23.24, 18.52, -44.54)
CIE-LCHlch(23.24, 48.23, 292.58°)
OKLaboklab(34.5% -0.013 -0.1286)
OKLCHoklch(34.5% 0.129 264.2)
XYZxyz(5.0237, 3.8701, 19.2173)
Luminance0.0387 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#15327B #7B5E15
analogous
#15657B #15327B #2B157B
triadic
#15327B #7B1532 #327B15
tetradic
#15327B #7B1565 #7B5E15 #157B2B
square
#15327B #7B1565 #7B5E15 #157B2B
split-complementary
#15327B #7B2B15 #657B15
monochromatic
#040B1A #0C1D47 #15327B #1E47AF #2F60DB

Accessibility & contrast

On white

11.84
#15327B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#15327B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #15327B
11.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##15327B#FFFFFF#000000##FFFFFF
##15327B1.0011.841.7711.84
#FFFFFF11.841.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C7D
Deuteranopia (green-blind)
#00337A
Tritanopia (blue-blind)
#004451
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #15327b;
/* rgb */ color: rgb(21, 50, 123);
/* oklch */ color: oklch(34.5% 0.129 264.2);
Tailwind
colors: {
  custom: {
    50: '#6569a2',
    500: '#15327b',
    950: '#000000',
  },
}
SCSS
$custom: #15327b;
$custom-light: #6569a2;
$custom-dark: #000000;
JSON
{
  "hex": "#15327b",
  "rgb": {
    "r": 21,
    "g": 50,
    "b": 123
  },
  "hsl": {
    "h": 222.941,
    "s": 70.833,
    "l": 28.235
  },
  "oklch": {
    "l": 0.34497,
    "c": 0.12929,
    "h": 264.2
  },
  "luminance": 0.03871
}

Semantic roles & 50–950 ramp

primary
#15327B
secondary
#B08F3B
accent
#BB3AEE
background
#F6F6FA
surface
#EBEBF3
border
#C6C6CD
text
#07060F
muted
#7A7A7F

Preview Lab

Preview with #15327B

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

Preview Lab → · Contrast checker → · Palette generator →

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