#24197A#24197A

#24197A is a dark, vivid blue. Relative luminance 0.025; OKLCH L 30.7% C 0.154 H 277.4°. Best body text is #FFFFFF at 14.05:1 contrast (WCAG AA passes).

Color values

HEX#24197A
RGBrgb(36, 25, 122)
HSLhsl(247, 66%, 29%)
HSVhsv(247, 80%, 48%)
CMYKcmyk(70.5%, 79.5%, 0%, 52.2%)
CIE-LABlab(17.81, 36.32, -52.78)
CIE-LCHlch(17.81, 64.07, 304.54°)
OKLaboklab(30.74% 0.0198 -0.1525)
OKLCHoklch(30.74% 0.154 277.4)
XYZxyz(4.5869, 2.4751, 18.6446)
Luminance0.0248 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24197A #6F7A19
analogous
#193F7A #24197A #55197A
triadic
#24197A #7A2419 #197A24
tetradic
#24197A #7A193F #6F7A19 #197A55
square
#24197A #7A193F #6F7A19 #197A55
split-complementary
#24197A #7A5519 #3F7A19
monochromatic
#070519 #150F47 #24197A #3323AD #4937D6

Accessibility & contrast

On white

14.05
#24197A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #24197A
14.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24197A#FFFFFF#000000##FFFFFF
##24197A1.0014.051.5014.05
#FFFFFF14.051.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF14.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F7D
Deuteranopia (green-blind)
#002778
Tritanopia (blue-blind)
#003649
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #24197a;
/* rgb */ color: rgb(36, 25, 122);
/* oklch */ color: oklch(30.7% 0.154 277.4);
Tailwind
colors: {
  custom: {
    50: '#6d58a2',
    500: '#24197a',
    950: '#000000',
  },
}
SCSS
$custom: #24197a;
$custom-light: #6d58a2;
$custom-dark: #000000;
JSON
{
  "hex": "#24197a",
  "rgb": {
    "r": 36,
    "g": 25,
    "b": 122
  },
  "hsl": {
    "h": 246.804,
    "s": 65.986,
    "l": 28.824
  },
  "oklch": {
    "l": 0.30736,
    "c": 0.15377,
    "h": 277.4
  },
  "luminance": 0.02475
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #24197A

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

Preview Lab → · Contrast checker → · Palette generator →

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