#24189F#24189F

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

Color values

HEX#24189F
RGBrgb(36, 24, 159)
HSLhsl(245, 74%, 36%)
HSVhsv(245, 85%, 62%)
CMYKcmyk(77.4%, 84.9%, 0%, 37.6%)
CIE-LABlab(22.06, 48.60, -68.85)
CIE-LCHlch(22.06, 84.28, 305.22°)
OKLaboklab(34.97% 0.0101 -0.1991)
OKLCHoklch(34.97% 0.199 272.9)
XYZxyz(7.3101, 3.5308, 33.0904)
Luminance0.0353 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24189F #939F18
analogous
#18509F #24189F #67189F
triadic
#24189F #9F2418 #189F24
tetradic
#24189F #9F1850 #939F18 #189F67
square
#24189F #9F1850 #939F18 #189F67
split-complementary
#24189F #9F6718 #509F18
monochromatic
#0C0835 #18106A #24189F #3020D4 #5B4DE4

Accessibility & contrast

On white

12.31
#24189F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #24189F
12.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24189F#FFFFFF#000000##FFFFFF
##24189F1.0012.311.7112.31
#FFFFFF12.311.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.311.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #24189f;
/* rgb */ color: rgb(36, 24, 159);
/* oklch */ color: oklch(35.0% 0.199 272.9);
Tailwind
colors: {
  custom: {
    50: '#765abd',
    500: '#24189f',
    950: '#000000',
  },
}
SCSS
$custom: #24189f;
$custom-light: #765abd;
$custom-dark: #000000;
JSON
{
  "hex": "#24189f",
  "rgb": {
    "r": 36,
    "g": 24,
    "b": 159
  },
  "hsl": {
    "h": 245.333,
    "s": 73.77,
    "l": 35.882
  },
  "oklch": {
    "l": 0.34972,
    "c": 0.1994,
    "h": 272.9
  },
  "luminance": 0.03532
}

Semantic roles & 50–950 ramp

primary
#24189F
secondary
#BBC64D
accent
#F037E0
background
#F7F5FB
surface
#EEE9F7
border
#C9C5D0
text
#0A0412
muted
#7C7981

Preview Lab

Preview with #24189F

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

Preview Lab → · Contrast checker → · Palette generator →

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