#4032C1#4032C1

#4032C1 is a dark, highly saturated blue. Relative luminance 0.072; OKLCH L 43.7% C 0.210 H 277.6°. Best body text is #FFFFFF at 8.59:1 contrast (WCAG AA passes).

Color values

HEX#4032C1
RGBrgb(64, 50, 193)
HSLhsl(246, 59%, 48%)
HSVhsv(246, 74%, 76%)
CMYKcmyk(66.8%, 74.1%, 0%, 24.3%)
CIE-LABlab(32.30, 48.60, -72.20)
CIE-LCHlch(32.30, 87.03, 303.95°)
OKLaboklab(43.75% 0.0277 -0.2086)
OKLCHoklch(43.75% 0.21 277.6)
XYZxyz(12.8775, 7.2203, 51.1568)
Luminance0.0722 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4032C1 #B3C132
analogous
#326CC1 #4032C1 #8732C1
triadic
#4032C1 #C14032 #32C140
tetradic
#4032C1 #C1326C #B3C132 #32C187
square
#4032C1 #C1326C #B3C132 #32C187
split-complementary
#4032C1 #C18732 #6CC132
monochromatic
#201960 #302590 #4032C1 #675CD5 #948CE1

Accessibility & contrast

On white

8.59
#4032C1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#4032C1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4032C1
8.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4032C1#FFFFFF#000000##FFFFFF
##4032C11.008.592.448.59
#FFFFFF8.591.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052C5
Deuteranopia (green-blind)
#0046BE
Tritanopia (blue-blind)
#005B77
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #4032c1;
/* rgb */ color: rgb(64, 50, 193);
/* oklch */ color: oklch(43.7% 0.210 277.6);
Tailwind
colors: {
  custom: {
    50: '#866cd5',
    500: '#4032c1',
    950: '#000000',
  },
}
SCSS
$custom: #4032c1;
$custom-light: #866cd5;
$custom-dark: #000000;
JSON
{
  "hex": "#4032c1",
  "rgb": {
    "r": 64,
    "g": 50,
    "b": 193
  },
  "hsl": {
    "h": 245.874,
    "s": 58.848,
    "l": 47.647
  },
  "oklch": {
    "l": 0.43749,
    "c": 0.21039,
    "h": 277.6
  },
  "luminance": 0.07221
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4032C1

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

Preview Lab → · Contrast checker → · Palette generator →

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