#24198E#24198E

#24198E is a dark, vivid blue. Relative luminance 0.030; OKLCH L 33.0% C 0.179 H 274.6°. Best body text is #FFFFFF at 13.09:1 contrast (WCAG AA passes).

Color values

HEX#24198E
RGBrgb(36, 25, 142)
HSLhsl(246, 70%, 33%)
HSVhsv(246, 82%, 56%)
CMYKcmyk(74.6%, 82.4%, 0%, 44.3%)
CIE-LABlab(20.13, 42.85, -61.55)
CIE-LCHlch(20.13, 74.99, 304.84°)
OKLaboklab(33.05% 0.0145 -0.178)
OKLCHoklch(33.05% 0.179 274.6)
XYZxyz(5.9561, 3.0227, 25.8555)
Luminance0.0302 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24198E #838E19
analogous
#19488E #24198E #5E198E
triadic
#24198E #8E2419 #198E24
tetradic
#24198E #8E1948 #838E19 #198E5E
square
#24198E #8E1948 #838E19 #198E5E
split-complementary
#24198E #8E5E19 #488E19
monochromatic
#0A0726 #17105A #24198E #3122C2 #5243DE

Accessibility & contrast

On white

13.09
#24198E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#24198E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #24198E
13.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24198E#FFFFFF#000000##FFFFFF
##24198E1.0013.091.6013.09
#FFFFFF13.091.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003691
Deuteranopia (green-blind)
#002B8C
Tritanopia (blue-blind)
#003E54
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #24198e;
/* rgb */ color: rgb(36, 25, 142);
/* oklch */ color: oklch(33.0% 0.179 274.6);
Tailwind
colors: {
  custom: {
    50: '#7259b0',
    500: '#24198e',
    950: '#000000',
  },
}
SCSS
$custom: #24198e;
$custom-light: #7259b0;
$custom-dark: #000000;
JSON
{
  "hex": "#24198e",
  "rgb": {
    "r": 36,
    "g": 25,
    "b": 142
  },
  "hsl": {
    "h": 245.641,
    "s": 70.06,
    "l": 32.745
  },
  "oklch": {
    "l": 0.33045,
    "c": 0.17858,
    "h": 274.6
  },
  "luminance": 0.03023
}

Semantic roles & 50–950 ramp

primary
#24198E
secondary
#B3BF44
accent
#ED3BDC
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090411
muted
#7B7980

Preview Lab

Preview with #24198E

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

Preview Lab → · Contrast checker → · Palette generator →

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