#24248F#24248F

#24248F is a dark, vivid blue. Relative luminance 0.036; OKLCH L 34.7% C 0.169 H 273.1°. Best body text is #FFFFFF at 12.18:1 contrast (WCAG AA passes).

Color values

HEX#24248F
RGBrgb(36, 36, 143)
HSLhsl(240, 60%, 35%)
HSVhsv(240, 75%, 56%)
CMYKcmyk(74.8%, 74.8%, 0%, 43.9%)
CIE-LABlab(22.37, 37.12, -58.47)
CIE-LCHlch(22.37, 69.26, 302.41°)
OKLaboklab(34.65% 0.0093 -0.1692)
OKLCHoklch(34.65% 0.169 273.1)
XYZxyz(6.3147, 3.6193, 26.3471)
Luminance0.0362 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24248F #8F8F24
analogous
#24598F #24248F #59248F
triadic
#24248F #8F2424 #248F24
tetradic
#24248F #8F2459 #8F8F24 #248F59
square
#24248F #8F2459 #8F8F24 #248F59
split-complementary
#24248F #8F5924 #598F24
monochromatic
#0B0B2D #18185E #24248F #3030C0 #5858D5

Accessibility & contrast

On white

12.18
#24248F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #24248F
12.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24248F#FFFFFF#000000##FFFFFF
##24248F1.0012.181.7212.18
#FFFFFF12.181.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B92
Deuteranopia (green-blind)
#00308D
Tritanopia (blue-blind)
#004357
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #24248f;
/* rgb */ color: rgb(36, 36, 143);
/* oklch */ color: oklch(34.7% 0.169 273.1);
Tailwind
colors: {
  custom: {
    50: '#7160b1',
    500: '#24248f',
    950: '#000000',
  },
}
SCSS
$custom: #24248f;
$custom-light: #7160b1;
$custom-dark: #000000;
JSON
{
  "hex": "#24248f",
  "rgb": {
    "r": 36,
    "g": 36,
    "b": 143
  },
  "hsl": {
    "h": 240,
    "s": 59.777,
    "l": 35.098
  },
  "oklch": {
    "l": 0.34651,
    "c": 0.16942,
    "h": 273.1
  },
  "luminance": 0.0362
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #24248F

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

Preview Lab → · Contrast checker → · Palette generator →

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