#24298D#24298D

#24298D is a dark, vivid blue. Relative luminance 0.039; OKLCH L 35.2% C 0.161 H 272.4°. Best body text is #FFFFFF at 11.82:1 contrast (WCAG AA passes).

Color values

HEX#24298D
RGBrgb(36, 41, 141)
HSLhsl(237, 59%, 35%)
HSVhsv(237, 74%, 55%)
CMYKcmyk(74.5%, 70.9%, 0%, 44.7%)
CIE-LABlab(23.28, 33.32, -55.73)
CIE-LCHlch(23.28, 64.93, 300.87°)
OKLaboklab(35.24% 0.0068 -0.1612)
OKLCHoklch(35.24% 0.161 272.4)
XYZxyz(6.3266, 3.8834, 25.6103)
Luminance0.0388 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24298D #8D8824
analogous
#245E8D #24298D #54248D
triadic
#24298D #8D2429 #298D24
tetradic
#24298D #8D245E #8D8824 #248D54
square
#24298D #8D245E #8D8824 #248D54
split-complementary
#24298D #8D5424 #5E8D24
monochromatic
#0B0D2B #181B5C #24298D #3037BE #575DD4

Accessibility & contrast

On white

11.82
#24298D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#24298D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #24298D
11.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24298D#FFFFFF#000000##FFFFFF
##24298D1.0011.821.7811.82
#FFFFFF11.821.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.821.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #24298d;
/* rgb */ color: rgb(36, 41, 141);
/* oklch */ color: oklch(35.2% 0.161 272.4);
Tailwind
colors: {
  custom: {
    50: '#7063af',
    500: '#24298d',
    950: '#000000',
  },
}
SCSS
$custom: #24298d;
$custom-light: #7063af;
$custom-dark: #000000;
JSON
{
  "hex": "#24298d",
  "rgb": {
    "r": 36,
    "g": 41,
    "b": 141
  },
  "hsl": {
    "h": 237.143,
    "s": 59.322,
    "l": 34.706
  },
  "oklch": {
    "l": 0.35242,
    "c": 0.16133,
    "h": 272.4
  },
  "luminance": 0.03884
}

Semantic roles & 50–950 ramp

primary
#24298D
secondary
#B8B454
accent
#DB45E3
background
#F7F5FA
surface
#EDEAF5
border
#C8C6CF
text
#090511
muted
#7B7980

Preview Lab

Preview with #24298D

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

Preview Lab → · Contrast checker → · Palette generator →

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