#24189D#24189D

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

Color values

HEX#24189D
RGBrgb(36, 24, 157)
HSLhsl(245, 73%, 35%)
HSVhsv(245, 85%, 62%)
CMYKcmyk(77.1%, 84.7%, 0%, 38.4%)
CIE-LABlab(21.81, 47.99, -68.04)
CIE-LCHlch(21.81, 83.27, 305.20°)
OKLaboklab(34.73% 0.0107 -0.1968)
OKLCHoklch(34.73% 0.197 273.1)
XYZxyz(7.1380, 3.4619, 32.1838)
Luminance0.0346 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24189D #919D18
analogous
#184E9D #24189D #67189D
triadic
#24189D #9D2418 #189D24
tetradic
#24189D #9D184E #919D18 #189D67
square
#24189D #9D184E #919D18 #189D67
split-complementary
#24189D #9D6718 #4E9D18
monochromatic
#0C0833 #181068 #24189D #3020D2 #594CE4

Accessibility & contrast

On white

12.41
#24189D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#24189D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #24189D
12.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24189D#FFFFFF#000000##FFFFFF
##24189D1.0012.411.6912.41
#FFFFFF12.411.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003AA1
Deuteranopia (green-blind)
#002E9B
Tritanopia (blue-blind)
#00435D
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #24189d;
/* rgb */ color: rgb(36, 24, 157);
/* oklch */ color: oklch(34.7% 0.197 273.1);
Tailwind
colors: {
  custom: {
    50: '#755abb',
    500: '#24189d',
    950: '#000000',
  },
}
SCSS
$custom: #24189d;
$custom-light: #755abb;
$custom-dark: #000000;
JSON
{
  "hex": "#24189d",
  "rgb": {
    "r": 36,
    "g": 24,
    "b": 157
  },
  "hsl": {
    "h": 245.414,
    "s": 73.481,
    "l": 35.49
  },
  "oklch": {
    "l": 0.34729,
    "c": 0.19708,
    "h": 273.1
  },
  "luminance": 0.03463
}

Semantic roles & 50–950 ramp

primary
#24189D
secondary
#BAC54B
accent
#F038E0
background
#F7F5FB
surface
#EEE9F7
border
#C9C5D0
text
#0A0412
muted
#7C7981

Preview Lab

Preview with #24189D

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

Preview Lab → · Contrast checker → · Palette generator →

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