#4024DB#4024DB

#4024DB is a dark, highly saturated blue. Relative luminance 0.075; OKLCH L 44.9% C 0.251 H 276.2°. Best body text is #FFFFFF at 8.42:1 contrast (WCAG AA passes).

Color values

HEX#4024DB
RGBrgb(64, 36, 219)
HSLhsl(249, 72%, 50%)
HSVhsv(249, 84%, 86%)
CMYKcmyk(70.8%, 83.6%, 0%, 14.1%)
CIE-LABlab(32.84, 62.80, -86.43)
CIE-LCHlch(32.84, 106.84, 306.00°)
OKLaboklab(44.94% 0.027 -0.2497)
OKLCHoklch(44.94% 0.251 276.2)
XYZxyz(15.5272, 7.4647, 67.6266)
Luminance0.0747 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4024DB #BFDB24
analogous
#2464DB #4024DB #9B24DB
triadic
#4024DB #DB4024 #24DB40
tetradic
#4024DB #DB2464 #BFDB24 #24DB9B
square
#4024DB #DB2464 #BFDB24 #24DB9B
split-complementary
#4024DB #DB9B24 #64DB24
monochromatic
#211372 #311BA6 #4024DB #6E59E4 #9C8DEC

Accessibility & contrast

On white

8.42
#4024DB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#4024DB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4024DB
8.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4024DB#FFFFFF#000000##FFFFFF
##4024DB1.008.422.498.42
#FFFFFF8.421.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055E0
Deuteranopia (green-blind)
#0045D8
Tritanopia (blue-blind)
#006083
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #4024db;
/* rgb */ color: rgb(64, 36, 219);
/* oklch */ color: oklch(44.9% 0.251 276.2);
Tailwind
colors: {
  custom: {
    50: '#8d66e8',
    500: '#4024db',
    950: '#000000',
  },
}
SCSS
$custom: #4024db;
$custom-light: #8d66e8;
$custom-dark: #000000;
JSON
{
  "hex": "#4024db",
  "rgb": {
    "r": 64,
    "g": 36,
    "b": 219
  },
  "hsl": {
    "h": 249.18,
    "s": 71.765,
    "l": 50
  },
  "oklch": {
    "l": 0.44943,
    "c": 0.25121,
    "h": 276.2
  },
  "luminance": 0.07466
}

Semantic roles & 50–950 ramp

primary
#4024DB
secondary
#CAD684
accent
#EE39D3
background
#F9F6FE
surface
#F2EBFD
border
#CCC6D5
text
#0E0616
muted
#7E7A84

Preview Lab

Preview with #4024DB

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

Preview Lab → · Contrast checker → · Palette generator →

#4024DB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva