#24176E#24176E

#24176E is a dark, vivid blue. Relative luminance 0.021; OKLCH L 29.1% C 0.140 H 279.9°. Best body text is #FFFFFF at 14.76:1 contrast (WCAG AA passes).

Color values

HEX#24176E
RGBrgb(36, 23, 110)
HSLhsl(249, 65%, 26%)
HSVhsv(249, 79%, 43%)
CMYKcmyk(67.3%, 79.1%, 0%, 56.9%)
CIE-LABlab(16.07, 33.44, -47.89)
CIE-LCHlch(16.07, 58.41, 304.93°)
OKLaboklab(29.12% 0.0242 -0.1382)
OKLCHoklch(29.12% 0.14 279.9)
XYZxyz(3.8475, 2.1133, 14.9540)
Luminance0.0211 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24176E #616E17
analogous
#17356E #24176E #4F176E
triadic
#24176E #6E2417 #176E24
tetradic
#24176E #6E1735 #616E17 #176E4F
square
#24176E #6E1735 #616E17 #176E4F
split-complementary
#24176E #6E4F17 #356E17
monochromatic
#080519 #130C3B #24176E #3522A1 #452CD3

Accessibility & contrast

On white

14.76
#24176E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #24176E
14.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24176E#FFFFFF#000000##FFFFFF
##24176E1.0014.761.4214.76
#FFFFFF14.761.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B70
Deuteranopia (green-blind)
#00256C
Tritanopia (blue-blind)
#003041
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #24176e;
/* rgb */ color: rgb(36, 23, 110);
/* oklch */ color: oklch(29.1% 0.140 279.9);
Tailwind
colors: {
  custom: {
    50: '#6a5699',
    500: '#24176e',
    950: '#000000',
  },
}
SCSS
$custom: #24176e;
$custom-light: #6a5699;
$custom-dark: #000000;
JSON
{
  "hex": "#24176e",
  "rgb": {
    "r": 36,
    "g": 23,
    "b": 110
  },
  "hsl": {
    "h": 248.966,
    "s": 65.414,
    "l": 26.078
  },
  "oklch": {
    "l": 0.29118,
    "c": 0.14034,
    "h": 279.9
  },
  "luminance": 0.02114
}

Semantic roles & 50–950 ramp

primary
#24176E
secondary
#94A43D
accent
#E83FCF
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #24176E

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

Preview Lab → · Contrast checker → · Palette generator →

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