#24206E#24206E

#24206E is a dark, vivid blue. Relative luminance 0.025; OKLCH L 30.5% C 0.130 H 277.7°. Best body text is #FFFFFF at 13.94:1 contrast (WCAG AA passes).

Color values

HEX#24206E
RGBrgb(36, 32, 110)
HSLhsl(243, 55%, 28%)
HSVhsv(243, 71%, 43%)
CMYKcmyk(67.3%, 70.9%, 0%, 56.9%)
CIE-LABlab(18.07, 27.90, -44.61)
CIE-LCHlch(18.07, 52.61, 302.02°)
OKLaboklab(30.54% 0.0174 -0.1287)
OKLCHoklch(30.54% 0.13 277.7)
XYZxyz(4.0576, 2.5336, 15.0240)
Luminance0.0253 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24206E #6A6E20
analogous
#20436E #24206E #4B206E
triadic
#24206E #6E2420 #206E24
tetradic
#24206E #6E2043 #6A6E20 #206E4B
square
#24206E #6E2043 #6A6E20 #206E4B
split-complementary
#24206E #6E4B20 #436E20
monochromatic
#080718 #14123F #24206E #342E9D #4841C8

Accessibility & contrast

On white

13.94
#24206E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #24206E
13.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24206E#FFFFFF#000000##FFFFFF
##24206E1.0013.941.5113.94
#FFFFFF13.941.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F70
Deuteranopia (green-blind)
#00296D
Tritanopia (blue-blind)
#003544
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #24206e;
/* rgb */ color: rgb(36, 32, 110);
/* oklch */ color: oklch(30.5% 0.130 277.7);
Tailwind
colors: {
  custom: {
    50: '#695c98',
    500: '#24206e',
    950: '#000000',
  },
}
SCSS
$custom: #24206e;
$custom-light: #695c98;
$custom-dark: #000000;
JSON
{
  "hex": "#24206e",
  "rgb": {
    "r": 36,
    "g": 32,
    "b": 110
  },
  "hsl": {
    "h": 243.077,
    "s": 54.93,
    "l": 27.843
  },
  "oklch": {
    "l": 0.30543,
    "c": 0.12984,
    "h": 277.7
  },
  "luminance": 0.02534
}

Semantic roles & 50–950 ramp

primary
#24206E
secondary
#9DA248
accent
#DE4AD7
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07040E
muted
#7A797E

Preview Lab

Preview with #24206E

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

Preview Lab → · Contrast checker → · Palette generator →

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