#4032AE#4032AE

#4032AE is a dark, vivid blue. Relative luminance 0.064; OKLCH L 41.9% C 0.187 H 279.7°. Best body text is #FFFFFF at 9.19:1 contrast (WCAG AA passes).

Color values

HEX#4032AE
RGBrgb(64, 50, 174)
HSLhsl(247, 55%, 44%)
HSVhsv(247, 71%, 68%)
CMYKcmyk(63.2%, 71.3%, 0%, 31.8%)
CIE-LABlab(30.46, 42.59, -63.96)
CIE-LCHlch(30.46, 76.85, 303.66°)
OKLaboklab(41.89% 0.0315 -0.1845)
OKLCHoklch(41.89% 0.187 279.7)
XYZxyz(10.8925, 6.4263, 40.7026)
Luminance0.0643 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4032AE #A0AE32
analogous
#3262AE #4032AE #7E32AE
triadic
#4032AE #AE4032 #32AE40
tetradic
#4032AE #AE3262 #A0AE32 #32AE7E
square
#4032AE #AE3262 #A0AE32 #32AE7E
split-complementary
#4032AE #AE7E32 #62AE32
monochromatic
#1D174F #2F247E #4032AE #5E50CD #8A80DA

Accessibility & contrast

On white

9.19
#4032AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#4032AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4032AE
9.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4032AE#FFFFFF#000000##FFFFFF
##4032AE1.009.192.299.19
#FFFFFF9.191.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CB2
Deuteranopia (green-blind)
#0043AC
Tritanopia (blue-blind)
#00546C
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #4032ae;
/* rgb */ color: rgb(64, 50, 174);
/* oklch */ color: oklch(41.9% 0.187 279.7);
Tailwind
colors: {
  custom: {
    50: '#826cc7',
    500: '#4032ae',
    950: '#000000',
  },
}
SCSS
$custom: #4032ae;
$custom-light: #826cc7;
$custom-dark: #000000;
JSON
{
  "hex": "#4032ae",
  "rgb": {
    "r": 64,
    "g": 50,
    "b": 174
  },
  "hsl": {
    "h": 246.774,
    "s": 55.357,
    "l": 43.922
  },
  "oklch": {
    "l": 0.41887,
    "c": 0.18717,
    "h": 279.7
  },
  "luminance": 0.06427
}

Semantic roles & 50–950 ramp

primary
#4032AE
secondary
#BBC478
accent
#DF49CE
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0713
muted
#7D7A82

Preview Lab

Preview with #4032AE

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

Preview Lab → · Contrast checker → · Palette generator →

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