#24229C#24229C

#24229C is a dark, vivid blue. Relative luminance 0.039; OKLCH L 35.8% C 0.188 H 272.3°. Best body text is #FFFFFF at 11.77:1 contrast (WCAG AA passes).

Color values

HEX#24229C
RGBrgb(36, 34, 156)
HSLhsl(241, 64%, 37%)
HSVhsv(241, 78%, 61%)
CMYKcmyk(76.9%, 78.2%, 0%, 38.8%)
CIE-LABlab(23.40, 42.69, -64.79)
CIE-LCHlch(23.40, 77.59, 303.38°)
OKLaboklab(35.81% 0.0076 -0.1875)
OKLCHoklch(35.81% 0.188 272.3)
XYZxyz(7.2983, 3.9186, 31.8178)
Luminance0.0392 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24229C #9A9C22
analogous
#225D9C #24229C #61229C
triadic
#24229C #9C2422 #229C24
tetradic
#24229C #9C225D #9A9C22 #229C61
square
#24229C #9C225D #9A9C22 #229C61
split-complementary
#24229C #9C6122 #5D9C22
monochromatic
#0D0C38 #18176A #24229C #302DCE #5F5DDC

Accessibility & contrast

On white

11.77
#24229C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#24229C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #24229C
11.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24229C#FFFFFF#000000##FFFFFF
##24229C1.0011.771.7811.77
#FFFFFF11.771.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E9F
Deuteranopia (green-blind)
#00329A
Tritanopia (blue-blind)
#00475E
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #24229c;
/* rgb */ color: rgb(36, 34, 156);
/* oklch */ color: oklch(35.8% 0.188 272.3);
Tailwind
colors: {
  custom: {
    50: '#745fba',
    500: '#24229c',
    950: '#000000',
  },
}
SCSS
$custom: #24229c;
$custom-light: #745fba;
$custom-dark: #000000;
JSON
{
  "hex": "#24229c",
  "rgb": {
    "r": 36,
    "g": 34,
    "b": 156
  },
  "hsl": {
    "h": 240.984,
    "s": 64.211,
    "l": 37.255
  },
  "oklch": {
    "l": 0.35805,
    "c": 0.18768,
    "h": 272.3
  },
  "luminance": 0.03919
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #24229C

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

Preview Lab → · Contrast checker → · Palette generator →

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