#24166D#24166D

#24166D is a dark, vivid blue. Relative luminance 0.021; OKLCH L 28.9% C 0.140 H 280.3°. Best body text is #FFFFFF at 14.89:1 contrast (WCAG AA passes).

Color values

HEX#24166D
RGBrgb(36, 22, 109)
HSLhsl(250, 66%, 26%)
HSVhsv(250, 80%, 43%)
CMYKcmyk(67%, 79.8%, 0%, 57.3%)
CIE-LABlab(15.76, 33.67, -47.75)
CIE-LCHlch(15.76, 58.43, 305.19°)
OKLaboklab(28.87% 0.0252 -0.1378)
OKLCHoklch(28.87% 0.14 280.3)
XYZxyz(3.7739, 2.0527, 14.6624)
Luminance0.0205 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24166D #5F6D16
analogous
#16336D #24166D #4F166D
triadic
#24166D #6D2416 #166D24
tetradic
#24166D #6D1633 #5F6D16 #166D4F
square
#24166D #6D1633 #5F6D16 #166D4F
split-complementary
#24166D #6D4F16 #336D16
monochromatic
#080519 #130C3A #24166D #3520A0 #462BD3

Accessibility & contrast

On white

14.89
#24166D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#24166D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #24166D
14.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24166D#FFFFFF#000000##FFFFFF
##24166D1.0014.891.4114.89
#FFFFFF14.891.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A6F
Deuteranopia (green-blind)
#00246B
Tritanopia (blue-blind)
#002F41
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #24166d;
/* rgb */ color: rgb(36, 22, 109);
/* oklch */ color: oklch(28.9% 0.140 280.3);
Tailwind
colors: {
  custom: {
    50: '#6a5598',
    500: '#24166d',
    950: '#000000',
  },
}
SCSS
$custom: #24166d;
$custom-light: #6a5598;
$custom-dark: #000000;
JSON
{
  "hex": "#24166d",
  "rgb": {
    "r": 36,
    "g": 22,
    "b": 109
  },
  "hsl": {
    "h": 249.655,
    "s": 66.412,
    "l": 25.686
  },
  "oklch": {
    "l": 0.28867,
    "c": 0.1401,
    "h": 280.3
  },
  "luminance": 0.02053
}

Semantic roles & 50–950 ramp

primary
#24166D
secondary
#93A33C
accent
#E93ECE
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #24166D

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

Preview Lab → · Contrast checker → · Palette generator →

#24166D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva