#24199C#24199C

#24199C is a dark, vivid blue. Relative luminance 0.035; OKLCH L 34.7% C 0.195 H 273.1°. Best body text is #FFFFFF at 12.40:1 contrast (WCAG AA passes).

Color values

HEX#24199C
RGBrgb(36, 25, 156)
HSLhsl(245, 72%, 35%)
HSVhsv(245, 84%, 61%)
CMYKcmyk(76.9%, 84%, 0%, 38.8%)
CIE-LABlab(21.84, 47.24, -67.38)
CIE-LCHlch(21.84, 82.29, 305.03°)
OKLaboklab(34.71% 0.0107 -0.1949)
OKLCHoklch(34.71% 0.195 273.1)
XYZxyz(7.0739, 3.4699, 31.7430)
Luminance0.0347 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24199C #919C19
analogous
#194F9C #24199C #65199C
triadic
#24199C #9C2419 #199C24
tetradic
#24199C #9C194F #919C19 #199C65
square
#24199C #9C194F #919C19 #199C65
split-complementary
#24199C #9C6519 #4F9C19
monochromatic
#0C0833 #181167 #24199C #3021D1 #594DE2

Accessibility & contrast

On white

12.40
#24199C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#24199C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #24199C
12.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24199C#FFFFFF#000000##FFFFFF
##24199C1.0012.401.6912.40
#FFFFFF12.401.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003AA0
Deuteranopia (green-blind)
#002E9A
Tritanopia (blue-blind)
#00435C
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #24199c;
/* rgb */ color: rgb(36, 25, 156);
/* oklch */ color: oklch(34.7% 0.195 273.1);
Tailwind
colors: {
  custom: {
    50: '#755abb',
    500: '#24199c',
    950: '#000000',
  },
}
SCSS
$custom: #24199c;
$custom-light: #755abb;
$custom-dark: #000000;
JSON
{
  "hex": "#24199c",
  "rgb": {
    "r": 36,
    "g": 25,
    "b": 156
  },
  "hsl": {
    "h": 245.038,
    "s": 72.376,
    "l": 35.49
  },
  "oklch": {
    "l": 0.34714,
    "c": 0.19519,
    "h": 273.1
  },
  "luminance": 0.03471
}

Semantic roles & 50–950 ramp

primary
#24199C
secondary
#BAC44C
accent
#EF39E0
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0412
muted
#7C7981

Preview Lab

Preview with #24199C

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

Preview Lab → · Contrast checker → · Palette generator →

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