#24167A#24167A

#24167A is a dark, vivid blue. Relative luminance 0.024; OKLCH L 30.3% C 0.157 H 277.9°. Best body text is #FFFFFF at 14.28:1 contrast (WCAG AA passes).

Color values

HEX#24167A
RGBrgb(36, 22, 122)
HSLhsl(248, 69%, 28%)
HSVhsv(248, 82%, 48%)
CMYKcmyk(70.5%, 82%, 0%, 52.2%)
CIE-LABlab(17.24, 37.94, -53.70)
CIE-LCHlch(17.24, 65.76, 305.24°)
OKLaboklab(30.34% 0.0214 -0.1552)
OKLCHoklch(30.34% 0.157 277.9)
XYZxyz(4.5262, 2.3536, 18.6244)
Luminance0.0235 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24167A #6C7A16
analogous
#163A7A #24167A #56167A
triadic
#24167A #7A2416 #167A24
tetradic
#24167A #7A163A #6C7A16 #167A56
square
#24167A #7A163A #6C7A16 #167A56
split-complementary
#24167A #7A5616 #3A7A16
monochromatic
#08051A #150D46 #24167A #331FAE #4831DA

Accessibility & contrast

On white

14.28
#24167A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#24167A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #24167A
14.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24167A#FFFFFF#000000##FFFFFF
##24167A1.0014.281.4714.28
#FFFFFF14.281.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E7D
Deuteranopia (green-blind)
#002678
Tritanopia (blue-blind)
#003448
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #24167a;
/* rgb */ color: rgb(36, 22, 122);
/* oklch */ color: oklch(30.3% 0.157 277.9);
Tailwind
colors: {
  custom: {
    50: '#6d56a2',
    500: '#24167a',
    950: '#000000',
  },
}
SCSS
$custom: #24167a;
$custom-light: #6d56a2;
$custom-dark: #000000;
JSON
{
  "hex": "#24167a",
  "rgb": {
    "r": 36,
    "g": 22,
    "b": 122
  },
  "hsl": {
    "h": 248.4,
    "s": 69.444,
    "l": 28.235
  },
  "oklch": {
    "l": 0.30343,
    "c": 0.15663,
    "h": 277.9
  },
  "luminance": 0.02354
}

Semantic roles & 50–950 ramp

primary
#24167A
secondary
#9FAF3D
accent
#EC3CD4
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08030F
muted
#7B787F

Preview Lab

Preview with #24167A

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

Preview Lab → · Contrast checker → · Palette generator →

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