#4032DA#4032DA

#4032DA is a mid, highly saturated blue. Relative luminance 0.084; OKLCH L 46.3% C 0.240 H 275.3°. Best body text is #FFFFFF at 7.82:1 contrast (WCAG AA passes).

Color values

HEX#4032DA
RGBrgb(64, 50, 218)
HSLhsl(245, 69%, 53%)
HSVhsv(245, 77%, 85%)
CMYKcmyk(70.6%, 77.1%, 0%, 14.5%)
CIE-LABlab(34.87, 56.28, -82.50)
CIE-LCHlch(34.87, 99.87, 304.30°)
OKLaboklab(46.31% 0.0221 -0.2386)
OKLCHoklch(46.31% 0.24 275.3)
XYZxyz(15.9057, 8.4316, 67.1053)
Luminance0.0843 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4032DA #CCDA32
analogous
#3278DA #4032DA #9432DA
triadic
#4032DA #DA4032 #32DA40
tetradic
#4032DA #DA3278 #CCDA32 #32DA94
square
#4032DA #DA3278 #CCDA32 #32DA94
split-complementary
#4032DA #DA9432 #78DA32
monochromatic
#1F167B #2C20AF #4032DA #7066E3 #A19AED

Accessibility & contrast

On white

7.82
#4032DA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#4032DA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4032DA
7.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4032DA#FFFFFF#000000##FFFFFF
##4032DA1.007.822.697.82
#FFFFFF7.821.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059DF
Deuteranopia (green-blind)
#004AD7
Tritanopia (blue-blind)
#006585
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #4032da;
/* rgb */ color: rgb(64, 50, 218);
/* oklch */ color: oklch(46.3% 0.240 275.3);
Tailwind
colors: {
  custom: {
    50: '#8b6ee7',
    500: '#4032da',
    950: '#000000',
  },
}
SCSS
$custom: #4032da;
$custom-light: #8b6ee7;
$custom-dark: #000000;
JSON
{
  "hex": "#4032da",
  "rgb": {
    "r": 64,
    "g": 50,
    "b": 218
  },
  "hsl": {
    "h": 245,
    "s": 69.421,
    "l": 52.549
  },
  "oklch": {
    "l": 0.46313,
    "c": 0.23958,
    "h": 275.3
  },
  "luminance": 0.08433
}

Semantic roles & 50–950 ramp

primary
#4032DA
secondary
#D2D88F
accent
#EC3CDE
background
#F9F6FE
surface
#F2ECFD
border
#CCC7D5
text
#0E0716
muted
#7E7A84

Preview Lab

Preview with #4032DA

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

Preview Lab → · Contrast checker → · Palette generator →

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