#4032AD#4032AD

#4032AD is a dark, vivid blue. Relative luminance 0.064; OKLCH L 41.8% C 0.186 H 279.8°. Best body text is #FFFFFF at 9.22:1 contrast (WCAG AA passes).

Color values

HEX#4032AD
RGBrgb(64, 50, 173)
HSLhsl(247, 55%, 44%)
HSVhsv(247, 71%, 68%)
CMYKcmyk(63%, 71.1%, 0%, 32.2%)
CIE-LABlab(30.37, 42.27, -63.52)
CIE-LCHlch(30.37, 76.30, 303.64°)
OKLaboklab(41.79% 0.0317 -0.1832)
OKLCHoklch(41.79% 0.186 279.8)
XYZxyz(10.7954, 6.3875, 40.1911)
Luminance0.0639 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4032AD #9FAD32
analogous
#3261AD #4032AD #7D32AD
triadic
#4032AD #AD4032 #32AD40
tetradic
#4032AD #AD3261 #9FAD32 #32AD7D
square
#4032AD #AD3261 #9FAD32 #32AD7D
split-complementary
#4032AD #AD7D32 #61AD32
monochromatic
#1D174E #2E247E #4032AD #5E50CC #8A7FDA

Accessibility & contrast

On white

9.22
#4032AD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#4032AD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4032AD
9.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4032AD#FFFFFF#000000##FFFFFF
##4032AD1.009.222.289.22
#FFFFFF9.221.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CB1
Deuteranopia (green-blind)
#0043AB
Tritanopia (blue-blind)
#00536C
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #4032ad;
/* rgb */ color: rgb(64, 50, 173);
/* oklch */ color: oklch(41.8% 0.186 279.8);
Tailwind
colors: {
  custom: {
    50: '#826cc7',
    500: '#4032ad',
    950: '#000000',
  },
}
SCSS
$custom: #4032ad;
$custom-light: #826cc7;
$custom-dark: #000000;
JSON
{
  "hex": "#4032ad",
  "rgb": {
    "r": 64,
    "g": 50,
    "b": 173
  },
  "hsl": {
    "h": 246.829,
    "s": 55.157,
    "l": 43.725
  },
  "oklch": {
    "l": 0.41791,
    "c": 0.18592,
    "h": 279.8
  },
  "luminance": 0.06388
}

Semantic roles & 50–950 ramp

primary
#4032AD
secondary
#BBC378
accent
#DE49CE
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0713
muted
#7D7A82

Preview Lab

Preview with #4032AD

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

Preview Lab → · Contrast checker → · Palette generator →

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