#4032C5#4032C5

#4032C5 is a dark, highly saturated blue. Relative luminance 0.074; OKLCH L 44.2% C 0.215 H 277.2°. Best body text is #FFFFFF at 8.47:1 contrast (WCAG AA passes).

Color values

HEX#4032C5
RGBrgb(64, 50, 197)
HSLhsl(246, 60%, 48%)
HSVhsv(246, 75%, 77%)
CMYKcmyk(67.5%, 74.6%, 0%, 22.7%)
CIE-LABlab(32.70, 49.85, -73.89)
CIE-LCHlch(32.70, 89.13, 304.01°)
OKLaboklab(44.15% 0.0268 -0.2135)
OKLCHoklch(44.15% 0.215 277.2)
XYZxyz(13.3297, 7.4012, 53.5386)
Luminance0.0740 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4032C5 #B7C532
analogous
#326DC5 #4032C5 #8932C5
triadic
#4032C5 #C54032 #32C540
tetradic
#4032C5 #C5326D #B7C532 #32C589
square
#4032C5 #C5326D #B7C532 #32C589
split-complementary
#4032C5 #C58932 #6DC532
monochromatic
#201963 #302694 #4032C5 #695ED6 #978FE3

Accessibility & contrast

On white

8.47
#4032C5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#4032C5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4032C5
8.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4032C5#FFFFFF#000000##FFFFFF
##4032C51.008.472.488.47
#FFFFFF8.471.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053C9
Deuteranopia (green-blind)
#0047C2
Tritanopia (blue-blind)
#005C79
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #4032c5;
/* rgb */ color: rgb(64, 50, 197);
/* oklch */ color: oklch(44.2% 0.215 277.2);
Tailwind
colors: {
  custom: {
    50: '#876dd8',
    500: '#4032c5',
    950: '#000000',
  },
}
SCSS
$custom: #4032c5;
$custom-light: #876dd8;
$custom-dark: #000000;
JSON
{
  "hex": "#4032c5",
  "rgb": {
    "r": 64,
    "g": 50,
    "b": 197
  },
  "hsl": {
    "h": 245.714,
    "s": 59.514,
    "l": 48.431
  },
  "oklch": {
    "l": 0.44152,
    "c": 0.21516,
    "h": 277.2
  },
  "luminance": 0.07402
}

Semantic roles & 50–950 ramp

primary
#4032C5
secondary
#C6CD86
accent
#E345D4
background
#F9F6FD
surface
#F1ECFB
border
#CBC7D4
text
#0D0715
muted
#7E7A83

Preview Lab

Preview with #4032C5

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

Preview Lab → · Contrast checker → · Palette generator →

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