#24198B#24198B

#24198B is a dark, vivid blue. Relative luminance 0.029; OKLCH L 32.7% C 0.175 H 275.0°. Best body text is #FFFFFF at 13.23:1 contrast (WCAG AA passes).

Color values

HEX#24198B
RGBrgb(36, 25, 139)
HSLhsl(246, 70%, 32%)
HSVhsv(246, 82%, 55%)
CMYKcmyk(74.1%, 82%, 0%, 45.5%)
CIE-LABlab(19.78, 41.89, -60.27)
CIE-LCHlch(19.78, 73.39, 304.80°)
OKLaboklab(32.69% 0.0153 -0.1743)
OKLCHoklch(32.69% 0.175 275)
XYZxyz(5.7338, 2.9338, 24.6852)
Luminance0.0293 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24198B #808B19
analogous
#19478B #24198B #5D198B
triadic
#24198B #8B2419 #198B24
tetradic
#24198B #8B1947 #808B19 #198B5D
square
#24198B #8B1947 #808B19 #198B5D
split-complementary
#24198B #8B5D19 #478B19
monochromatic
#090623 #171057 #24198B #3122BF #5041DD

Accessibility & contrast

On white

13.23
#24198B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#24198B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #24198B
13.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24198B#FFFFFF#000000##FFFFFF
##24198B1.0013.231.5913.23
#FFFFFF13.231.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00358E
Deuteranopia (green-blind)
#002B89
Tritanopia (blue-blind)
#003C52
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #24198b;
/* rgb */ color: rgb(36, 25, 139);
/* oklch */ color: oklch(32.7% 0.175 275.0);
Tailwind
colors: {
  custom: {
    50: '#7159ae',
    500: '#24198b',
    950: '#000000',
  },
}
SCSS
$custom: #24198b;
$custom-light: #7159ae;
$custom-dark: #000000;
JSON
{
  "hex": "#24198b",
  "rgb": {
    "r": 36,
    "g": 25,
    "b": 139
  },
  "hsl": {
    "h": 245.789,
    "s": 69.512,
    "l": 32.157
  },
  "oklch": {
    "l": 0.32693,
    "c": 0.17494,
    "h": 275
  },
  "luminance": 0.02934
}

Semantic roles & 50–950 ramp

primary
#24198B
secondary
#B2BE42
accent
#EC3BDB
background
#F7F5FA
surface
#EDE9F5
border
#C8C5CF
text
#090410
muted
#7B797F

Preview Lab

Preview with #24198B

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

Preview Lab → · Contrast checker → · Palette generator →

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