#4032BD#4032BD

#4032BD is a dark, highly saturated blue. Relative luminance 0.070; OKLCH L 43.4% C 0.206 H 278.0°. Best body text is #FFFFFF at 8.72:1 contrast (WCAG AA passes).

Color values

HEX#4032BD
RGBrgb(64, 50, 189)
HSLhsl(246, 58%, 47%)
HSVhsv(246, 74%, 74%)
CMYKcmyk(66.1%, 73.5%, 0%, 25.9%)
CIE-LABlab(31.91, 47.35, -70.50)
CIE-LCHlch(31.91, 84.92, 303.89°)
OKLaboklab(43.35% 0.0285 -0.2036)
OKLCHoklch(43.35% 0.206 278)
XYZxyz(12.4373, 7.0443, 48.8385)
Luminance0.0704 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4032BD #AFBD32
analogous
#326ABD #4032BD #8632BD
triadic
#4032BD #BD4032 #32BD40
tetradic
#4032BD #BD326A #AFBD32 #32BD86
square
#4032BD #BD326A #AFBD32 #32BD86
split-complementary
#4032BD #BD8632 #6ABD32
monochromatic
#1F185C #30258D #4032BD #6559D3 #9289E0

Accessibility & contrast

On white

8.72
#4032BD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#4032BD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4032BD
8.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4032BD#FFFFFF#000000##FFFFFF
##4032BD1.008.722.418.72
#FFFFFF8.721.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051C1
Deuteranopia (green-blind)
#0045BA
Tritanopia (blue-blind)
#005975
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #4032bd;
/* rgb */ color: rgb(64, 50, 189);
/* oklch */ color: oklch(43.4% 0.206 278.0);
Tailwind
colors: {
  custom: {
    50: '#856cd2',
    500: '#4032bd',
    950: '#000000',
  },
}
SCSS
$custom: #4032bd;
$custom-light: #856cd2;
$custom-dark: #000000;
JSON
{
  "hex": "#4032bd",
  "rgb": {
    "r": 64,
    "g": 50,
    "b": 189
  },
  "hsl": {
    "h": 246.043,
    "s": 58.159,
    "l": 46.863
  },
  "oklch": {
    "l": 0.4335,
    "c": 0.20559,
    "h": 278
  },
  "luminance": 0.07045
}

Semantic roles & 50–950 ramp

primary
#4032BD
secondary
#C3CA81
accent
#E146D2
background
#F8F6FD
surface
#F0EBFA
border
#CBC6D3
text
#0D0714
muted
#7D7A83

Preview Lab

Preview with #4032BD

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

Preview Lab → · Contrast checker → · Palette generator →

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