#24197C#24197C

#24197C is a dark, vivid blue. Relative luminance 0.025; OKLCH L 31.0% C 0.156 H 277.1°. Best body text is #FFFFFF at 13.95:1 contrast (WCAG AA passes).

Color values

HEX#24197C
RGBrgb(36, 25, 124)
HSLhsl(247, 66%, 29%)
HSVhsv(247, 80%, 49%)
CMYKcmyk(71%, 79.8%, 0%, 51.4%)
CIE-LABlab(18.03, 36.99, -53.68)
CIE-LCHlch(18.03, 65.19, 304.57°)
OKLaboklab(30.96% 0.0193 -0.1551)
OKLCHoklch(30.96% 0.156 277.1)
XYZxyz(4.7121, 2.5251, 19.3040)
Luminance0.0253 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24197C #717C19
analogous
#19407C #24197C #56197C
triadic
#24197C #7C2419 #197C24
tetradic
#24197C #7C1940 #717C19 #197C56
square
#24197C #7C1940 #717C19 #197C56
split-complementary
#24197C #7C5619 #407C19
monochromatic
#070519 #150F49 #24197C #3323AF #4A38D7

Accessibility & contrast

On white

13.95
#24197C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#24197C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #24197C
13.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24197C#FFFFFF#000000##FFFFFF
##24197C1.0013.951.5113.95
#FFFFFF13.951.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00307F
Deuteranopia (green-blind)
#00287A
Tritanopia (blue-blind)
#00364A
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #24197c;
/* rgb */ color: rgb(36, 25, 124);
/* oklch */ color: oklch(31.0% 0.156 277.1);
Tailwind
colors: {
  custom: {
    50: '#6d58a3',
    500: '#24197c',
    950: '#000000',
  },
}
SCSS
$custom: #24197c;
$custom-light: #6d58a3;
$custom-dark: #000000;
JSON
{
  "hex": "#24197c",
  "rgb": {
    "r": 36,
    "g": 25,
    "b": 124
  },
  "hsl": {
    "h": 246.667,
    "s": 66.443,
    "l": 29.216
  },
  "oklch": {
    "l": 0.30962,
    "c": 0.15631,
    "h": 277.1
  },
  "luminance": 0.02526
}

Semantic roles & 50–950 ramp

primary
#24197C
secondary
#A4B040
accent
#E93ED6
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08030F
muted
#7B787F

Preview Lab

Preview with #24197C

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

Preview Lab → · Contrast checker → · Palette generator →

#24197C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva