#4032BC#4032BC

#4032BC is a dark, highly saturated blue. Relative luminance 0.070; OKLCH L 43.3% C 0.204 H 278.1°. Best body text is #FFFFFF at 8.75:1 contrast (WCAG AA passes).

Color values

HEX#4032BC
RGBrgb(64, 50, 188)
HSLhsl(246, 58%, 47%)
HSVhsv(246, 73%, 74%)
CMYKcmyk(66%, 73.4%, 0%, 26.3%)
CIE-LABlab(31.81, 47.03, -70.07)
CIE-LCHlch(31.81, 84.39, 303.87°)
OKLaboklab(43.25% 0.0287 -0.2023)
OKLCHoklch(43.25% 0.204 278.1)
XYZxyz(12.3291, 7.0010, 48.2688)
Luminance0.0700 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4032BC #AEBC32
analogous
#3269BC #4032BC #8532BC
triadic
#4032BC #BC4032 #32BC40
tetradic
#4032BC #BC3269 #AEBC32 #32BC85
square
#4032BC #BC3269 #AEBC32 #32BC85
split-complementary
#4032BC #BC8532 #69BC32
monochromatic
#1F185B #30258C #4032BC #6558D3 #9289E0

Accessibility & contrast

On white

8.75
#4032BC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#4032BC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4032BC
8.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4032BC#FFFFFF#000000##FFFFFF
##4032BC1.008.752.408.75
#FFFFFF8.751.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050C0
Deuteranopia (green-blind)
#0045B9
Tritanopia (blue-blind)
#005974
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #4032bc;
/* rgb */ color: rgb(64, 50, 188);
/* oklch */ color: oklch(43.3% 0.204 278.1);
Tailwind
colors: {
  custom: {
    50: '#856cd1',
    500: '#4032bc',
    950: '#000000',
  },
}
SCSS
$custom: #4032bc;
$custom-light: #856cd1;
$custom-dark: #000000;
JSON
{
  "hex": "#4032bc",
  "rgb": {
    "r": 64,
    "g": 50,
    "b": 188
  },
  "hsl": {
    "h": 246.087,
    "s": 57.983,
    "l": 46.667
  },
  "oklch": {
    "l": 0.43251,
    "c": 0.20438,
    "h": 278.1
  },
  "luminance": 0.07002
}

Semantic roles & 50–950 ramp

primary
#4032BC
secondary
#C2C980
accent
#E147D2
background
#F8F6FD
surface
#F0EBFA
border
#CBC6D3
text
#0C0714
muted
#7D7A83

Preview Lab

Preview with #4032BC

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

Preview Lab → · Contrast checker → · Palette generator →

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