#15327F#15327F

#15327F is a dark, vivid blue. Relative luminance 0.040; OKLCH L 34.9% C 0.135 H 264.6°. Best body text is #FFFFFF at 11.70:1 contrast (WCAG AA passes).

Color values

HEX#15327F
RGBrgb(21, 50, 127)
HSLhsl(224, 72%, 29%)
HSVhsv(224, 83%, 50%)
CMYKcmyk(83.5%, 60.6%, 0%, 50.2%)
CIE-LABlab(23.58, 20.17, -46.51)
CIE-LCHlch(23.58, 50.69, 293.45°)
OKLaboklab(34.86% -0.0128 -0.1344)
OKLCHoklch(34.86% 0.135 264.6)
XYZxyz(5.2793, 3.9723, 20.5630)
Luminance0.0397 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#15327F #7F6215
analogous
#15677F #15327F #2D157F
triadic
#15327F #7F1532 #327F15
tetradic
#15327F #7F1567 #7F6215 #157F2D
square
#15327F #7F1567 #7F6215 #157F2D
split-complementary
#15327F #7F2D15 #677F15
monochromatic
#040A1A #0C1D4A #15327F #1E47B4 #3160DD

Accessibility & contrast

On white

11.70
#15327F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #15327F
11.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##15327F#FFFFFF#000000##FFFFFF
##15327F1.0011.701.7911.70
#FFFFFF11.701.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D82
Deuteranopia (green-blind)
#00337E
Tritanopia (blue-blind)
#004653
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #15327f;
/* rgb */ color: rgb(21, 50, 127);
/* oklch */ color: oklch(34.9% 0.135 264.6);
Tailwind
colors: {
  custom: {
    50: '#6669a5',
    500: '#15327f',
    950: '#000000',
  },
}
SCSS
$custom: #15327f;
$custom-light: #6669a5;
$custom-dark: #000000;
JSON
{
  "hex": "#15327f",
  "rgb": {
    "r": 21,
    "g": 50,
    "b": 127
  },
  "hsl": {
    "h": 223.585,
    "s": 71.622,
    "l": 29.02
  },
  "oklch": {
    "l": 0.34861,
    "c": 0.13503,
    "h": 264.6
  },
  "luminance": 0.03973
}

Semantic roles & 50–950 ramp

primary
#15327F
secondary
#B4933C
accent
#BD39EE
background
#F6F6FA
surface
#EBEBF4
border
#C6C6CE
text
#07060F
muted
#7A7A7F

Preview Lab

Preview with #15327F

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

Preview Lab → · Contrast checker → · Palette generator →

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