#15247F#15247F

#15247F is a dark, vivid blue. Relative luminance 0.030; OKLCH L 32.1% C 0.152 H 268.2°. Best body text is #FFFFFF at 13.20:1 contrast (WCAG AA passes).

Color values

HEX#15247F
RGBrgb(21, 36, 127)
HSLhsl(232, 72%, 29%)
HSVhsv(232, 83%, 50%)
CMYKcmyk(83.5%, 71.7%, 0%, 50.2%)
CIE-LABlab(19.85, 29.88, -52.61)
CIE-LCHlch(19.85, 60.50, 299.59°)
OKLaboklab(32.11% -0.0049 -0.1524)
OKLCHoklch(32.11% 0.153 268.2)
XYZxyz(4.7696, 2.9529, 20.3932)
Luminance0.0295 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#15247F #7F7015
analogous
#15597F #15247F #3B157F
triadic
#15247F #7F1524 #247F15
tetradic
#15247F #7F1559 #7F7015 #157F3B
square
#15247F #7F1559 #7F7015 #157F3B
split-complementary
#15247F #7F3B15 #597F15
monochromatic
#04071A #0C154A #15247F #1E33B4 #314ADD

Accessibility & contrast

On white

13.20
#15247F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #15247F
13.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##15247F#FFFFFF#000000##FFFFFF
##15247F1.0013.201.5913.20
#FFFFFF13.201.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.201.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #15247f;
/* rgb */ color: rgb(21, 36, 127);
/* oklch */ color: oklch(32.1% 0.152 268.2);
Tailwind
colors: {
  custom: {
    50: '#685fa5',
    500: '#15247f',
    950: '#000000',
  },
}
SCSS
$custom: #15247f;
$custom-light: #685fa5;
$custom-dark: #000000;
JSON
{
  "hex": "#15247f",
  "rgb": {
    "r": 21,
    "g": 36,
    "b": 127
  },
  "hsl": {
    "h": 231.509,
    "s": 71.622,
    "l": 29.02
  },
  "oklch": {
    "l": 0.32114,
    "c": 0.1525,
    "h": 268.2
  },
  "luminance": 0.02953
}

Semantic roles & 50–950 ramp

primary
#15247F
secondary
#B4A33C
accent
#D539EE
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#07040F
muted
#7A797F

Preview Lab

Preview with #15247F

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

Preview Lab → · Contrast checker → · Palette generator →

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