#15247C#15247C

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

Color values

HEX#15247C
RGBrgb(21, 36, 124)
HSLhsl(231, 71%, 28%)
HSVhsv(231, 83%, 49%)
CMYKcmyk(83.1%, 71%, 0%, 51.4%)
CIE-LABlab(19.54, 28.72, -51.22)
CIE-LCHlch(19.54, 58.73, 299.28°)
OKLaboklab(31.79% -0.0046 -0.1484)
OKLCHoklch(31.79% 0.148 268.2)
XYZxyz(4.5770, 2.8759, 19.3787)
Luminance0.0288 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#15247C #7C6D15
analogous
#15577C #15247C #39157C
triadic
#15247C #7C1524 #247C15
tetradic
#15247C #7C1557 #7C6D15 #157C39
square
#15247C #7C1557 #7C6D15 #157C39
split-complementary
#15247C #7C3915 #577C15
monochromatic
#04081A #0C1548 #15247C #1E33B0 #3049DC

Accessibility & contrast

On white

13.33
#15247C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#15247C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #15247C
13.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##15247C#FFFFFF#000000##FFFFFF
##15247C1.0013.331.5813.33
#FFFFFF13.331.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.331.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #15247c;
/* rgb */ color: rgb(21, 36, 124);
/* oklch */ color: oklch(31.8% 0.148 268.2);
Tailwind
colors: {
  custom: {
    50: '#675fa3',
    500: '#15247c',
    950: '#000000',
  },
}
SCSS
$custom: #15247c;
$custom-light: #675fa3;
$custom-dark: #000000;
JSON
{
  "hex": "#15247c",
  "rgb": {
    "r": 21,
    "g": 36,
    "b": 124
  },
  "hsl": {
    "h": 231.262,
    "s": 71.034,
    "l": 28.431
  },
  "oklch": {
    "l": 0.31791,
    "c": 0.14845,
    "h": 268.2
  },
  "luminance": 0.02876
}

Semantic roles & 50–950 ramp

primary
#15247C
secondary
#B1A03C
accent
#D43AEE
background
#F6F5FA
surface
#EBE9F4
border
#C6C5CE
text
#07040F
muted
#7A797F

Preview Lab

Preview with #15247C

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

Preview Lab → · Contrast checker → · Palette generator →

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