#24199B#24199B

#24199B is a dark, vivid blue. Relative luminance 0.034; OKLCH L 34.6% C 0.194 H 273.2°. Best body text is #FFFFFF at 12.45:1 contrast (WCAG AA passes).

Color values

HEX#24199B
RGBrgb(36, 25, 155)
HSLhsl(245, 72%, 35%)
HSVhsv(245, 84%, 61%)
CMYKcmyk(76.8%, 83.9%, 0%, 39.2%)
CIE-LABlab(21.71, 46.93, -66.97)
CIE-LCHlch(21.71, 81.78, 305.02°)
OKLaboklab(34.59% 0.0109 -0.1937)
OKLCHoklch(34.59% 0.194 273.2)
XYZxyz(6.9896, 3.4361, 31.2989)
Luminance0.0344 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24199B #909B19
analogous
#194F9B #24199B #65199B
triadic
#24199B #9B2419 #199B24
tetradic
#24199B #9B194F #909B19 #199B65
square
#24199B #9B194F #909B19 #199B65
split-complementary
#24199B #9B6519 #4F9B19
monochromatic
#0C0832 #181166 #24199B #3022D0 #594CE2

Accessibility & contrast

On white

12.45
#24199B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #24199B
12.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24199B#FFFFFF#000000##FFFFFF
##24199B1.0012.451.6912.45
#FFFFFF12.451.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.451.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #24199b;
/* rgb */ color: rgb(36, 25, 155);
/* oklch */ color: oklch(34.6% 0.194 273.2);
Tailwind
colors: {
  custom: {
    50: '#755aba',
    500: '#24199b',
    950: '#000000',
  },
}
SCSS
$custom: #24199b;
$custom-light: #755aba;
$custom-dark: #000000;
JSON
{
  "hex": "#24199b",
  "rgb": {
    "r": 36,
    "g": 25,
    "b": 155
  },
  "hsl": {
    "h": 245.077,
    "s": 72.222,
    "l": 35.294
  },
  "oklch": {
    "l": 0.34594,
    "c": 0.19402,
    "h": 273.2
  },
  "luminance": 0.03437
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #24199B

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

Preview Lab → · Contrast checker → · Palette generator →

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