#24199D#24199D

#24199D is a dark, vivid blue. Relative luminance 0.035; OKLCH L 34.8% C 0.196 H 273.0°. Best body text is #FFFFFF at 12.35:1 contrast (WCAG AA passes).

Color values

HEX#24199D
RGBrgb(36, 25, 157)
HSLhsl(245, 73%, 36%)
HSVhsv(245, 84%, 62%)
CMYKcmyk(77.1%, 84.1%, 0%, 38.4%)
CIE-LABlab(21.96, 47.54, -67.79)
CIE-LCHlch(21.96, 82.80, 305.04°)
OKLaboklab(34.83% 0.0104 -0.1961)
OKLCHoklch(34.83% 0.196 273)
XYZxyz(7.1590, 3.5039, 32.1908)
Luminance0.0350 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24199D #929D19
analogous
#19509D #24199D #66199D
triadic
#24199D #9D2419 #199D24
tetradic
#24199D #9D1950 #929D19 #199D66
square
#24199D #9D1950 #929D19 #199D66
split-complementary
#24199D #9D6619 #509D19
monochromatic
#0C0833 #181168 #24199D #3021D2 #5A4EE3

Accessibility & contrast

On white

12.35
#24199D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#24199D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #24199D
12.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24199D#FFFFFF#000000##FFFFFF
##24199D1.0012.351.7012.35
#FFFFFF12.351.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003BA1
Deuteranopia (green-blind)
#002E9B
Tritanopia (blue-blind)
#00445D
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #24199d;
/* rgb */ color: rgb(36, 25, 157);
/* oklch */ color: oklch(34.8% 0.196 273.0);
Tailwind
colors: {
  custom: {
    50: '#755bbb',
    500: '#24199d',
    950: '#000000',
  },
}
SCSS
$custom: #24199d;
$custom-light: #755bbb;
$custom-dark: #000000;
JSON
{
  "hex": "#24199d",
  "rgb": {
    "r": 36,
    "g": 25,
    "b": 157
  },
  "hsl": {
    "h": 245,
    "s": 72.527,
    "l": 35.686
  },
  "oklch": {
    "l": 0.34834,
    "c": 0.19635,
    "h": 273
  },
  "luminance": 0.03505
}

Semantic roles & 50–950 ramp

primary
#24199D
secondary
#BBC54D
accent
#EF39E0
background
#F7F5FB
surface
#EEE9F7
border
#C9C5D0
text
#0A0412
muted
#7C7981

Preview Lab

Preview with #24199D

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

Preview Lab → · Contrast checker → · Palette generator →

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