#24196D#24196D

#24196D is a dark, vivid blue. Relative luminance 0.022; OKLCH L 29.3% C 0.137 H 279.7°. Best body text is #FFFFFF at 14.64:1 contrast (WCAG AA passes).

Color values

HEX#24196D
RGBrgb(36, 25, 109)
HSLhsl(248, 63%, 26%)
HSVhsv(248, 77%, 43%)
CMYKcmyk(67%, 77.1%, 0%, 57.3%)
CIE-LABlab(16.38, 31.93, -46.74)
CIE-LCHlch(16.38, 56.61, 304.34°)
OKLaboklab(29.3% 0.0231 -0.1349)
OKLCHoklch(29.3% 0.137 279.7)
XYZxyz(3.8346, 2.1742, 14.6826)
Luminance0.0217 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24196D #626D19
analogous
#19386D #24196D #4E196D
triadic
#24196D #6D2419 #196D24
tetradic
#24196D #6D1938 #626D19 #196D4E
square
#24196D #6D1938 #626D19 #196D4E
split-complementary
#24196D #6D4E19 #386D19
monochromatic
#080619 #140E3B #24196D #34249F #4631D0

Accessibility & contrast

On white

14.64
#24196D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#24196D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #24196D
14.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24196D#FFFFFF#000000##FFFFFF
##24196D1.0014.641.4314.64
#FFFFFF14.641.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C6F
Deuteranopia (green-blind)
#00256B
Tritanopia (blue-blind)
#003141
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #24196d;
/* rgb */ color: rgb(36, 25, 109);
/* oklch */ color: oklch(29.3% 0.137 279.7);
Tailwind
colors: {
  custom: {
    50: '#6a5798',
    500: '#24196d',
    950: '#000000',
  },
}
SCSS
$custom: #24196d;
$custom-light: #6a5798;
$custom-dark: #000000;
JSON
{
  "hex": "#24196d",
  "rgb": {
    "r": 36,
    "g": 25,
    "b": 109
  },
  "hsl": {
    "h": 247.857,
    "s": 62.687,
    "l": 26.275
  },
  "oklch": {
    "l": 0.293,
    "c": 0.13685,
    "h": 279.7
  },
  "luminance": 0.02174
}

Semantic roles & 50–950 ramp

primary
#24196D
secondary
#95A23F
accent
#E642D0
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #24196D

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

Preview Lab → · Contrast checker → · Palette generator →

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