#24188A#24188A

#24188A is a dark, vivid blue. Relative luminance 0.029; OKLCH L 32.5% C 0.175 H 275.2°. Best body text is #FFFFFF at 13.35:1 contrast (WCAG AA passes).

Color values

HEX#24188A
RGBrgb(36, 24, 138)
HSLhsl(246, 70%, 32%)
HSVhsv(246, 83%, 54%)
CMYKcmyk(73.9%, 82.6%, 0%, 45.9%)
CIE-LABlab(19.49, 42.07, -60.12)
CIE-LCHlch(19.49, 73.38, 304.98°)
OKLaboklab(32.46% 0.0159 -0.1738)
OKLCHoklch(32.46% 0.175 275.2)
XYZxyz(5.6401, 2.8628, 24.2952)
Luminance0.0286 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24188A #7E8A18
analogous
#18458A #24188A #5D188A
triadic
#24188A #8A2418 #188A24
tetradic
#24188A #8A1845 #7E8A18 #188A5D
square
#24188A #8A1845 #7E8A18 #188A5D
split-complementary
#24188A #8A5D18 #458A18
monochromatic
#090622 #160F56 #24188A #3221BE #503FDE

Accessibility & contrast

On white

13.35
#24188A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#24188A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #24188A
13.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24188A#FFFFFF#000000##FFFFFF
##24188A1.0013.351.5713.35
#FFFFFF13.351.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00348D
Deuteranopia (green-blind)
#002A88
Tritanopia (blue-blind)
#003C52
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #24188a;
/* rgb */ color: rgb(36, 24, 138);
/* oklch */ color: oklch(32.5% 0.175 275.2);
Tailwind
colors: {
  custom: {
    50: '#7159ad',
    500: '#24188a',
    950: '#000000',
  },
}
SCSS
$custom: #24188a;
$custom-light: #7159ad;
$custom-dark: #000000;
JSON
{
  "hex": "#24188a",
  "rgb": {
    "r": 36,
    "g": 24,
    "b": 138
  },
  "hsl": {
    "h": 246.316,
    "s": 70.37,
    "l": 31.765
  },
  "oklch": {
    "l": 0.32456,
    "c": 0.17457,
    "h": 275.2
  },
  "luminance": 0.02863
}

Semantic roles & 50–950 ramp

primary
#24188A
secondary
#B0BD40
accent
#ED3BDA
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090410
muted
#7B797F

Preview Lab

Preview with #24188A

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

Preview Lab → · Contrast checker → · Palette generator →

#24188A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva