#4032BA#4032BA

#4032BA is a dark, highly saturated blue. Relative luminance 0.069; OKLCH L 43.1% C 0.202 H 278.3°. Best body text is #FFFFFF at 8.81:1 contrast (WCAG AA passes).

Color values

HEX#4032BA
RGBrgb(64, 50, 186)
HSLhsl(246, 58%, 46%)
HSVhsv(246, 73%, 73%)
CMYKcmyk(65.6%, 73.1%, 0%, 27.1%)
CIE-LABlab(31.61, 46.40, -69.21)
CIE-LCHlch(31.61, 83.32, 303.84°)
OKLaboklab(43.05% 0.0292 -0.1998)
OKLCHoklch(43.05% 0.202 278.3)
XYZxyz(12.1150, 6.9154, 47.1412)
Luminance0.0692 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4032BA #ACBA32
analogous
#3268BA #4032BA #8432BA
triadic
#4032BA #BA4032 #32BA40
tetradic
#4032BA #BA3268 #ACBA32 #32BA84
square
#4032BA #BA3268 #ACBA32 #32BA84
split-complementary
#4032BA #BA8432 #68BA32
monochromatic
#1F185A #2F258A #4032BA #6457D2 #9188DF

Accessibility & contrast

On white

8.81
#4032BA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#4032BA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4032BA
8.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4032BA#FFFFFF#000000##FFFFFF
##4032BA1.008.812.388.81
#FFFFFF8.811.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050BE
Deuteranopia (green-blind)
#0045B8
Tritanopia (blue-blind)
#005873
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #4032ba;
/* rgb */ color: rgb(64, 50, 186);
/* oklch */ color: oklch(43.1% 0.202 278.3);
Tailwind
colors: {
  custom: {
    50: '#856cd0',
    500: '#4032ba',
    950: '#000000',
  },
}
SCSS
$custom: #4032ba;
$custom-light: #856cd0;
$custom-dark: #000000;
JSON
{
  "hex": "#4032ba",
  "rgb": {
    "r": 64,
    "g": 50,
    "b": 186
  },
  "hsl": {
    "h": 246.176,
    "s": 57.627,
    "l": 46.275
  },
  "oklch": {
    "l": 0.43053,
    "c": 0.20195,
    "h": 278.3
  },
  "luminance": 0.06916
}

Semantic roles & 50–950 ramp

primary
#4032BA
secondary
#C1C97F
accent
#E147D1
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0714
muted
#7D7A82

Preview Lab

Preview with #4032BA

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

Preview Lab → · Contrast checker → · Palette generator →

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