#24189B#24189B

#24189B is a dark, vivid blue. Relative luminance 0.034; OKLCH L 34.5% C 0.195 H 273.3°. Best body text is #FFFFFF at 12.51:1 contrast (WCAG AA passes).

Color values

HEX#24189B
RGBrgb(36, 24, 155)
HSLhsl(245, 73%, 35%)
HSVhsv(245, 85%, 61%)
CMYKcmyk(76.8%, 84.5%, 0%, 39.2%)
CIE-LABlab(21.56, 47.38, -67.23)
CIE-LCHlch(21.56, 82.25, 305.18°)
OKLaboklab(34.49% 0.0112 -0.1944)
OKLCHoklch(34.49% 0.195 273.3)
XYZxyz(6.9686, 3.3942, 31.2919)
Luminance0.0340 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24189B #8F9B18
analogous
#184E9B #24189B #65189B
triadic
#24189B #9B2418 #189B24
tetradic
#24189B #9B184E #8F9B18 #189B65
square
#24189B #9B184E #8F9B18 #189B65
split-complementary
#24189B #9B6518 #4E9B18
monochromatic
#0B0831 #181066 #24189B #3020D0 #584AE3

Accessibility & contrast

On white

12.51
#24189B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#24189B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #24189B
12.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24189B#FFFFFF#000000##FFFFFF
##24189B1.0012.511.6812.51
#FFFFFF12.511.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.511.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #24189b;
/* rgb */ color: rgb(36, 24, 155);
/* oklch */ color: oklch(34.5% 0.195 273.3);
Tailwind
colors: {
  custom: {
    50: '#755aba',
    500: '#24189b',
    950: '#000000',
  },
}
SCSS
$custom: #24189b;
$custom-light: #755aba;
$custom-dark: #000000;
JSON
{
  "hex": "#24189b",
  "rgb": {
    "r": 36,
    "g": 24,
    "b": 155
  },
  "hsl": {
    "h": 245.496,
    "s": 73.184,
    "l": 35.098
  },
  "oklch": {
    "l": 0.34487,
    "c": 0.19476,
    "h": 273.3
  },
  "luminance": 0.03395
}

Semantic roles & 50–950 ramp

primary
#24189B
secondary
#B9C54A
accent
#F038DF
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0412
muted
#7C7981

Preview Lab

Preview with #24189B

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

Preview Lab → · Contrast checker → · Palette generator →

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