#24176B#24176B

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

Color values

HEX#24176B
RGBrgb(36, 23, 107)
HSLhsl(249, 65%, 25%)
HSVhsv(249, 79%, 42%)
CMYKcmyk(66.4%, 78.5%, 0%, 58%)
CIE-LABlab(15.74, 32.44, -46.48)
CIE-LCHlch(15.74, 56.67, 304.91°)
OKLaboklab(28.79% 0.025 -0.1341)
OKLCHoklch(28.79% 0.136 280.6)
XYZxyz(3.6870, 2.0491, 14.1083)
Luminance0.0205 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24176B #5E6B17
analogous
#17346B #24176B #4E176B
triadic
#24176B #6B2417 #176B24
tetradic
#24176B #6B1734 #5E6B17 #176B4E
square
#24176B #6B1734 #5E6B17 #176B4E
split-complementary
#24176B #6B4E17 #346B17
monochromatic
#080519 #130C39 #24176B #35229D #462DD0

Accessibility & contrast

On white

14.90
#24176B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #24176B
14.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24176B#FFFFFF#000000##FFFFFF
##24176B1.0014.901.4114.90
#FFFFFF14.901.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.901.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #24176b;
/* rgb */ color: rgb(36, 23, 107);
/* oklch */ color: oklch(28.8% 0.136 280.6);
Tailwind
colors: {
  custom: {
    50: '#695696',
    500: '#24176b',
    950: '#000000',
  },
}
SCSS
$custom: #24176b;
$custom-light: #695696;
$custom-dark: #000000;
JSON
{
  "hex": "#24176b",
  "rgb": {
    "r": 36,
    "g": 23,
    "b": 107
  },
  "hsl": {
    "h": 249.286,
    "s": 64.615,
    "l": 25.49
  },
  "oklch": {
    "l": 0.28788,
    "c": 0.13641,
    "h": 280.6
  },
  "luminance": 0.02049
}

Semantic roles & 50–950 ramp

primary
#24176B
secondary
#92A13D
accent
#E840CE
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07030D
muted
#7A787E

Preview Lab

Preview with #24176B

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

Preview Lab → · Contrast checker → · Palette generator →

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