#4032A5#4032A5

#4032A5 is a dark, vivid blue. Relative luminance 0.061; OKLCH L 41.0% C 0.176 H 280.8°. Best body text is #FFFFFF at 9.47:1 contrast (WCAG AA passes).

Color values

HEX#4032A5
RGBrgb(64, 50, 165)
HSLhsl(247, 53%, 42%)
HSVhsv(247, 70%, 65%)
CMYKcmyk(61.2%, 69.7%, 0%, 35.3%)
CIE-LABlab(29.63, 39.70, -59.92)
CIE-LCHlch(29.63, 71.88, 303.53°)
OKLaboklab(41.04% 0.033 -0.1727)
OKLCHoklch(41.04% 0.176 280.8)
XYZxyz(10.0443, 6.0871, 36.2356)
Luminance0.0609 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4032A5 #97A532
analogous
#325EA5 #4032A5 #7932A5
triadic
#4032A5 #A54032 #32A540
tetradic
#4032A5 #A5325E #97A532 #32A579
square
#4032A5 #A5325E #97A532 #32A579
split-complementary
#4032A5 #A57932 #5EA532
monochromatic
#1C1647 #2E2476 #4032A5 #5B4CC9 #867BD7

Accessibility & contrast

On white

9.47
#4032A5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#4032A5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4032A5
9.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4032A5#FFFFFF#000000##FFFFFF
##4032A51.009.472.229.47
#FFFFFF9.471.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.471.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4032a5;
/* rgb */ color: rgb(64, 50, 165);
/* oklch */ color: oklch(41.0% 0.176 280.8);
Tailwind
colors: {
  custom: {
    50: '#816bc1',
    500: '#4032a5',
    950: '#000000',
  },
}
SCSS
$custom: #4032a5;
$custom-light: #816bc1;
$custom-dark: #000000;
JSON
{
  "hex": "#4032a5",
  "rgb": {
    "r": 64,
    "g": 50,
    "b": 165
  },
  "hsl": {
    "h": 247.304,
    "s": 53.488,
    "l": 42.157
  },
  "oklch": {
    "l": 0.41037,
    "c": 0.17581,
    "h": 280.8
  },
  "luminance": 0.06088
}

Semantic roles & 50–950 ramp

primary
#4032A5
secondary
#B6BF73
accent
#DD4BCB
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0B0712
muted
#7C7A81

Preview Lab

Preview with #4032A5

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

Preview Lab → · Contrast checker → · Palette generator →

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