#15237C#15237C

#15237C is a dark, vivid blue. Relative luminance 0.028; OKLCH L 31.6% C 0.150 H 268.4°. Best body text is #FFFFFF at 13.43:1 contrast (WCAG AA passes).

Color values

HEX#15237C
RGBrgb(21, 35, 124)
HSLhsl(232, 71%, 28%)
HSVhsv(232, 83%, 49%)
CMYKcmyk(83.1%, 71.8%, 0%, 51.4%)
CIE-LABlab(19.29, 29.39, -51.63)
CIE-LCHlch(19.29, 59.41, 299.65°)
OKLaboklab(31.61% -0.0041 -0.1496)
OKLCHoklch(31.61% 0.15 268.4)
XYZxyz(4.5471, 2.8162, 19.3688)
Luminance0.0282 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#15237C #7C6E15
analogous
#15567C #15237C #3A157C
triadic
#15237C #7C1523 #237C15
tetradic
#15237C #7C1556 #7C6E15 #157C3A
square
#15237C #7C1556 #7C6E15 #157C3A
split-complementary
#15237C #7C3A15 #567C15
monochromatic
#04071A #0C1448 #15237C #1E32B0 #3047DC

Accessibility & contrast

On white

13.43
#15237C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#15237C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #15237C
13.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##15237C#FFFFFF#000000##FFFFFF
##15237C1.0013.431.5613.43
#FFFFFF13.431.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00347F
Deuteranopia (green-blind)
#002A7A
Tritanopia (blue-blind)
#003C4C
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #15237c;
/* rgb */ color: rgb(21, 35, 124);
/* oklch */ color: oklch(31.6% 0.150 268.4);
Tailwind
colors: {
  custom: {
    50: '#675ea3',
    500: '#15237c',
    950: '#000000',
  },
}
SCSS
$custom: #15237c;
$custom-light: #675ea3;
$custom-dark: #000000;
JSON
{
  "hex": "#15237c",
  "rgb": {
    "r": 21,
    "g": 35,
    "b": 124
  },
  "hsl": {
    "h": 231.845,
    "s": 71.034,
    "l": 28.431
  },
  "oklch": {
    "l": 0.31611,
    "c": 0.14963,
    "h": 268.4
  },
  "luminance": 0.02817
}

Semantic roles & 50–950 ramp

primary
#15237C
secondary
#B1A13C
accent
#D53AEE
background
#F6F5FA
surface
#EBE9F4
border
#C6C5CE
text
#07040F
muted
#7A797F

Preview Lab

Preview with #15237C

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

Preview Lab → · Contrast checker → · Palette generator →

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