#15325C#15325C

#15325C is a dark, moderate blue. Relative luminance 0.032; OKLCH L 31.9% C 0.083 H 257.9°. Best body text is #FFFFFF at 12.78:1 contrast (WCAG AA passes).

Color values

HEX#15325C
RGBrgb(21, 50, 92)
HSLhsl(215, 63%, 22%)
HSVhsv(215, 77%, 36%)
CMYKcmyk(77.2%, 45.7%, 0%, 63.9%)
CIE-LABlab(20.88, 5.48, -28.32)
CIE-LCHlch(20.88, 28.85, 280.96°)
OKLaboklab(31.95% -0.0173 -0.0809)
OKLCHoklch(31.95% 0.083 257.9)
XYZxyz(3.3809, 3.2130, 10.5651)
Luminance0.0321 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#15325C #5C3F15
analogous
#15565C #15325C #1C155C
triadic
#15325C #5C1532 #325C15
tetradic
#15325C #5C1556 #5C3F15 #155C1C
square
#15325C #5C1556 #5C3F15 #155C1C
split-complementary
#15325C #5C1C15 #565C15
monochromatic
#060E19 #0A172A #15325C #204D8E #2C68C0

Accessibility & contrast

On white

12.78
#15325C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#15325C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #15325C
12.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##15325C#FFFFFF#000000##FFFFFF
##15325C1.0012.781.6412.78
#FFFFFF12.781.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E365E
Deuteranopia (green-blind)
#112F5B
Tritanopia (blue-blind)
#003C42
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #15325c;
/* rgb */ color: rgb(21, 50, 92);
/* oklch */ color: oklch(31.9% 0.083 257.9);
Tailwind
colors: {
  custom: {
    50: '#5d698a',
    500: '#15325c',
    950: '#000000',
  },
}
SCSS
$custom: #15325c;
$custom-light: #5d698a;
$custom-dark: #000000;
JSON
{
  "hex": "#15325c",
  "rgb": {
    "r": 21,
    "g": 50,
    "b": 92
  },
  "hsl": {
    "h": 215.493,
    "s": 62.832,
    "l": 22.157
  },
  "oklch": {
    "l": 0.31947,
    "c": 0.08279,
    "h": 257.9
  },
  "luminance": 0.03213
}

Semantic roles & 50–950 ramp

primary
#15325C
secondary
#936F39
accent
#A342E6
background
#F5F6F8
surface
#E9EBF0
border
#C5C6CB
text
#05060C
muted
#797A7D

Preview Lab

Preview with #15325C

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

Preview Lab → · Contrast checker → · Palette generator →

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