#24168B#24168B

#24168B is a dark, vivid blue. Relative luminance 0.028; OKLCH L 32.3% C 0.177 H 275.3°. Best body text is #FFFFFF at 13.44:1 contrast (WCAG AA passes).

Color values

HEX#24168B
RGBrgb(36, 22, 139)
HSLhsl(247, 73%, 32%)
HSVhsv(247, 84%, 55%)
CMYKcmyk(74.1%, 84.2%, 0%, 45.5%)
CIE-LABlab(19.28, 43.35, -61.10)
CIE-LCHlch(19.28, 74.91, 305.36°)
OKLaboklab(32.35% 0.0164 -0.1766)
OKLCHoklch(32.35% 0.177 275.3)
XYZxyz(5.6731, 2.8124, 24.6650)
Luminance0.0281 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24168B #7D8B16
analogous
#16438B #24168B #5F168B
triadic
#24168B #8B2416 #168B24
tetradic
#24168B #8B1643 #7D8B16 #168B5F
square
#24168B #8B1643 #7D8B16 #168B5F
split-complementary
#24168B #8B5F16 #438B16
monochromatic
#090521 #160E56 #24168B #321EC0 #4F3BE0

Accessibility & contrast

On white

13.44
#24168B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#24168B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #24168B
13.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24168B#FFFFFF#000000##FFFFFF
##24168B1.0013.441.5613.44
#FFFFFF13.441.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00348E
Deuteranopia (green-blind)
#002989
Tritanopia (blue-blind)
#003B52
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #24168b;
/* rgb */ color: rgb(36, 22, 139);
/* oklch */ color: oklch(32.3% 0.177 275.3);
Tailwind
colors: {
  custom: {
    50: '#7158ae',
    500: '#24168b',
    950: '#000000',
  },
}
SCSS
$custom: #24168b;
$custom-light: #7158ae;
$custom-dark: #000000;
JSON
{
  "hex": "#24168b",
  "rgb": {
    "r": 36,
    "g": 22,
    "b": 139
  },
  "hsl": {
    "h": 247.179,
    "s": 72.671,
    "l": 31.569
  },
  "oklch": {
    "l": 0.32346,
    "c": 0.17739,
    "h": 275.3
  },
  "luminance": 0.02813
}

Semantic roles & 50–950 ramp

primary
#24168B
secondary
#AFBF3E
accent
#EF38D9
background
#F7F5FA
surface
#EDE9F5
border
#C8C5CF
text
#090310
muted
#7B787F

Preview Lab

Preview with #24168B

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

Preview Lab → · Contrast checker → · Palette generator →

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