#15327A#15327A

#15327A is a dark, vivid blue. Relative luminance 0.038; OKLCH L 34.4% C 0.128 H 264.1°. Best body text is #FFFFFF at 11.87:1 contrast (WCAG AA passes).

Color values

HEX#15327A
RGBrgb(21, 50, 122)
HSLhsl(223, 71%, 28%)
HSVhsv(223, 83%, 48%)
CMYKcmyk(82.8%, 59%, 0%, 52.2%)
CIE-LABlab(23.15, 18.10, -44.04)
CIE-LCHlch(23.15, 47.62, 292.35°)
OKLaboklab(34.41% -0.0131 -0.1272)
OKLCHoklch(34.41% 0.128 264.1)
XYZxyz(4.9615, 3.8452, 18.8893)
Luminance0.0385 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#15327A #7A5D15
analogous
#15647A #15327A #2A157A
triadic
#15327A #7A1532 #327A15
tetradic
#15327A #7A1564 #7A5D15 #157A2A
square
#15327A #7A1564 #7A5D15 #157A2A
split-complementary
#15327A #7A2A15 #647A15
monochromatic
#040B1A #0C1D46 #15327A #1E47AE #2E60DB

Accessibility & contrast

On white

11.87
#15327A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #15327A
11.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##15327A#FFFFFF#000000##FFFFFF
##15327A1.0011.871.7711.87
#FFFFFF11.871.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C7C
Deuteranopia (green-blind)
#003379
Tritanopia (blue-blind)
#004450
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #15327a;
/* rgb */ color: rgb(21, 50, 122);
/* oklch */ color: oklch(34.4% 0.128 264.1);
Tailwind
colors: {
  custom: {
    50: '#6569a1',
    500: '#15327a',
    950: '#000000',
  },
}
SCSS
$custom: #15327a;
$custom-light: #6569a1;
$custom-dark: #000000;
JSON
{
  "hex": "#15327a",
  "rgb": {
    "r": 21,
    "g": 50,
    "b": 122
  },
  "hsl": {
    "h": 222.772,
    "s": 70.629,
    "l": 28.039
  },
  "oklch": {
    "l": 0.34407,
    "c": 0.12785,
    "h": 264.1
  },
  "luminance": 0.03846
}

Semantic roles & 50–950 ramp

primary
#15327A
secondary
#AF8E3B
accent
#BA3AED
background
#F6F6FA
surface
#EBEBF3
border
#C6C6CD
text
#06060F
muted
#7A7A7F

Preview Lab

Preview with #15327A

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

Preview Lab → · Contrast checker → · Palette generator →

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