#24168C#24168C

#24168C is a dark, vivid blue. Relative luminance 0.028; OKLCH L 32.5% C 0.179 H 275.2°. Best body text is #FFFFFF at 13.39:1 contrast (WCAG AA passes).

Color values

HEX#24168C
RGBrgb(36, 22, 140)
HSLhsl(247, 73%, 32%)
HSVhsv(247, 84%, 55%)
CMYKcmyk(74.3%, 84.3%, 0%, 45.1%)
CIE-LABlab(19.40, 43.66, -61.52)
CIE-LCHlch(19.40, 75.44, 305.36°)
OKLaboklab(32.47% 0.0161 -0.1778)
OKLCHoklch(32.47% 0.179 275.2)
XYZxyz(5.7465, 2.8418, 25.0515)
Luminance0.0284 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24168C #7E8C16
analogous
#16438C #24168C #5F168C
triadic
#24168C #8C2416 #168C24
tetradic
#24168C #8C1643 #7E8C16 #168C5F
square
#24168C #8C1643 #7E8C16 #168C5F
split-complementary
#24168C #8C5F16 #438C16
monochromatic
#090522 #160E57 #24168C #321EC1 #503CE0

Accessibility & contrast

On white

13.39
#24168C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#24168C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #24168C
13.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24168C#FFFFFF#000000##FFFFFF
##24168C1.0013.391.5713.39
#FFFFFF13.391.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.391.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #24168c;
/* rgb */ color: rgb(36, 22, 140);
/* oklch */ color: oklch(32.5% 0.179 275.2);
Tailwind
colors: {
  custom: {
    50: '#7158af',
    500: '#24168c',
    950: '#000000',
  },
}
SCSS
$custom: #24168c;
$custom-light: #7158af;
$custom-dark: #000000;
JSON
{
  "hex": "#24168c",
  "rgb": {
    "r": 36,
    "g": 22,
    "b": 140
  },
  "hsl": {
    "h": 247.119,
    "s": 72.84,
    "l": 31.765
  },
  "oklch": {
    "l": 0.32466,
    "c": 0.17858,
    "h": 275.2
  },
  "luminance": 0.02842
}

Semantic roles & 50–950 ramp

primary
#24168C
secondary
#B0C03E
accent
#F038DA
background
#F7F5FA
surface
#EDE9F5
border
#C8C5CF
text
#090311
muted
#7B7880

Preview Lab

Preview with #24168C

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

Preview Lab → · Contrast checker → · Palette generator →

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