#24199E#24199E

#24199E is a dark, vivid blue. Relative luminance 0.035; OKLCH L 35.0% C 0.198 H 272.9°. Best body text is #FFFFFF at 12.30:1 contrast (WCAG AA passes).

Color values

HEX#24199E
RGBrgb(36, 25, 158)
HSLhsl(245, 73%, 36%)
HSVhsv(245, 84%, 62%)
CMYKcmyk(77.2%, 84.2%, 0%, 38%)
CIE-LABlab(22.08, 47.85, -68.20)
CIE-LCHlch(22.08, 83.31, 305.06°)
OKLaboklab(34.96% 0.0101 -0.1973)
OKLCHoklch(34.96% 0.198 272.9)
XYZxyz(7.2447, 3.5382, 32.6422)
Luminance0.0354 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24199E #939E19
analogous
#19519E #24199E #66199E
triadic
#24199E #9E2419 #199E24
tetradic
#24199E #9E1951 #939E19 #199E66
square
#24199E #9E1951 #939E19 #199E66
split-complementary
#24199E #9E6619 #519E19
monochromatic
#0C0834 #181169 #24199E #3021D3 #5B4EE3

Accessibility & contrast

On white

12.30
#24199E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#24199E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #24199E
12.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24199E#FFFFFF#000000##FFFFFF
##24199E1.0012.301.7112.30
#FFFFFF12.301.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003BA2
Deuteranopia (green-blind)
#002E9C
Tritanopia (blue-blind)
#00445E
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #24199e;
/* rgb */ color: rgb(36, 25, 158);
/* oklch */ color: oklch(35.0% 0.198 272.9);
Tailwind
colors: {
  custom: {
    50: '#765bbc',
    500: '#24199e',
    950: '#000000',
  },
}
SCSS
$custom: #24199e;
$custom-light: #765bbc;
$custom-dark: #000000;
JSON
{
  "hex": "#24199e",
  "rgb": {
    "r": 36,
    "g": 25,
    "b": 158
  },
  "hsl": {
    "h": 244.962,
    "s": 72.678,
    "l": 35.882
  },
  "oklch": {
    "l": 0.34955,
    "c": 0.19752,
    "h": 272.9
  },
  "luminance": 0.03539
}

Semantic roles & 50–950 ramp

primary
#24199E
secondary
#BBC54E
accent
#EF38E0
background
#F7F5FB
surface
#EEE9F7
border
#C9C5D0
text
#0A0412
muted
#7C7981

Preview Lab

Preview with #24199E

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

Preview Lab → · Contrast checker → · Palette generator →

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