#24196E#24196E

#24196E is a dark, vivid blue. Relative luminance 0.022; OKLCH L 29.4% C 0.138 H 279.5°. Best body text is #FFFFFF at 14.59:1 contrast (WCAG AA passes).

Color values

HEX#24196E
RGBrgb(36, 25, 110)
HSLhsl(248, 63%, 26%)
HSVhsv(248, 77%, 43%)
CMYKcmyk(67.3%, 77.3%, 0%, 56.9%)
CIE-LABlab(16.48, 32.28, -47.21)
CIE-LCHlch(16.48, 57.19, 304.36°)
OKLaboklab(29.41% 0.0228 -0.1363)
OKLCHoklch(29.41% 0.138 279.5)
XYZxyz(3.8888, 2.1958, 14.9677)
Luminance0.0220 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24196E #636E19
analogous
#19396E #24196E #4F196E
triadic
#24196E #6E2419 #196E24
tetradic
#24196E #6E1939 #636E19 #196E4F
square
#24196E #6E1939 #636E19 #196E4F
split-complementary
#24196E #6E4F19 #396E19
monochromatic
#080619 #140E3C #24196E #3424A0 #4631D0

Accessibility & contrast

On white

14.59
#24196E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#24196E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #24196E
14.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24196E#FFFFFF#000000##FFFFFF
##24196E1.0014.591.4414.59
#FFFFFF14.591.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C70
Deuteranopia (green-blind)
#00256C
Tritanopia (blue-blind)
#003142
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #24196e;
/* rgb */ color: rgb(36, 25, 110);
/* oklch */ color: oklch(29.4% 0.138 279.5);
Tailwind
colors: {
  custom: {
    50: '#6a5799',
    500: '#24196e',
    950: '#000000',
  },
}
SCSS
$custom: #24196e;
$custom-light: #6a5799;
$custom-dark: #000000;
JSON
{
  "hex": "#24196e",
  "rgb": {
    "r": 36,
    "g": 25,
    "b": 110
  },
  "hsl": {
    "h": 247.765,
    "s": 62.963,
    "l": 26.471
  },
  "oklch": {
    "l": 0.29408,
    "c": 0.13817,
    "h": 279.5
  },
  "luminance": 0.02196
}

Semantic roles & 50–950 ramp

primary
#24196E
secondary
#96A33F
accent
#E642D1
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #24196E

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

Preview Lab → · Contrast checker → · Palette generator →

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