#24248E#24248E

#24248E is a dark, vivid blue. Relative luminance 0.036; OKLCH L 34.5% C 0.168 H 273.2°. Best body text is #FFFFFF at 12.22:1 contrast (WCAG AA passes).

Color values

HEX#24248E
RGBrgb(36, 36, 142)
HSLhsl(240, 60%, 35%)
HSVhsv(240, 75%, 56%)
CMYKcmyk(74.6%, 74.6%, 0%, 44.3%)
CIE-LABlab(22.26, 36.77, -58.03)
CIE-LCHlch(22.26, 68.70, 302.36°)
OKLaboklab(34.54% 0.0095 -0.1679)
OKLCHoklch(34.54% 0.168 273.2)
XYZxyz(6.2393, 3.5892, 25.9499)
Luminance0.0359 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24248E #8E8E24
analogous
#24598E #24248E #59248E
triadic
#24248E #8E2424 #248E24
tetradic
#24248E #8E2459 #8E8E24 #248E59
square
#24248E #8E2459 #8E8E24 #248E59
split-complementary
#24248E #8E5924 #598E24
monochromatic
#0B0B2C #18185D #24248E #3030BF #5858D5

Accessibility & contrast

On white

12.22
#24248E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#24248E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #24248E
12.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24248E#FFFFFF#000000##FFFFFF
##24248E1.0012.221.7212.22
#FFFFFF12.221.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A91
Deuteranopia (green-blind)
#00308C
Tritanopia (blue-blind)
#004257
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #24248e;
/* rgb */ color: rgb(36, 36, 142);
/* oklch */ color: oklch(34.5% 0.168 273.2);
Tailwind
colors: {
  custom: {
    50: '#7160b0',
    500: '#24248e',
    950: '#000000',
  },
}
SCSS
$custom: #24248e;
$custom-light: #7160b0;
$custom-dark: #000000;
JSON
{
  "hex": "#24248e",
  "rgb": {
    "r": 36,
    "g": 36,
    "b": 142
  },
  "hsl": {
    "h": 240,
    "s": 59.551,
    "l": 34.902
  },
  "oklch": {
    "l": 0.34543,
    "c": 0.16815,
    "h": 273.2
  },
  "luminance": 0.0359
}

Semantic roles & 50–950 ramp

primary
#24248E
secondary
#B9B955
accent
#E345E3
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090511
muted
#7B7980

Preview Lab

Preview with #24248E

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

Preview Lab → · Contrast checker → · Palette generator →

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