#24247E#24247E

#24247E is a dark, vivid blue. Relative luminance 0.031; OKLCH L 32.9% C 0.147 H 274.7°. Best body text is #FFFFFF at 12.89:1 contrast (WCAG AA passes).

Color values

HEX#24247E
RGBrgb(36, 36, 126)
HSLhsl(240, 56%, 32%)
HSVhsv(240, 71%, 49%)
CMYKcmyk(71.4%, 71.4%, 0%, 50.6%)
CIE-LABlab(20.61, 31.09, -50.71)
CIE-LCHlch(20.61, 59.48, 301.51°)
OKLaboklab(32.86% 0.0121 -0.1465)
OKLCHoklch(32.86% 0.147 274.7)
XYZxyz(5.1231, 3.1427, 20.0712)
Luminance0.0314 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24247E #7E7E24
analogous
#24517E #24247E #51247E
triadic
#24247E #7E2424 #247E24
tetradic
#24247E #7E2451 #7E7E24 #247E51
square
#24247E #7E2451 #7E7E24 #247E51
split-complementary
#24247E #7E5124 #517E24
monochromatic
#09091F #16164E #24247E #3232AE #5050CD

Accessibility & contrast

On white

12.89
#24247E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#24247E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #24247E
12.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24247E#FFFFFF#000000##FFFFFF
##24247E1.0012.891.6312.89
#FFFFFF12.891.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003681
Deuteranopia (green-blind)
#002D7C
Tritanopia (blue-blind)
#003C4E
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #24247e;
/* rgb */ color: rgb(36, 36, 126);
/* oklch */ color: oklch(32.9% 0.147 274.7);
Tailwind
colors: {
  custom: {
    50: '#6d5fa4',
    500: '#24247e',
    950: '#000000',
  },
}
SCSS
$custom: #24247e;
$custom-light: #6d5fa4;
$custom-dark: #000000;
JSON
{
  "hex": "#24247e",
  "rgb": {
    "r": 36,
    "g": 36,
    "b": 126
  },
  "hsl": {
    "h": 240,
    "s": 55.556,
    "l": 31.765
  },
  "oklch": {
    "l": 0.32857,
    "c": 0.14701,
    "h": 274.7
  },
  "luminance": 0.03143
}

Semantic roles & 50–950 ramp

primary
#24247E
secondary
#B0B04E
accent
#DF49DF
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08040F
muted
#7B797F

Preview Lab

Preview with #24247E

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

Preview Lab → · Contrast checker → · Palette generator →

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