#24298B#24298B

#24298B is a dark, vivid blue. Relative luminance 0.038; OKLCH L 35.0% C 0.159 H 272.5°. Best body text is #FFFFFF at 11.90:1 contrast (WCAG AA passes).

Color values

HEX#24298B
RGBrgb(36, 41, 139)
HSLhsl(237, 59%, 34%)
HSVhsv(237, 74%, 55%)
CMYKcmyk(74.1%, 70.5%, 0%, 45.5%)
CIE-LABlab(23.08, 32.59, -54.81)
CIE-LCHlch(23.08, 63.77, 300.73°)
OKLaboklab(35.04% 0.007 -0.1585)
OKLCHoklch(35.04% 0.159 272.5)
XYZxyz(6.1791, 3.8244, 24.8336)
Luminance0.0382 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24298B #8B8624
analogous
#245D8B #24298B #53248B
triadic
#24298B #8B2429 #298B24
tetradic
#24298B #8B245D #8B8624 #248B53
square
#24298B #8B245D #8B8624 #248B53
split-complementary
#24298B #8B5324 #5D8B24
monochromatic
#0B0C2A #171B5A #24298B #3137BC #565CD3

Accessibility & contrast

On white

11.90
#24298B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #24298B
11.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24298B#FFFFFF#000000##FFFFFF
##24298B1.0011.901.7711.90
#FFFFFF11.901.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C8E
Deuteranopia (green-blind)
#003289
Tritanopia (blue-blind)
#004456
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #24298b;
/* rgb */ color: rgb(36, 41, 139);
/* oklch */ color: oklch(35.0% 0.159 272.5);
Tailwind
colors: {
  custom: {
    50: '#6f63ae',
    500: '#24298b',
    950: '#000000',
  },
}
SCSS
$custom: #24298b;
$custom-light: #6f63ae;
$custom-dark: #000000;
JSON
{
  "hex": "#24298b",
  "rgb": {
    "r": 36,
    "g": 41,
    "b": 139
  },
  "hsl": {
    "h": 237.087,
    "s": 58.857,
    "l": 34.314
  },
  "oklch": {
    "l": 0.35037,
    "c": 0.15867,
    "h": 272.5
  },
  "luminance": 0.03825
}

Semantic roles & 50–950 ramp

primary
#24298B
secondary
#B7B353
accent
#DA46E2
background
#F7F5FA
surface
#EDEAF4
border
#C8C6CE
text
#080510
muted
#7B797F

Preview Lab

Preview with #24298B

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

Preview Lab → · Contrast checker → · Palette generator →

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