#24206D#24206D

#24206D is a dark, vivid blue. Relative luminance 0.025; OKLCH L 30.4% C 0.128 H 277.8°. Best body text is #FFFFFF at 13.98:1 contrast (WCAG AA passes).

Color values

HEX#24206D
RGBrgb(36, 32, 109)
HSLhsl(243, 55%, 28%)
HSVhsv(243, 71%, 43%)
CMYKcmyk(67%, 70.6%, 0%, 57.3%)
CIE-LABlab(17.97, 27.54, -44.12)
CIE-LCHlch(17.97, 52.01, 301.97°)
OKLaboklab(30.44% 0.0175 -0.1272)
OKLCHoklch(30.44% 0.128 277.8)
XYZxyz(4.0035, 2.5119, 14.7389)
Luminance0.0251 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24206D #696D20
analogous
#20426D #24206D #4A206D
triadic
#24206D #6D2420 #206D24
tetradic
#24206D #6D2042 #696D20 #206D4A
square
#24206D #6D2042 #696D20 #206D4A
split-complementary
#24206D #6D4A20 #426D20
monochromatic
#080718 #14123E #24206D #342E9C #4740C7

Accessibility & contrast

On white

13.98
#24206D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #24206D
13.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24206D#FFFFFF#000000##FFFFFF
##24206D1.0013.981.5013.98
#FFFFFF13.981.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF13.981.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #24206d;
/* rgb */ color: rgb(36, 32, 109);
/* oklch */ color: oklch(30.4% 0.128 277.8);
Tailwind
colors: {
  custom: {
    50: '#695c98',
    500: '#24206d',
    950: '#000000',
  },
}
SCSS
$custom: #24206d;
$custom-light: #695c98;
$custom-dark: #000000;
JSON
{
  "hex": "#24206d",
  "rgb": {
    "r": 36,
    "g": 32,
    "b": 109
  },
  "hsl": {
    "h": 243.117,
    "s": 54.61,
    "l": 27.647
  },
  "oklch": {
    "l": 0.30443,
    "c": 0.12844,
    "h": 277.8
  },
  "luminance": 0.02512
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #24206D

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

Preview Lab → · Contrast checker → · Palette generator →

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