#24199F#24199F

#24199F is a dark, vivid blue. Relative luminance 0.036; OKLCH L 35.1% C 0.199 H 272.8°. Best body text is #FFFFFF at 12.25:1 contrast (WCAG AA passes).

Color values

HEX#24199F
RGBrgb(36, 25, 159)
HSLhsl(245, 73%, 36%)
HSVhsv(245, 84%, 62%)
CMYKcmyk(77.4%, 84.3%, 0%, 37.6%)
CIE-LABlab(22.21, 48.16, -68.60)
CIE-LCHlch(22.21, 83.82, 305.07°)
OKLaboklab(35.08% 0.0098 -0.1984)
OKLCHoklch(35.08% 0.199 272.8)
XYZxyz(7.3311, 3.5727, 33.0974)
Luminance0.0357 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24199F #949F19
analogous
#19519F #24199F #67199F
triadic
#24199F #9F2419 #199F24
tetradic
#24199F #9F1951 #949F19 #199F67
square
#24199F #9F1951 #949F19 #199F67
split-complementary
#24199F #9F6719 #519F19
monochromatic
#0C0835 #18116A #24199F #3021D4 #5B4FE3

Accessibility & contrast

On white

12.25
#24199F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #24199F
12.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24199F#FFFFFF#000000##FFFFFF
##24199F1.0012.251.7112.25
#FFFFFF12.251.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003BA3
Deuteranopia (green-blind)
#002F9D
Tritanopia (blue-blind)
#00455E
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #24199f;
/* rgb */ color: rgb(36, 25, 159);
/* oklch */ color: oklch(35.1% 0.199 272.8);
Tailwind
colors: {
  custom: {
    50: '#765bbd',
    500: '#24199f',
    950: '#000000',
  },
}
SCSS
$custom: #24199f;
$custom-light: #765bbd;
$custom-dark: #000000;
JSON
{
  "hex": "#24199f",
  "rgb": {
    "r": 36,
    "g": 25,
    "b": 159
  },
  "hsl": {
    "h": 244.925,
    "s": 72.826,
    "l": 36.078
  },
  "oklch": {
    "l": 0.35076,
    "c": 0.19868,
    "h": 272.8
  },
  "luminance": 0.03574
}

Semantic roles & 50–950 ramp

primary
#24199F
secondary
#BCC64E
accent
#F038E0
background
#F7F5FB
surface
#EEE9F7
border
#C9C5D0
text
#0A0412
muted
#7C7981

Preview Lab

Preview with #24199F

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

Preview Lab → · Contrast checker → · Palette generator →

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