#15237B#15237B

#15237B is a dark, vivid blue. Relative luminance 0.028; OKLCH L 31.5% C 0.148 H 268.5°. Best body text is #FFFFFF at 13.48:1 contrast (WCAG AA passes).

Color values

HEX#15237B
RGBrgb(21, 35, 123)
HSLhsl(232, 71%, 28%)
HSVhsv(232, 83%, 48%)
CMYKcmyk(82.9%, 71.5%, 0%, 51.8%)
CIE-LABlab(19.19, 29.00, -51.17)
CIE-LCHlch(19.19, 58.82, 299.55°)
OKLaboklab(31.5% -0.004 -0.1482)
OKLCHoklch(31.5% 0.148 268.5)
XYZxyz(4.4842, 2.7910, 19.0374)
Luminance0.0279 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#15237B #7B6D15
analogous
#15567B #15237B #3A157B
triadic
#15237B #7B1523 #237B15
tetradic
#15237B #7B1556 #7B6D15 #157B3A
square
#15237B #7B1556 #7B6D15 #157B3A
split-complementary
#15237B #7B3A15 #567B15
monochromatic
#04071A #0C1447 #15237B #1E32AF #2F47DB

Accessibility & contrast

On white

13.48
#15237B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #15237B
13.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##15237B#FFFFFF#000000##FFFFFF
##15237B1.0013.481.5613.48
#FFFFFF13.481.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00347E
Deuteranopia (green-blind)
#002A79
Tritanopia (blue-blind)
#003B4C
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #15237b;
/* rgb */ color: rgb(21, 35, 123);
/* oklch */ color: oklch(31.5% 0.148 268.5);
Tailwind
colors: {
  custom: {
    50: '#675ea2',
    500: '#15237b',
    950: '#000000',
  },
}
SCSS
$custom: #15237b;
$custom-light: #675ea2;
$custom-dark: #000000;
JSON
{
  "hex": "#15237b",
  "rgb": {
    "r": 21,
    "g": 35,
    "b": 123
  },
  "hsl": {
    "h": 231.765,
    "s": 70.833,
    "l": 28.235
  },
  "oklch": {
    "l": 0.31503,
    "c": 0.14827,
    "h": 268.5
  },
  "luminance": 0.02792
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #15237B

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

Preview Lab → · Contrast checker → · Palette generator →

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