#24247A#24247A

#24247A is a dark, vivid blue. Relative luminance 0.030; OKLCH L 32.4% C 0.142 H 275.1°. Best body text is #FFFFFF at 13.06:1 contrast (WCAG AA passes).

Color values

HEX#24247A
RGBrgb(36, 36, 122)
HSLhsl(240, 54%, 31%)
HSVhsv(240, 70%, 48%)
CMYKcmyk(70.5%, 70.5%, 0%, 52.2%)
CIE-LABlab(20.21, 29.64, -48.82)
CIE-LCHlch(20.21, 57.11, 301.26°)
OKLaboklab(32.45% 0.0126 -0.141)
OKLCHoklch(32.45% 0.142 275.1)
XYZxyz(4.8701, 3.0415, 18.7390)
Luminance0.0304 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24247A #7A7A24
analogous
#244F7A #24247A #4F247A
triadic
#24247A #7A2424 #247A24
tetradic
#24247A #7A244F #7A7A24 #247A4F
square
#24247A #7A244F #7A7A24 #247A4F
split-complementary
#24247A #7A4F24 #4F7A24
monochromatic
#08081B #16164B #24247A #3232A9 #4E4ECB

Accessibility & contrast

On white

13.06
#24247A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#24247A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #24247A
13.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24247A#FFFFFF#000000##FFFFFF
##24247A1.0013.061.6113.06
#FFFFFF13.061.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00357D
Deuteranopia (green-blind)
#002D78
Tritanopia (blue-blind)
#003B4C
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #24247a;
/* rgb */ color: rgb(36, 36, 122);
/* oklch */ color: oklch(32.4% 0.142 275.1);
Tailwind
colors: {
  custom: {
    50: '#6c5fa1',
    500: '#24247a',
    950: '#000000',
  },
}
SCSS
$custom: #24247a;
$custom-light: #6c5fa1;
$custom-dark: #000000;
JSON
{
  "hex": "#24247a",
  "rgb": {
    "r": 36,
    "g": 36,
    "b": 122
  },
  "hsl": {
    "h": 240,
    "s": 54.43,
    "l": 30.98
  },
  "oklch": {
    "l": 0.32449,
    "c": 0.14155,
    "h": 275.1
  },
  "luminance": 0.03042
}

Semantic roles & 50–950 ramp

primary
#24247A
secondary
#ACAC4D
accent
#DE4ADE
background
#F6F5FA
surface
#ECE9F3
border
#C7C5CD
text
#08040F
muted
#7A797F

Preview Lab

Preview with #24247A

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

Preview Lab → · Contrast checker → · Palette generator →

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