#24229A#24229A

#24229A is a dark, vivid blue. Relative luminance 0.039; OKLCH L 35.6% C 0.185 H 272.5°. Best body text is #FFFFFF at 11.86:1 contrast (WCAG AA passes).

Color values

HEX#24229A
RGBrgb(36, 34, 154)
HSLhsl(241, 64%, 37%)
HSVhsv(241, 78%, 60%)
CMYKcmyk(76.6%, 77.9%, 0%, 39.6%)
CIE-LABlab(23.17, 42.02, -63.94)
CIE-LCHlch(23.17, 76.51, 303.32°)
OKLaboklab(35.58% 0.0081 -0.185)
OKLCHoklch(35.58% 0.185 272.5)
XYZxyz(7.1304, 3.8515, 30.9332)
Luminance0.0385 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24229A #989A22
analogous
#225C9A #24229A #60229A
triadic
#24229A #9A2422 #229A24
tetradic
#24229A #9A225C #989A22 #229A60
square
#24229A #9A225C #989A22 #229A60
split-complementary
#24229A #9A6022 #5C9A22
monochromatic
#0D0C36 #181768 #24229A #302DCC #5E5BDB

Accessibility & contrast

On white

11.86
#24229A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#24229A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #24229A
11.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24229A#FFFFFF#000000##FFFFFF
##24229A1.0011.861.7711.86
#FFFFFF11.861.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D9D
Deuteranopia (green-blind)
#003198
Tritanopia (blue-blind)
#00465D
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #24229a;
/* rgb */ color: rgb(36, 34, 154);
/* oklch */ color: oklch(35.6% 0.185 272.5);
Tailwind
colors: {
  custom: {
    50: '#745fb9',
    500: '#24229a',
    950: '#000000',
  },
}
SCSS
$custom: #24229a;
$custom-light: #745fb9;
$custom-dark: #000000;
JSON
{
  "hex": "#24229a",
  "rgb": {
    "r": 36,
    "g": 34,
    "b": 154
  },
  "hsl": {
    "h": 241,
    "s": 63.83,
    "l": 36.863
  },
  "oklch": {
    "l": 0.35579,
    "c": 0.18522,
    "h": 272.5
  },
  "luminance": 0.03852
}

Semantic roles & 50–950 ramp

primary
#24229A
secondary
#BEBF58
accent
#E741E4
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0512
muted
#7C7981

Preview Lab

Preview with #24229A

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

Preview Lab → · Contrast checker → · Palette generator →

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