#24248A#24248A

#24248A is a dark, vivid blue. Relative luminance 0.035; OKLCH L 34.1% C 0.163 H 273.6°. Best body text is #FFFFFF at 12.39:1 contrast (WCAG AA passes).

Color values

HEX#24248A
RGBrgb(36, 36, 138)
HSLhsl(240, 59%, 34%)
HSVhsv(240, 74%, 54%)
CMYKcmyk(73.9%, 73.9%, 0%, 45.9%)
CIE-LABlab(21.84, 35.36, -56.23)
CIE-LCHlch(21.84, 66.43, 302.17°)
OKLaboklab(34.11% 0.0102 -0.1626)
OKLCHoklch(34.11% 0.163 273.6)
XYZxyz(5.9443, 3.4712, 24.3966)
Luminance0.0347 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24248A #8A8A24
analogous
#24578A #24248A #57248A
triadic
#24248A #8A2424 #248A24
tetradic
#24248A #8A2457 #8A8A24 #248A57
square
#24248A #8A2457 #8A8A24 #248A57
split-complementary
#24248A #8A5724 #578A24
monochromatic
#0B0B29 #171759 #24248A #3131BB #5656D3

Accessibility & contrast

On white

12.39
#24248A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#24248A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #24248A
12.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24248A#FFFFFF#000000##FFFFFF
##24248A1.0012.391.6912.39
#FFFFFF12.391.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00398D
Deuteranopia (green-blind)
#002F88
Tritanopia (blue-blind)
#004154
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #24248a;
/* rgb */ color: rgb(36, 36, 138);
/* oklch */ color: oklch(34.1% 0.163 273.6);
Tailwind
colors: {
  custom: {
    50: '#7060ad',
    500: '#24248a',
    950: '#000000',
  },
}
SCSS
$custom: #24248a;
$custom-light: #7060ad;
$custom-dark: #000000;
JSON
{
  "hex": "#24248a",
  "rgb": {
    "r": 36,
    "g": 36,
    "b": 138
  },
  "hsl": {
    "h": 240,
    "s": 58.621,
    "l": 34.118
  },
  "oklch": {
    "l": 0.34114,
    "c": 0.16297,
    "h": 273.6
  },
  "luminance": 0.03472
}

Semantic roles & 50–950 ramp

primary
#24248A
secondary
#B7B753
accent
#E246E2
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090510
muted
#7B797F

Preview Lab

Preview with #24248A

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

Preview Lab → · Contrast checker → · Palette generator →

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