#15247B#15247B

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

Color values

HEX#15247B
RGBrgb(21, 36, 123)
HSLhsl(231, 71%, 28%)
HSVhsv(231, 83%, 48%)
CMYKcmyk(82.9%, 70.7%, 0%, 51.8%)
CIE-LABlab(19.44, 28.33, -50.76)
CIE-LCHlch(19.44, 58.13, 299.17°)
OKLaboklab(31.68% -0.0045 -0.147)
OKLCHoklch(31.68% 0.147 268.2)
XYZxyz(4.5140, 2.8507, 19.0474)
Luminance0.0285 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#15247B #7B6C15
analogous
#15577B #15247B #39157B
triadic
#15247B #7B1524 #247B15
tetradic
#15247B #7B1557 #7B6C15 #157B39
square
#15247B #7B1557 #7B6C15 #157B39
split-complementary
#15247B #7B3915 #577B15
monochromatic
#04081A #0C1547 #15247B #1E33AF #2F48DB

Accessibility & contrast

On white

13.37
#15247B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#15247B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #15247B
13.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##15247B#FFFFFF#000000##FFFFFF
##15247B1.0013.371.5713.37
#FFFFFF13.371.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.371.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #15247b;
/* rgb */ color: rgb(21, 36, 123);
/* oklch */ color: oklch(31.7% 0.147 268.2);
Tailwind
colors: {
  custom: {
    50: '#665fa2',
    500: '#15247b',
    950: '#000000',
  },
}
SCSS
$custom: #15247b;
$custom-light: #665fa2;
$custom-dark: #000000;
JSON
{
  "hex": "#15247b",
  "rgb": {
    "r": 21,
    "g": 36,
    "b": 123
  },
  "hsl": {
    "h": 231.176,
    "s": 70.833,
    "l": 28.235
  },
  "oklch": {
    "l": 0.31684,
    "c": 0.14709,
    "h": 268.2
  },
  "luminance": 0.02851
}

Semantic roles & 50–950 ramp

primary
#15247B
secondary
#B09F3B
accent
#D33AEE
background
#F6F5FA
surface
#EBE9F4
border
#C6C5CE
text
#07040F
muted
#7A797F

Preview Lab

Preview with #15247B

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

Preview Lab → · Contrast checker → · Palette generator →

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