#4032C9#4032C9

#4032C9 is a dark, highly saturated blue. Relative luminance 0.076; OKLCH L 44.6% C 0.220 H 276.8°. Best body text is #FFFFFF at 8.34:1 contrast (WCAG AA passes).

Color values

HEX#4032C9
RGBrgb(64, 50, 201)
HSLhsl(246, 60%, 49%)
HSVhsv(246, 75%, 79%)
CMYKcmyk(68.2%, 75.1%, 0%, 21.2%)
CIE-LABlab(33.11, 51.09, -75.56)
CIE-LCHlch(33.11, 91.21, 304.06°)
OKLaboklab(44.56% 0.026 -0.2183)
OKLCHoklch(44.56% 0.22 276.8)
XYZxyz(13.7941, 7.5870, 55.9845)
Luminance0.0759 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4032C9 #BBC932
analogous
#3270C9 #4032C9 #8C32C9
triadic
#4032C9 #C94032 #32C940
tetradic
#4032C9 #C93270 #BBC932 #32C98C
square
#4032C9 #C93270 #BBC932 #32C98C
split-complementary
#4032C9 #C98C32 #70C932
monochromatic
#211A67 #302698 #4032C9 #6C61D8 #9992E4

Accessibility & contrast

On white

8.34
#4032C9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#4032C9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4032C9
8.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4032C9#FFFFFF#000000##FFFFFF
##4032C91.008.342.528.34
#FFFFFF8.341.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054CD
Deuteranopia (green-blind)
#0047C6
Tritanopia (blue-blind)
#005E7B
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #4032c9;
/* rgb */ color: rgb(64, 50, 201);
/* oklch */ color: oklch(44.6% 0.220 276.8);
Tailwind
colors: {
  custom: {
    50: '#886ddb',
    500: '#4032c9',
    950: '#000000',
  },
}
SCSS
$custom: #4032c9;
$custom-light: #886ddb;
$custom-dark: #000000;
JSON
{
  "hex": "#4032c9",
  "rgb": {
    "r": 64,
    "g": 50,
    "b": 201
  },
  "hsl": {
    "h": 245.563,
    "s": 60.159,
    "l": 49.216
  },
  "oklch": {
    "l": 0.44557,
    "c": 0.21989,
    "h": 276.8
  },
  "luminance": 0.07588
}

Semantic roles & 50–950 ramp

primary
#4032C9
secondary
#C8CF88
accent
#E344D5
background
#F9F6FD
surface
#F1ECFB
border
#CBC7D4
text
#0D0715
muted
#7E7A83

Preview Lab

Preview with #4032C9

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

Preview Lab → · Contrast checker → · Palette generator →

#4032C9 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva