#24229D#24229D

#24229D is a dark, vivid blue. Relative luminance 0.040; OKLCH L 35.9% C 0.189 H 272.3°. Best body text is #FFFFFF at 11.73:1 contrast (WCAG AA passes).

Color values

HEX#24229D
RGBrgb(36, 34, 157)
HSLhsl(241, 64%, 37%)
HSVhsv(241, 78%, 62%)
CMYKcmyk(77.1%, 78.3%, 0%, 38.4%)
CIE-LABlab(23.51, 43.02, -65.21)
CIE-LCHlch(23.51, 78.12, 303.41°)
OKLaboklab(35.92% 0.0074 -0.1887)
OKLCHoklch(35.92% 0.189 272.3)
XYZxyz(7.3833, 3.9527, 32.2656)
Luminance0.0395 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24229D #9B9D22
analogous
#225D9D #24229D #62229D
triadic
#24229D #9D2422 #229D24
tetradic
#24229D #9D225D #9B9D22 #229D62
square
#24229D #9D225D #9B9D22 #229D62
split-complementary
#24229D #9D6222 #5D9D22
monochromatic
#0D0C38 #18176B #24229D #302DCF #5F5DDC

Accessibility & contrast

On white

11.73
#24229D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#24229D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #24229D
11.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24229D#FFFFFF#000000##FFFFFF
##24229D1.0011.731.7911.73
#FFFFFF11.731.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003EA0
Deuteranopia (green-blind)
#00329B
Tritanopia (blue-blind)
#00475F
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #24229d;
/* rgb */ color: rgb(36, 34, 157);
/* oklch */ color: oklch(35.9% 0.189 272.3);
Tailwind
colors: {
  custom: {
    50: '#755fbb',
    500: '#24229d',
    950: '#000000',
  },
}
SCSS
$custom: #24229d;
$custom-light: #755fbb;
$custom-dark: #000000;
JSON
{
  "hex": "#24229d",
  "rgb": {
    "r": 36,
    "g": 34,
    "b": 157
  },
  "hsl": {
    "h": 240.976,
    "s": 64.398,
    "l": 37.451
  },
  "oklch": {
    "l": 0.35918,
    "c": 0.1889,
    "h": 272.3
  },
  "luminance": 0.03953
}

Semantic roles & 50–950 ramp

primary
#24229D
secondary
#BFC15A
accent
#E740E5
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0512
muted
#7C7981

Preview Lab

Preview with #24229D

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

Preview Lab → · Contrast checker → · Palette generator →

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