#15247E#15247E

#15247E is a dark, vivid blue. Relative luminance 0.029; OKLCH L 32.0% C 0.151 H 268.2°. Best body text is #FFFFFF at 13.24:1 contrast (WCAG AA passes).

Color values

HEX#15247E
RGBrgb(21, 36, 126)
HSLhsl(231, 71%, 29%)
HSVhsv(231, 83%, 49%)
CMYKcmyk(83.3%, 71.4%, 0%, 50.6%)
CIE-LABlab(19.75, 29.49, -52.15)
CIE-LCHlch(19.75, 59.91, 299.49°)
OKLaboklab(32.01% -0.0048 -0.1511)
OKLCHoklch(32.01% 0.151 268.2)
XYZxyz(4.7047, 2.9270, 20.0516)
Luminance0.0293 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#15247E #7E6F15
analogous
#15597E #15247E #3B157E
triadic
#15247E #7E1524 #247E15
tetradic
#15247E #7E1559 #7E6F15 #157E3B
square
#15247E #7E1559 #7E6F15 #157E3B
split-complementary
#15247E #7E3B15 #597E15
monochromatic
#04071A #0C154A #15247E #1E33B2 #3149DD

Accessibility & contrast

On white

13.24
#15247E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#15247E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #15247E
13.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##15247E#FFFFFF#000000##FFFFFF
##15247E1.0013.241.5913.24
#FFFFFF13.241.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003581
Deuteranopia (green-blind)
#002B7C
Tritanopia (blue-blind)
#003D4E
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #15247e;
/* rgb */ color: rgb(21, 36, 126);
/* oklch */ color: oklch(32.0% 0.151 268.2);
Tailwind
colors: {
  custom: {
    50: '#675fa4',
    500: '#15247e',
    950: '#000000',
  },
}
SCSS
$custom: #15247e;
$custom-light: #675fa4;
$custom-dark: #000000;
JSON
{
  "hex": "#15247e",
  "rgb": {
    "r": 21,
    "g": 36,
    "b": 126
  },
  "hsl": {
    "h": 231.429,
    "s": 71.429,
    "l": 28.824
  },
  "oklch": {
    "l": 0.32006,
    "c": 0.15116,
    "h": 268.2
  },
  "luminance": 0.02928
}

Semantic roles & 50–950 ramp

primary
#15247E
secondary
#B3A23C
accent
#D43AEE
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#07040F
muted
#7A797F

Preview Lab

Preview with #15247E

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

Preview Lab → · Contrast checker → · Palette generator →

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