#4032C4#4032C4

#4032C4 is a dark, highly saturated blue. Relative luminance 0.074; OKLCH L 44.1% C 0.214 H 277.3°. Best body text is #FFFFFF at 8.50:1 contrast (WCAG AA passes).

Color values

HEX#4032C4
RGBrgb(64, 50, 196)
HSLhsl(246, 59%, 48%)
HSVhsv(246, 74%, 77%)
CMYKcmyk(67.3%, 74.5%, 0%, 23.1%)
CIE-LABlab(32.60, 49.53, -73.47)
CIE-LCHlch(32.60, 88.61, 303.99°)
OKLaboklab(44.05% 0.0271 -0.2123)
OKLCHoklch(44.05% 0.214 277.3)
XYZxyz(13.2155, 7.3556, 52.9372)
Luminance0.0736 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4032C4 #B6C432
analogous
#326DC4 #4032C4 #8932C4
triadic
#4032C4 #C44032 #32C440
tetradic
#4032C4 #C4326D #B6C432 #32C489
square
#4032C4 #C4326D #B6C432 #32C489
split-complementary
#4032C4 #C48932 #6DC432
monochromatic
#201962 #302693 #4032C4 #695DD6 #968EE2

Accessibility & contrast

On white

8.50
#4032C4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#4032C4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4032C4
8.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4032C4#FFFFFF#000000##FFFFFF
##4032C41.008.502.478.50
#FFFFFF8.501.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053C8
Deuteranopia (green-blind)
#0046C1
Tritanopia (blue-blind)
#005C79
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #4032c4;
/* rgb */ color: rgb(64, 50, 196);
/* oklch */ color: oklch(44.1% 0.214 277.3);
Tailwind
colors: {
  custom: {
    50: '#876dd7',
    500: '#4032c4',
    950: '#000000',
  },
}
SCSS
$custom: #4032c4;
$custom-light: #876dd7;
$custom-dark: #000000;
JSON
{
  "hex": "#4032c4",
  "rgb": {
    "r": 64,
    "g": 50,
    "b": 196
  },
  "hsl": {
    "h": 245.753,
    "s": 59.35,
    "l": 48.235
  },
  "oklch": {
    "l": 0.44051,
    "c": 0.21398,
    "h": 277.3
  },
  "luminance": 0.07357
}

Semantic roles & 50–950 ramp

primary
#4032C4
secondary
#C6CD85
accent
#E345D3
background
#F9F6FD
surface
#F1ECFA
border
#CBC7D3
text
#0D0715
muted
#7E7A83

Preview Lab

Preview with #4032C4

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

Preview Lab → · Contrast checker → · Palette generator →

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