#24198A#24198A

#24198A is a dark, vivid blue. Relative luminance 0.029; OKLCH L 32.6% C 0.174 H 275.1°. Best body text is #FFFFFF at 13.28:1 contrast (WCAG AA passes).

Color values

HEX#24198A
RGBrgb(36, 25, 138)
HSLhsl(246, 69%, 32%)
HSVhsv(246, 82%, 54%)
CMYKcmyk(73.9%, 81.9%, 0%, 45.9%)
CIE-LABlab(19.66, 41.56, -59.84)
CIE-LCHlch(19.66, 72.86, 304.78°)
OKLaboklab(32.58% 0.0155 -0.173)
OKLCHoklch(32.58% 0.174 275.1)
XYZxyz(5.6611, 2.9048, 24.3022)
Luminance0.0290 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24198A #7F8A19
analogous
#19468A #24198A #5D198A
triadic
#24198A #8A2419 #198A24
tetradic
#24198A #8A1946 #7F8A19 #198A5D
square
#24198A #8A1946 #7F8A19 #198A5D
split-complementary
#24198A #8A5D19 #468A19
monochromatic
#090622 #161056 #24198A #3222BE #5041DD

Accessibility & contrast

On white

13.28
#24198A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#24198A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #24198A
13.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24198A#FFFFFF#000000##FFFFFF
##24198A1.0013.281.5813.28
#FFFFFF13.281.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00348D
Deuteranopia (green-blind)
#002A88
Tritanopia (blue-blind)
#003C52
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #24198a;
/* rgb */ color: rgb(36, 25, 138);
/* oklch */ color: oklch(32.6% 0.174 275.1);
Tailwind
colors: {
  custom: {
    50: '#7159ad',
    500: '#24198a',
    950: '#000000',
  },
}
SCSS
$custom: #24198a;
$custom-light: #7159ad;
$custom-dark: #000000;
JSON
{
  "hex": "#24198a",
  "rgb": {
    "r": 36,
    "g": 25,
    "b": 138
  },
  "hsl": {
    "h": 245.841,
    "s": 69.325,
    "l": 31.961
  },
  "oklch": {
    "l": 0.32576,
    "c": 0.17372,
    "h": 275.1
  },
  "luminance": 0.02905
}

Semantic roles & 50–950 ramp

primary
#24198A
secondary
#B1BD42
accent
#EC3CDB
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090410
muted
#7B797F

Preview Lab

Preview with #24198A

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

Preview Lab → · Contrast checker → · Palette generator →

#24198A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva