#24168A#24168A

#24168A is a dark, vivid blue. Relative luminance 0.028; OKLCH L 32.2% C 0.176 H 275.4°. Best body text is #FFFFFF at 13.49:1 contrast (WCAG AA passes).

Color values

HEX#24168A
RGBrgb(36, 22, 138)
HSLhsl(247, 73%, 31%)
HSVhsv(247, 84%, 54%)
CMYKcmyk(73.9%, 84.1%, 0%, 45.9%)
CIE-LABlab(19.15, 43.04, -60.67)
CIE-LCHlch(19.15, 74.39, 305.35°)
OKLaboklab(32.23% 0.0167 -0.1754)
OKLCHoklch(32.23% 0.176 275.4)
XYZxyz(5.6004, 2.7833, 24.2819)
Luminance0.0278 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24168A #7C8A16
analogous
#16428A #24168A #5E168A
triadic
#24168A #8A2416 #168A24
tetradic
#24168A #8A1642 #7C8A16 #168A5E
square
#24168A #8A1642 #7C8A16 #168A5E
split-complementary
#24168A #8A5E16 #428A16
monochromatic
#080520 #160E55 #24168A #321EBF #4F3BE0

Accessibility & contrast

On white

13.49
#24168A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #24168A
13.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24168A#FFFFFF#000000##FFFFFF
##24168A1.0013.491.5613.49
#FFFFFF13.491.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00338D
Deuteranopia (green-blind)
#002988
Tritanopia (blue-blind)
#003B51
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #24168a;
/* rgb */ color: rgb(36, 22, 138);
/* oklch */ color: oklch(32.2% 0.176 275.4);
Tailwind
colors: {
  custom: {
    50: '#7157ad',
    500: '#24168a',
    950: '#000000',
  },
}
SCSS
$custom: #24168a;
$custom-light: #7157ad;
$custom-dark: #000000;
JSON
{
  "hex": "#24168a",
  "rgb": {
    "r": 36,
    "g": 22,
    "b": 138
  },
  "hsl": {
    "h": 247.241,
    "s": 72.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.32226,
    "c": 0.17619,
    "h": 275.4
  },
  "luminance": 0.02784
}

Semantic roles & 50–950 ramp

primary
#24168A
secondary
#AEBE3E
accent
#EF39D9
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090310
muted
#7B787F

Preview Lab

Preview with #24168A

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

Preview Lab → · Contrast checker → · Palette generator →

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