#15237E#15237E

#15237E is a dark, vivid blue. Relative luminance 0.029; OKLCH L 31.8% C 0.152 H 268.4°. Best body text is #FFFFFF at 13.35:1 contrast (WCAG AA passes).

Color values

HEX#15237E
RGBrgb(21, 35, 126)
HSLhsl(232, 71%, 29%)
HSVhsv(232, 83%, 49%)
CMYKcmyk(83.3%, 72.2%, 0%, 50.6%)
CIE-LABlab(19.50, 30.16, -52.55)
CIE-LCHlch(19.50, 60.59, 299.85°)
OKLaboklab(31.83% -0.0043 -0.1522)
OKLCHoklch(31.83% 0.152 268.4)
XYZxyz(4.6749, 2.8673, 20.0417)
Luminance0.0287 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#15237E #7E7015
analogous
#15587E #15237E #3C157E
triadic
#15237E #7E1523 #237E15
tetradic
#15237E #7E1558 #7E7015 #157E3C
square
#15237E #7E1558 #7E7015 #157E3C
split-complementary
#15237E #7E3C15 #587E15
monochromatic
#04071A #0C144A #15237E #1E32B2 #3148DD

Accessibility & contrast

On white

13.35
#15237E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#15237E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #15237E
13.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##15237E#FFFFFF#000000##FFFFFF
##15237E1.0013.351.5713.35
#FFFFFF13.351.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003481
Deuteranopia (green-blind)
#002A7C
Tritanopia (blue-blind)
#003C4D
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #15237e;
/* rgb */ color: rgb(21, 35, 126);
/* oklch */ color: oklch(31.8% 0.152 268.4);
Tailwind
colors: {
  custom: {
    50: '#675ea4',
    500: '#15237e',
    950: '#000000',
  },
}
SCSS
$custom: #15237e;
$custom-light: #675ea4;
$custom-dark: #000000;
JSON
{
  "hex": "#15237e",
  "rgb": {
    "r": 21,
    "g": 35,
    "b": 126
  },
  "hsl": {
    "h": 232,
    "s": 71.429,
    "l": 28.824
  },
  "oklch": {
    "l": 0.31829,
    "c": 0.15231,
    "h": 268.4
  },
  "luminance": 0.02868
}

Semantic roles & 50–950 ramp

primary
#15237E
secondary
#B3A33C
accent
#D63AEE
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#07040F
muted
#7A797F

Preview Lab

Preview with #15237E

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

Preview Lab → · Contrast checker → · Palette generator →

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