#24197B#24197B

#24197B is a dark, vivid blue. Relative luminance 0.025; OKLCH L 30.8% C 0.155 H 277.2°. Best body text is #FFFFFF at 14.00:1 contrast (WCAG AA passes).

Color values

HEX#24197B
RGBrgb(36, 25, 123)
HSLhsl(247, 66%, 29%)
HSVhsv(247, 80%, 48%)
CMYKcmyk(70.7%, 79.7%, 0%, 51.8%)
CIE-LABlab(17.92, 36.66, -53.23)
CIE-LCHlch(17.92, 64.63, 304.56°)
OKLaboklab(30.85% 0.0196 -0.1538)
OKLCHoklch(30.85% 0.155 277.2)
XYZxyz(4.6492, 2.5000, 18.9726)
Luminance0.0250 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24197B #707B19
analogous
#193F7B #24197B #55197B
triadic
#24197B #7B2419 #197B24
tetradic
#24197B #7B193F #707B19 #197B55
square
#24197B #7B193F #707B19 #197B55
split-complementary
#24197B #7B5519 #3F7B19
monochromatic
#070519 #150F48 #24197B #3323AE #4A38D7

Accessibility & contrast

On white

14.00
#24197B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#24197B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #24197B
14.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24197B#FFFFFF#000000##FFFFFF
##24197B1.0014.001.5014.00
#FFFFFF14.001.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF14.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00307E
Deuteranopia (green-blind)
#002879
Tritanopia (blue-blind)
#003649
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #24197b;
/* rgb */ color: rgb(36, 25, 123);
/* oklch */ color: oklch(30.8% 0.155 277.2);
Tailwind
colors: {
  custom: {
    50: '#6d58a2',
    500: '#24197b',
    950: '#000000',
  },
}
SCSS
$custom: #24197b;
$custom-light: #6d58a2;
$custom-dark: #000000;
JSON
{
  "hex": "#24197b",
  "rgb": {
    "r": 36,
    "g": 25,
    "b": 123
  },
  "hsl": {
    "h": 246.735,
    "s": 66.216,
    "l": 29.02
  },
  "oklch": {
    "l": 0.30849,
    "c": 0.15505,
    "h": 277.2
  },
  "luminance": 0.025
}

Semantic roles & 50–950 ramp

primary
#24197B
secondary
#A3AF40
accent
#E93FD6
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08030F
muted
#7B787F

Preview Lab

Preview with #24197B

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

Preview Lab → · Contrast checker → · Palette generator →

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