#4032C2#4032C2

#4032C2 is a dark, highly saturated blue. Relative luminance 0.073; OKLCH L 43.9% C 0.212 H 277.5°. Best body text is #FFFFFF at 8.56:1 contrast (WCAG AA passes).

Color values

HEX#4032C2
RGBrgb(64, 50, 194)
HSLhsl(246, 59%, 48%)
HSVhsv(246, 74%, 76%)
CMYKcmyk(67%, 74.2%, 0%, 23.9%)
CIE-LABlab(32.40, 48.91, -72.62)
CIE-LCHlch(32.40, 87.56, 303.96°)
OKLaboklab(43.85% 0.0275 -0.2098)
OKLCHoklch(43.85% 0.212 277.5)
XYZxyz(12.9894, 7.2651, 51.7463)
Luminance0.0727 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4032C2 #B4C232
analogous
#326CC2 #4032C2 #8832C2
triadic
#4032C2 #C24032 #32C240
tetradic
#4032C2 #C2326C #B4C232 #32C288
square
#4032C2 #C2326C #B4C232 #32C288
split-complementary
#4032C2 #C28832 #6CC232
monochromatic
#201961 #302591 #4032C2 #685CD5 #958DE2

Accessibility & contrast

On white

8.56
#4032C2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#4032C2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4032C2
8.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4032C2#FFFFFF#000000##FFFFFF
##4032C21.008.562.458.56
#FFFFFF8.561.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052C6
Deuteranopia (green-blind)
#0046BF
Tritanopia (blue-blind)
#005B78
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #4032c2;
/* rgb */ color: rgb(64, 50, 194);
/* oklch */ color: oklch(43.9% 0.212 277.5);
Tailwind
colors: {
  custom: {
    50: '#866cd6',
    500: '#4032c2',
    950: '#000000',
  },
}
SCSS
$custom: #4032c2;
$custom-light: #866cd6;
$custom-dark: #000000;
JSON
{
  "hex": "#4032c2",
  "rgb": {
    "r": 64,
    "g": 50,
    "b": 194
  },
  "hsl": {
    "h": 245.833,
    "s": 59.016,
    "l": 47.843
  },
  "oklch": {
    "l": 0.4385,
    "c": 0.21159,
    "h": 277.5
  },
  "luminance": 0.07266
}

Semantic roles & 50–950 ramp

primary
#4032C2
secondary
#C5CC84
accent
#E246D3
background
#F9F6FD
surface
#F1ECFA
border
#CBC7D3
text
#0D0714
muted
#7E7A83

Preview Lab

Preview with #4032C2

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

Preview Lab → · Contrast checker → · Palette generator →

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