#24176D#24176D

#24176D is a dark, vivid blue. Relative luminance 0.021; OKLCH L 29.0% C 0.139 H 280.1°. Best body text is #FFFFFF at 14.81:1 contrast (WCAG AA passes).

Color values

HEX#24176D
RGBrgb(36, 23, 109)
HSLhsl(249, 65%, 26%)
HSVhsv(249, 79%, 43%)
CMYKcmyk(67%, 78.9%, 0%, 57.3%)
CIE-LABlab(15.96, 33.11, -47.42)
CIE-LCHlch(15.96, 57.84, 304.92°)
OKLaboklab(29.01% 0.0245 -0.1369)
OKLCHoklch(29.01% 0.139 280.1)
XYZxyz(3.7934, 2.0917, 14.6689)
Luminance0.0209 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24176D #606D17
analogous
#17356D #24176D #4F176D
triadic
#24176D #6D2417 #176D24
tetradic
#24176D #6D1735 #606D17 #176D4F
square
#24176D #6D1735 #606D17 #176D4F
split-complementary
#24176D #6D4F17 #356D17
monochromatic
#080519 #130C3A #24176D #3522A0 #452CD2

Accessibility & contrast

On white

14.81
#24176D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#24176D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #24176D
14.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24176D#FFFFFF#000000##FFFFFF
##24176D1.0014.811.4214.81
#FFFFFF14.811.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B6F
Deuteranopia (green-blind)
#00246B
Tritanopia (blue-blind)
#003041
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #24176d;
/* rgb */ color: rgb(36, 23, 109);
/* oklch */ color: oklch(29.0% 0.139 280.1);
Tailwind
colors: {
  custom: {
    50: '#6a5698',
    500: '#24176d',
    950: '#000000',
  },
}
SCSS
$custom: #24176d;
$custom-light: #6a5698;
$custom-dark: #000000;
JSON
{
  "hex": "#24176d",
  "rgb": {
    "r": 36,
    "g": 23,
    "b": 109
  },
  "hsl": {
    "h": 249.07,
    "s": 65.152,
    "l": 25.882
  },
  "oklch": {
    "l": 0.29007,
    "c": 0.13903,
    "h": 280.1
  },
  "luminance": 0.02092
}

Semantic roles & 50–950 ramp

primary
#24176D
secondary
#94A33D
accent
#E840CF
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #24176D

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

Preview Lab → · Contrast checker → · Palette generator →

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