#24298F#24298F

#24298F is a dark, vivid blue. Relative luminance 0.039; OKLCH L 35.4% C 0.164 H 272.3°. Best body text is #FFFFFF at 11.74:1 contrast (WCAG AA passes).

Color values

HEX#24298F
RGBrgb(36, 41, 143)
HSLhsl(237, 60%, 35%)
HSVhsv(237, 75%, 56%)
CMYKcmyk(74.8%, 71.3%, 0%, 43.9%)
CIE-LABlab(23.48, 34.04, -56.64)
CIE-LCHlch(23.48, 66.08, 301.00°)
OKLaboklab(35.45% 0.0065 -0.1638)
OKLCHoklch(35.45% 0.164 272.3)
XYZxyz(6.4767, 3.9435, 26.4011)
Luminance0.0394 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24298F #8F8A24
analogous
#245F8F #24298F #54248F
triadic
#24298F #8F2429 #298F24
tetradic
#24298F #8F245F #8F8A24 #248F54
square
#24298F #8F245F #8F8A24 #248F54
split-complementary
#24298F #8F5424 #5F8F24
monochromatic
#0B0D2D #181B5E #24298F #3037C0 #585ED5

Accessibility & contrast

On white

11.74
#24298F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#24298F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #24298F
11.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24298F#FFFFFF#000000##FFFFFF
##24298F1.0011.741.7911.74
#FFFFFF11.741.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D92
Deuteranopia (green-blind)
#00338D
Tritanopia (blue-blind)
#004559
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #24298f;
/* rgb */ color: rgb(36, 41, 143);
/* oklch */ color: oklch(35.4% 0.164 272.3);
Tailwind
colors: {
  custom: {
    50: '#7063b1',
    500: '#24298f',
    950: '#000000',
  },
}
SCSS
$custom: #24298f;
$custom-light: #7063b1;
$custom-dark: #000000;
JSON
{
  "hex": "#24298f",
  "rgb": {
    "r": 36,
    "g": 41,
    "b": 143
  },
  "hsl": {
    "h": 237.196,
    "s": 59.777,
    "l": 35.098
  },
  "oklch": {
    "l": 0.35448,
    "c": 0.16397,
    "h": 272.3
  },
  "luminance": 0.03944
}

Semantic roles & 50–950 ramp

primary
#24298F
secondary
#B9B555
accent
#DC45E3
background
#F7F5FB
surface
#EDEAF6
border
#C8C6D0
text
#090511
muted
#7B7980

Preview Lab

Preview with #24298F

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

Preview Lab → · Contrast checker → · Palette generator →

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