#24298C#24298C

#24298C is a dark, vivid blue. Relative luminance 0.039; OKLCH L 35.1% C 0.160 H 272.5°. Best body text is #FFFFFF at 11.86:1 contrast (WCAG AA passes).

Color values

HEX#24298C
RGBrgb(36, 41, 140)
HSLhsl(237, 59%, 35%)
HSVhsv(237, 74%, 55%)
CMYKcmyk(74.3%, 70.7%, 0%, 45.1%)
CIE-LABlab(23.18, 32.95, -55.27)
CIE-LCHlch(23.18, 64.35, 300.80°)
OKLaboklab(35.14% 0.0069 -0.1598)
OKLCHoklch(35.14% 0.16 272.5)
XYZxyz(6.2525, 3.8538, 25.2202)
Luminance0.0385 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24298C #8C8724
analogous
#245D8C #24298C #53248C
triadic
#24298C #8C2429 #298C24
tetradic
#24298C #8C245D #8C8724 #248C53
square
#24298C #8C245D #8C8724 #248C53
split-complementary
#24298C #8C5324 #5D8C24
monochromatic
#0B0C2B #171B5B #24298C #3137BD #575DD4

Accessibility & contrast

On white

11.86
#24298C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#24298C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #24298C
11.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24298C#FFFFFF#000000##FFFFFF
##24298C1.0011.861.7711.86
#FFFFFF11.861.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C8F
Deuteranopia (green-blind)
#00328A
Tritanopia (blue-blind)
#004457
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #24298c;
/* rgb */ color: rgb(36, 41, 140);
/* oklch */ color: oklch(35.1% 0.160 272.5);
Tailwind
colors: {
  custom: {
    50: '#7063af',
    500: '#24298c',
    950: '#000000',
  },
}
SCSS
$custom: #24298c;
$custom-light: #7063af;
$custom-dark: #000000;
JSON
{
  "hex": "#24298c",
  "rgb": {
    "r": 36,
    "g": 41,
    "b": 140
  },
  "hsl": {
    "h": 237.115,
    "s": 59.091,
    "l": 34.51
  },
  "oklch": {
    "l": 0.3514,
    "c": 0.16,
    "h": 272.5
  },
  "luminance": 0.03854
}

Semantic roles & 50–950 ramp

primary
#24298C
secondary
#B8B354
accent
#DB46E2
background
#F7F5FA
surface
#EDEAF5
border
#C8C6CF
text
#090510
muted
#7B797F

Preview Lab

Preview with #24298C

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

Preview Lab → · Contrast checker → · Palette generator →

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