#24188B#24188B

#24188B is a dark, vivid blue. Relative luminance 0.029; OKLCH L 32.6% C 0.176 H 275.1°. Best body text is #FFFFFF at 13.30:1 contrast (WCAG AA passes).

Color values

HEX#24188B
RGBrgb(36, 24, 139)
HSLhsl(246, 71%, 32%)
HSVhsv(246, 83%, 55%)
CMYKcmyk(74.1%, 82.7%, 0%, 45.5%)
CIE-LABlab(19.61, 42.39, -60.55)
CIE-LCHlch(19.61, 73.91, 304.99°)
OKLaboklab(32.57% 0.0157 -0.1751)
OKLCHoklch(32.57% 0.176 275.1)
XYZxyz(5.7129, 2.8919, 24.6782)
Luminance0.0289 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24188B #7F8B18
analogous
#18468B #24188B #5E188B
triadic
#24188B #8B2418 #188B24
tetradic
#24188B #8B1846 #7F8B18 #188B5E
square
#24188B #8B1846 #7F8B18 #188B5E
split-complementary
#24188B #8B5E18 #468B18
monochromatic
#090623 #160F57 #24188B #3221BF #503FDE

Accessibility & contrast

On white

13.30
#24188B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#24188B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #24188B
13.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24188B#FFFFFF#000000##FFFFFF
##24188B1.0013.301.5813.30
#FFFFFF13.301.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.301.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #24188b;
/* rgb */ color: rgb(36, 24, 139);
/* oklch */ color: oklch(32.6% 0.176 275.1);
Tailwind
colors: {
  custom: {
    50: '#7159ae',
    500: '#24188b',
    950: '#000000',
  },
}
SCSS
$custom: #24188b;
$custom-light: #7159ae;
$custom-dark: #000000;
JSON
{
  "hex": "#24188b",
  "rgb": {
    "r": 36,
    "g": 24,
    "b": 139
  },
  "hsl": {
    "h": 246.261,
    "s": 70.552,
    "l": 31.961
  },
  "oklch": {
    "l": 0.32574,
    "c": 0.17578,
    "h": 275.1
  },
  "luminance": 0.02892
}

Semantic roles & 50–950 ramp

primary
#24188B
secondary
#B1BE40
accent
#ED3ADB
background
#F7F5FA
surface
#EDE9F5
border
#C8C5CF
text
#090410
muted
#7B797F

Preview Lab

Preview with #24188B

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

Preview Lab → · Contrast checker → · Palette generator →

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