#4032AC#4032AC

#4032AC is a dark, vivid blue. Relative luminance 0.064; OKLCH L 41.7% C 0.185 H 279.9°. Best body text is #FFFFFF at 9.25:1 contrast (WCAG AA passes).

Color values

HEX#4032AC
RGBrgb(64, 50, 172)
HSLhsl(247, 55%, 44%)
HSVhsv(247, 71%, 67%)
CMYKcmyk(62.8%, 70.9%, 0%, 32.5%)
CIE-LABlab(30.28, 41.95, -63.07)
CIE-LCHlch(30.28, 75.75, 303.63°)
OKLaboklab(41.7% 0.0318 -0.1819)
OKLCHoklch(41.7% 0.185 279.9)
XYZxyz(10.6990, 6.3489, 39.6834)
Luminance0.0635 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4032AC #9EAC32
analogous
#3261AC #4032AC #7D32AC
triadic
#4032AC #AC4032 #32AC40
tetradic
#4032AC #AC3261 #9EAC32 #32AC7D
square
#4032AC #AC3261 #9EAC32 #32AC7D
split-complementary
#4032AC #AC7D32 #61AC32
monochromatic
#1D164D #2E247D #4032AC #5E4FCC #897FDA

Accessibility & contrast

On white

9.25
#4032AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#4032AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4032AC
9.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4032AC#FFFFFF#000000##FFFFFF
##4032AC1.009.252.279.25
#FFFFFF9.251.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CB0
Deuteranopia (green-blind)
#0043AA
Tritanopia (blue-blind)
#00536B
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #4032ac;
/* rgb */ color: rgb(64, 50, 172);
/* oklch */ color: oklch(41.7% 0.185 279.9);
Tailwind
colors: {
  custom: {
    50: '#826cc6',
    500: '#4032ac',
    950: '#000000',
  },
}
SCSS
$custom: #4032ac;
$custom-light: #826cc6;
$custom-dark: #000000;
JSON
{
  "hex": "#4032ac",
  "rgb": {
    "r": 64,
    "g": 50,
    "b": 172
  },
  "hsl": {
    "h": 246.885,
    "s": 54.955,
    "l": 43.529
  },
  "oklch": {
    "l": 0.41696,
    "c": 0.18466,
    "h": 279.9
  },
  "luminance": 0.0635
}

Semantic roles & 50–950 ramp

primary
#4032AC
secondary
#BAC377
accent
#DE4ACD
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0713
muted
#7D7A82

Preview Lab

Preview with #4032AC

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

Preview Lab → · Contrast checker → · Palette generator →

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