#24206F#24206F

#24206F is a dark, vivid blue. Relative luminance 0.026; OKLCH L 30.6% C 0.131 H 277.5°. Best body text is #FFFFFF at 13.90:1 contrast (WCAG AA passes).

Color values

HEX#24206F
RGBrgb(36, 32, 111)
HSLhsl(243, 55%, 28%)
HSVhsv(243, 71%, 44%)
CMYKcmyk(67.6%, 71.2%, 0%, 56.5%)
CIE-LABlab(18.17, 28.26, -45.10)
CIE-LCHlch(18.17, 53.22, 302.07°)
OKLaboklab(30.64% 0.0172 -0.1301)
OKLCHoklch(30.64% 0.131 277.5)
XYZxyz(4.1124, 2.5555, 15.3124)
Luminance0.0256 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24206F #6B6F20
analogous
#20436F #24206F #4B206F
triadic
#24206F #6F2420 #206F24
tetradic
#24206F #6F2043 #6B6F20 #206F4B
square
#24206F #6F2043 #6B6F20 #206F4B
split-complementary
#24206F #6F4B20 #436F20
monochromatic
#080718 #15123F #24206F #332E9F #4841C8

Accessibility & contrast

On white

13.90
#24206F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#24206F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #24206F
13.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24206F#FFFFFF#000000##FFFFFF
##24206F1.0013.901.5113.90
#FFFFFF13.901.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003071
Deuteranopia (green-blind)
#00296E
Tritanopia (blue-blind)
#003544
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #24206f;
/* rgb */ color: rgb(36, 32, 111);
/* oklch */ color: oklch(30.6% 0.131 277.5);
Tailwind
colors: {
  custom: {
    50: '#695c99',
    500: '#24206f',
    950: '#000000',
  },
}
SCSS
$custom: #24206f;
$custom-light: #695c99;
$custom-dark: #000000;
JSON
{
  "hex": "#24206f",
  "rgb": {
    "r": 36,
    "g": 32,
    "b": 111
  },
  "hsl": {
    "h": 243.038,
    "s": 55.245,
    "l": 28.039
  },
  "oklch": {
    "l": 0.30644,
    "c": 0.13124,
    "h": 277.5
  },
  "luminance": 0.02556
}

Semantic roles & 50–950 ramp

primary
#24206F
secondary
#9EA348
accent
#DF49D7
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07040E
muted
#7A797E

Preview Lab

Preview with #24206F

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

Preview Lab → · Contrast checker → · Palette generator →

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