#24206B#24206B

#24206B is a dark, vivid blue. Relative luminance 0.025; OKLCH L 30.2% C 0.126 H 278.1°. Best body text is #FFFFFF at 14.06:1 contrast (WCAG AA passes).

Color values

HEX#24206B
RGBrgb(36, 32, 107)
HSLhsl(243, 54%, 27%)
HSVhsv(243, 70%, 42%)
CMYKcmyk(66.4%, 70.1%, 0%, 58%)
CIE-LABlab(17.78, 26.81, -43.13)
CIE-LCHlch(17.78, 50.79, 301.87°)
OKLaboklab(30.24% 0.0178 -0.1243)
OKLCHoklch(30.24% 0.126 278.1)
XYZxyz(3.8971, 2.4693, 14.1783)
Luminance0.0247 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24206B #676B20
analogous
#20426B #24206B #4A206B
triadic
#24206B #6B2420 #206B24
tetradic
#24206B #6B2042 #676B20 #206B4A
square
#24206B #6B2042 #676B20 #206B4A
split-complementary
#24206B #6B4A20 #426B20
monochromatic
#080718 #14123C #24206B #342E9A #4740C6

Accessibility & contrast

On white

14.06
#24206B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#24206B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #24206B
14.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24206B#FFFFFF#000000##FFFFFF
##24206B1.0014.061.4914.06
#FFFFFF14.061.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F6D
Deuteranopia (green-blind)
#00286A
Tritanopia (blue-blind)
#003442
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #24206b;
/* rgb */ color: rgb(36, 32, 107);
/* oklch */ color: oklch(30.2% 0.126 278.1);
Tailwind
colors: {
  custom: {
    50: '#685c96',
    500: '#24206b',
    950: '#000000',
  },
}
SCSS
$custom: #24206b;
$custom-light: #685c96;
$custom-dark: #000000;
JSON
{
  "hex": "#24206b",
  "rgb": {
    "r": 36,
    "g": 32,
    "b": 107
  },
  "hsl": {
    "h": 243.2,
    "s": 53.957,
    "l": 27.255
  },
  "oklch": {
    "l": 0.30244,
    "c": 0.12562,
    "h": 278.1
  },
  "luminance": 0.0247
}

Semantic roles & 50–950 ramp

primary
#24206B
secondary
#9A9F48
accent
#DD4AD5
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07040D
muted
#7A797E

Preview Lab

Preview with #24206B

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

Preview Lab → · Contrast checker → · Palette generator →

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