#4032A4#4032A4

#4032A4 is a dark, vivid blue. Relative luminance 0.061; OKLCH L 40.9% C 0.175 H 281.0°. Best body text is #FFFFFF at 9.50:1 contrast (WCAG AA passes).

Color values

HEX#4032A4
RGBrgb(64, 50, 164)
HSLhsl(247, 53%, 42%)
HSVhsv(247, 70%, 64%)
CMYKcmyk(61%, 69.5%, 0%, 35.7%)
CIE-LABlab(29.54, 39.38, -59.47)
CIE-LCHlch(29.54, 71.33, 303.51°)
OKLaboklab(40.94% 0.0332 -0.1713)
OKLCHoklch(40.94% 0.175 281)
XYZxyz(9.9537, 6.0508, 35.7582)
Luminance0.0605 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4032A4 #96A432
analogous
#325DA4 #4032A4 #7932A4
triadic
#4032A4 #A44032 #32A440
tetradic
#4032A4 #A4325D #96A432 #32A479
square
#4032A4 #A4325D #96A432 #32A479
split-complementary
#4032A4 #A47932 #5DA432
monochromatic
#1B1546 #2E2475 #4032A4 #5A4BC8 #857AD6

Accessibility & contrast

On white

9.50
#4032A4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#4032A4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4032A4
9.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4032A4#FFFFFF#000000##FFFFFF
##4032A41.009.502.219.50
#FFFFFF9.501.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AA7
Deuteranopia (green-blind)
#0041A2
Tritanopia (blue-blind)
#005067
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #4032a4;
/* rgb */ color: rgb(64, 50, 164);
/* oklch */ color: oklch(40.9% 0.175 281.0);
Tailwind
colors: {
  custom: {
    50: '#806bc0',
    500: '#4032a4',
    950: '#000000',
  },
}
SCSS
$custom: #4032a4;
$custom-light: #806bc0;
$custom-dark: #000000;
JSON
{
  "hex": "#4032a4",
  "rgb": {
    "r": 64,
    "g": 50,
    "b": 164
  },
  "hsl": {
    "h": 247.368,
    "s": 53.271,
    "l": 41.961
  },
  "oklch": {
    "l": 0.40944,
    "c": 0.17453,
    "h": 281
  },
  "luminance": 0.06052
}

Semantic roles & 50–950 ramp

primary
#4032A4
secondary
#B6BF73
accent
#DD4BCB
background
#F8F6FB
surface
#F0EBF7
border
#CBC6D0
text
#0B0712
muted
#7C7A81

Preview Lab

Preview with #4032A4

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

Preview Lab → · Contrast checker → · Palette generator →

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