#24166C#24166C

#24166C is a dark, vivid blue. Relative luminance 0.020; OKLCH L 28.8% C 0.139 H 280.6°. Best body text is #FFFFFF at 14.93:1 contrast (WCAG AA passes).

Color values

HEX#24166C
RGBrgb(36, 22, 108)
HSLhsl(250, 66%, 25%)
HSVhsv(250, 80%, 42%)
CMYKcmyk(66.7%, 79.6%, 0%, 57.6%)
CIE-LABlab(15.65, 33.34, -47.28)
CIE-LCHlch(15.65, 57.86, 305.19°)
OKLaboklab(28.76% 0.0254 -0.1364)
OKLCHoklch(28.76% 0.139 280.6)
XYZxyz(3.7204, 2.0313, 14.3805)
Luminance0.0203 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24166C #5E6C16
analogous
#16336C #24166C #4F166C
triadic
#24166C #6C2416 #166C24
tetradic
#24166C #6C1633 #5E6C16 #166C4F
square
#24166C #6C1633 #5E6C16 #166C4F
split-complementary
#24166C #6C4F16 #336C16
monochromatic
#080519 #130C39 #24166C #35209F #462BD2

Accessibility & contrast

On white

14.93
#24166C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #24166C
14.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24166C#FFFFFF#000000##FFFFFF
##24166C1.0014.931.4114.93
#FFFFFF14.931.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A6E
Deuteranopia (green-blind)
#00246A
Tritanopia (blue-blind)
#002F40
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #24166c;
/* rgb */ color: rgb(36, 22, 108);
/* oklch */ color: oklch(28.8% 0.139 280.6);
Tailwind
colors: {
  custom: {
    50: '#6a5597',
    500: '#24166c',
    950: '#000000',
  },
}
SCSS
$custom: #24166c;
$custom-light: #6a5597;
$custom-dark: #000000;
JSON
{
  "hex": "#24166c",
  "rgb": {
    "r": 36,
    "g": 22,
    "b": 108
  },
  "hsl": {
    "h": 249.767,
    "s": 66.154,
    "l": 25.49
  },
  "oklch": {
    "l": 0.28756,
    "c": 0.13879,
    "h": 280.6
  },
  "luminance": 0.02032
}

Semantic roles & 50–950 ramp

primary
#24166C
secondary
#92A23C
accent
#E93FCD
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #24166C

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

Preview Lab → · Contrast checker → · Palette generator →

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