#24206C#24206C

#24206C is a dark, vivid blue. Relative luminance 0.025; OKLCH L 30.3% C 0.127 H 278.0°. Best body text is #FFFFFF at 14.02:1 contrast (WCAG AA passes).

Color values

HEX#24206C
RGBrgb(36, 32, 108)
HSLhsl(243, 54%, 27%)
HSVhsv(243, 70%, 42%)
CMYKcmyk(66.7%, 70.4%, 0%, 57.6%)
CIE-LABlab(17.88, 27.17, -43.63)
CIE-LCHlch(17.88, 51.40, 301.92°)
OKLaboklab(30.34% 0.0177 -0.1258)
OKLCHoklch(30.34% 0.127 278)
XYZxyz(3.9500, 2.4905, 14.4570)
Luminance0.0249 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24206C #686C20
analogous
#20426C #24206C #4A206C
triadic
#24206C #6C2420 #206C24
tetradic
#24206C #6C2042 #686C20 #206C4A
square
#24206C #6C2042 #686C20 #206C4A
split-complementary
#24206C #6C4A20 #426C20
monochromatic
#080718 #14123D #24206C #342E9B #4740C6

Accessibility & contrast

On white

14.02
#24206C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#24206C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #24206C
14.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24206C#FFFFFF#000000##FFFFFF
##24206C1.0014.021.5014.02
#FFFFFF14.021.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF14.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F6E
Deuteranopia (green-blind)
#00296B
Tritanopia (blue-blind)
#003443
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #24206c;
/* rgb */ color: rgb(36, 32, 108);
/* oklch */ color: oklch(30.3% 0.127 278.0);
Tailwind
colors: {
  custom: {
    50: '#695c97',
    500: '#24206c',
    950: '#000000',
  },
}
SCSS
$custom: #24206c;
$custom-light: #695c97;
$custom-dark: #000000;
JSON
{
  "hex": "#24206c",
  "rgb": {
    "r": 36,
    "g": 32,
    "b": 108
  },
  "hsl": {
    "h": 243.158,
    "s": 54.286,
    "l": 27.451
  },
  "oklch": {
    "l": 0.30343,
    "c": 0.12702,
    "h": 278
  },
  "luminance": 0.02491
}

Semantic roles & 50–950 ramp

primary
#24206C
secondary
#9BA048
accent
#DE4AD6
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07040D
muted
#7A797E

Preview Lab

Preview with #24206C

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

Preview Lab → · Contrast checker → · Palette generator →

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