#24169E#24169E

#24169E is a dark, vivid blue. Relative luminance 0.034; OKLCH L 34.7% C 0.200 H 273.1°. Best body text is #FFFFFF at 12.47:1 contrast (WCAG AA passes).

Color values

HEX#24169E
RGBrgb(36, 22, 158)
HSLhsl(246, 76%, 35%)
HSVhsv(246, 86%, 62%)
CMYKcmyk(77.2%, 86.1%, 0%, 38%)
CIE-LABlab(21.64, 49.16, -68.93)
CIE-LCHlch(21.64, 84.66, 305.50°)
OKLaboklab(34.65% 0.0109 -0.1993)
OKLCHoklch(34.65% 0.2 273.1)
XYZxyz(7.1840, 3.4167, 32.6220)
Luminance0.0342 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24169E #909E16
analogous
#164C9E #24169E #68169E
triadic
#24169E #9E2416 #169E24
tetradic
#24169E #9E164C #909E16 #169E68
square
#24169E #9E164C #909E16 #169E68
split-complementary
#24169E #9E6816 #4C9E16
monochromatic
#0C0733 #180F68 #24169E #301DD4 #5949E6

Accessibility & contrast

On white

12.47
#24169E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#24169E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #24169E
12.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24169E#FFFFFF#000000##FFFFFF
##24169E1.0012.471.6812.47
#FFFFFF12.471.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003AA2
Deuteranopia (green-blind)
#002D9C
Tritanopia (blue-blind)
#00435D
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #24169e;
/* rgb */ color: rgb(36, 22, 158);
/* oklch */ color: oklch(34.7% 0.200 273.1);
Tailwind
colors: {
  custom: {
    50: '#7659bc',
    500: '#24169e',
    950: '#000000',
  },
}
SCSS
$custom: #24169e;
$custom-light: #7659bc;
$custom-dark: #000000;
JSON
{
  "hex": "#24169e",
  "rgb": {
    "r": 36,
    "g": 22,
    "b": 158
  },
  "hsl": {
    "h": 246.176,
    "s": 75.556,
    "l": 35.294
  },
  "oklch": {
    "l": 0.34652,
    "c": 0.19962,
    "h": 273.1
  },
  "luminance": 0.03418
}

Semantic roles & 50–950 ramp

primary
#24169E
secondary
#BAC749
accent
#F236DF
background
#F7F5FB
surface
#EEE9F7
border
#C9C5D0
text
#0A0412
muted
#7C7981

Preview Lab

Preview with #24169E

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

Preview Lab → · Contrast checker → · Palette generator →

#24169E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva