#4032C8#4032C8

#4032C8 is a dark, highly saturated blue. Relative luminance 0.075; OKLCH L 44.5% C 0.219 H 276.9°. Best body text is #FFFFFF at 8.37:1 contrast (WCAG AA passes).

Color values

HEX#4032C8
RGBrgb(64, 50, 200)
HSLhsl(246, 60%, 49%)
HSVhsv(246, 75%, 78%)
CMYKcmyk(68%, 75%, 0%, 21.6%)
CIE-LABlab(33.01, 50.78, -75.14)
CIE-LCHlch(33.01, 90.69, 304.05°)
OKLaboklab(44.46% 0.0262 -0.2171)
OKLCHoklch(44.46% 0.219 276.9)
XYZxyz(13.6769, 7.5401, 55.3670)
Luminance0.0754 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4032C8 #BAC832
analogous
#326FC8 #4032C8 #8B32C8
triadic
#4032C8 #C84032 #32C840
tetradic
#4032C8 #C8326F #BAC832 #32C88B
square
#4032C8 #C8326F #BAC832 #32C88B
split-complementary
#4032C8 #C88B32 #6FC832
monochromatic
#211A66 #302697 #4032C8 #6B60D7 #9991E3

Accessibility & contrast

On white

8.37
#4032C8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#4032C8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4032C8
8.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4032C8#FFFFFF#000000##FFFFFF
##4032C81.008.372.518.37
#FFFFFF8.371.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054CC
Deuteranopia (green-blind)
#0047C5
Tritanopia (blue-blind)
#005E7B
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #4032c8;
/* rgb */ color: rgb(64, 50, 200);
/* oklch */ color: oklch(44.5% 0.219 276.9);
Tailwind
colors: {
  custom: {
    50: '#886dda',
    500: '#4032c8',
    950: '#000000',
  },
}
SCSS
$custom: #4032c8;
$custom-light: #886dda;
$custom-dark: #000000;
JSON
{
  "hex": "#4032c8",
  "rgb": {
    "r": 64,
    "g": 50,
    "b": 200
  },
  "hsl": {
    "h": 245.6,
    "s": 60,
    "l": 49.02
  },
  "oklch": {
    "l": 0.44456,
    "c": 0.21871,
    "h": 276.9
  },
  "luminance": 0.07541
}

Semantic roles & 50–950 ramp

primary
#4032C8
secondary
#C8CE88
accent
#E345D4
background
#F9F6FD
surface
#F1ECFB
border
#CBC7D4
text
#0D0715
muted
#7E7A83

Preview Lab

Preview with #4032C8

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

Preview Lab → · Contrast checker → · Palette generator →

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