#24229E#24229E

#24229E is a dark, vivid blue. Relative luminance 0.040; OKLCH L 36.0% C 0.190 H 272.2°. Best body text is #FFFFFF at 11.68:1 contrast (WCAG AA passes).

Color values

HEX#24229E
RGBrgb(36, 34, 158)
HSLhsl(241, 65%, 38%)
HSVhsv(241, 78%, 62%)
CMYKcmyk(77.2%, 78.5%, 0%, 38%)
CIE-LABlab(23.63, 43.35, -65.63)
CIE-LCHlch(23.63, 78.66, 303.45°)
OKLaboklab(36.03% 0.0072 -0.19)
OKLCHoklch(36.03% 0.19 272.2)
XYZxyz(7.4691, 3.9869, 32.7170)
Luminance0.0399 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24229E #9C9E22
analogous
#225E9E #24229E #62229E
triadic
#24229E #9E2422 #229E24
tetradic
#24229E #9E225E #9C9E22 #229E62
square
#24229E #9E225E #9C9E22 #229E62
split-complementary
#24229E #9E6222 #5E9E22
monochromatic
#0D0C39 #19176C #24229E #2F2DD0 #605EDC

Accessibility & contrast

On white

11.68
#24229E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#24229E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #24229E
11.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24229E#FFFFFF#000000##FFFFFF
##24229E1.0011.681.8011.68
#FFFFFF11.681.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003EA2
Deuteranopia (green-blind)
#00329C
Tritanopia (blue-blind)
#00485F
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #24229e;
/* rgb */ color: rgb(36, 34, 158);
/* oklch */ color: oklch(36.0% 0.190 272.2);
Tailwind
colors: {
  custom: {
    50: '#7560bc',
    500: '#24229e',
    950: '#000000',
  },
}
SCSS
$custom: #24229e;
$custom-light: #7560bc;
$custom-dark: #000000;
JSON
{
  "hex": "#24229e",
  "rgb": {
    "r": 36,
    "g": 34,
    "b": 158
  },
  "hsl": {
    "h": 240.968,
    "s": 64.583,
    "l": 37.647
  },
  "oklch": {
    "l": 0.36031,
    "c": 0.19011,
    "h": 272.2
  },
  "luminance": 0.03988
}

Semantic roles & 50–950 ramp

primary
#24229E
secondary
#BFC15B
accent
#E840E5
background
#F7F5FB
surface
#EEE9F7
border
#C9C5D0
text
#0A0512
muted
#7C7981

Preview Lab

Preview with #24229E

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

Preview Lab → · Contrast checker → · Palette generator →

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