#24166B#24166B

#24166B is a dark, vivid blue. Relative luminance 0.020; OKLCH L 28.6% C 0.137 H 280.8°. Best body text is #FFFFFF at 14.98:1 contrast (WCAG AA passes).

Color values

HEX#24166B
RGBrgb(36, 22, 107)
HSLhsl(250, 66%, 25%)
HSVhsv(250, 79%, 42%)
CMYKcmyk(66.4%, 79.4%, 0%, 58%)
CIE-LABlab(15.54, 33.01, -46.81)
CIE-LCHlch(15.54, 57.28, 305.19°)
OKLaboklab(28.65% 0.0257 -0.1351)
OKLCHoklch(28.65% 0.137 280.8)
XYZxyz(3.6675, 2.0101, 14.1018)
Luminance0.0201 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24166B #5D6B16
analogous
#16336B #24166B #4E166B
triadic
#24166B #6B2416 #166B24
tetradic
#24166B #6B1633 #5D6B16 #166B4E
square
#24166B #6B1633 #5D6B16 #166B4E
split-complementary
#24166B #6B4E16 #336B16
monochromatic
#090519 #130C38 #24166B #35209E #462BD1

Accessibility & contrast

On white

14.98
#24166B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#24166B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #24166B
14.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24166B#FFFFFF#000000##FFFFFF
##24166B1.0014.981.4014.98
#FFFFFF14.981.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF14.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A6D
Deuteranopia (green-blind)
#002469
Tritanopia (blue-blind)
#002E3F
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #24166b;
/* rgb */ color: rgb(36, 22, 107);
/* oklch */ color: oklch(28.6% 0.137 280.8);
Tailwind
colors: {
  custom: {
    50: '#695596',
    500: '#24166b',
    950: '#000000',
  },
}
SCSS
$custom: #24166b;
$custom-light: #695596;
$custom-dark: #000000;
JSON
{
  "hex": "#24166b",
  "rgb": {
    "r": 36,
    "g": 22,
    "b": 107
  },
  "hsl": {
    "h": 249.882,
    "s": 65.891,
    "l": 25.294
  },
  "oklch": {
    "l": 0.28645,
    "c": 0.13749,
    "h": 280.8
  },
  "luminance": 0.0201
}

Semantic roles & 50–950 ramp

primary
#24166B
secondary
#91A13B
accent
#E93FCD
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07030D
muted
#7A787E

Preview Lab

Preview with #24166B

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

Preview Lab → · Contrast checker → · Palette generator →

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