#24176A#24176A

#24176A is a dark, vivid blue. Relative luminance 0.020; OKLCH L 28.7% C 0.135 H 280.8°. Best body text is #FFFFFF at 14.94:1 contrast (WCAG AA passes).

Color values

HEX#24176A
RGBrgb(36, 23, 106)
HSLhsl(249, 64%, 25%)
HSVhsv(249, 78%, 42%)
CMYKcmyk(66%, 78.3%, 0%, 58.4%)
CIE-LABlab(15.63, 32.10, -46.00)
CIE-LCHlch(15.63, 56.09, 304.91°)
OKLaboklab(28.68% 0.0253 -0.1327)
OKLCHoklch(28.68% 0.135 280.8)
XYZxyz(3.6346, 2.0282, 13.8328)
Luminance0.0203 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24176A #5D6A17
analogous
#17336A #24176A #4E176A
triadic
#24176A #6A2417 #176A24
tetradic
#24176A #6A1733 #5D6A17 #176A4E
square
#24176A #6A1733 #5D6A17 #176A4E
split-complementary
#24176A #6A4E17 #336A17
monochromatic
#090519 #130C38 #24176A #35229C #462DCF

Accessibility & contrast

On white

14.94
#24176A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#24176A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #24176A
14.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24176A#FFFFFF#000000##FFFFFF
##24176A1.0014.941.4114.94
#FFFFFF14.941.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.941.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #24176a;
/* rgb */ color: rgb(36, 23, 106);
/* oklch */ color: oklch(28.7% 0.135 280.8);
Tailwind
colors: {
  custom: {
    50: '#695696',
    500: '#24176a',
    950: '#000000',
  },
}
SCSS
$custom: #24176a;
$custom-light: #695696;
$custom-dark: #000000;
JSON
{
  "hex": "#24176a",
  "rgb": {
    "r": 36,
    "g": 23,
    "b": 106
  },
  "hsl": {
    "h": 249.398,
    "s": 64.341,
    "l": 25.294
  },
  "oklch": {
    "l": 0.28679,
    "c": 0.13509,
    "h": 280.8
  },
  "luminance": 0.02028
}

Semantic roles & 50–950 ramp

primary
#24176A
secondary
#91A03D
accent
#E740CD
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07030D
muted
#7A787E

Preview Lab

Preview with #24176A

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

Preview Lab → · Contrast checker → · Palette generator →

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