#4032CB#4032CB

#4032CB is a dark, highly saturated blue. Relative luminance 0.077; OKLCH L 44.8% C 0.222 H 276.6°. Best body text is #FFFFFF at 8.28:1 contrast (WCAG AA passes).

Color values

HEX#4032CB
RGBrgb(64, 50, 203)
HSLhsl(245, 60%, 50%)
HSVhsv(245, 75%, 80%)
CMYKcmyk(68.5%, 75.4%, 0%, 20.4%)
CIE-LABlab(33.31, 51.71, -76.39)
CIE-LCHlch(33.31, 92.24, 304.09°)
OKLaboklab(44.76% 0.0255 -0.2208)
OKLCHoklch(44.76% 0.222 276.6)
XYZxyz(14.0309, 7.6817, 57.2316)
Luminance0.0768 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4032CB #BDCB32
analogous
#3271CB #4032CB #8C32CB
triadic
#4032CB #CB4032 #32CB40
tetradic
#4032CB #CB3271 #BDCB32 #32CB8C
square
#4032CB #CB3271 #BDCB32 #32CB8C
split-complementary
#4032CB #CB8C32 #71CB32
monochromatic
#211A69 #31269A #4032CB #6D62D8 #9A93E4

Accessibility & contrast

On white

8.28
#4032CB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#4032CB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4032CB
8.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4032CB#FFFFFF#000000##FFFFFF
##4032CB1.008.282.548.28
#FFFFFF8.281.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055CF
Deuteranopia (green-blind)
#0048C8
Tritanopia (blue-blind)
#005F7D
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #4032cb;
/* rgb */ color: rgb(64, 50, 203);
/* oklch */ color: oklch(44.8% 0.222 276.6);
Tailwind
colors: {
  custom: {
    50: '#886ddc',
    500: '#4032cb',
    950: '#000000',
  },
}
SCSS
$custom: #4032cb;
$custom-light: #886ddc;
$custom-dark: #000000;
JSON
{
  "hex": "#4032cb",
  "rgb": {
    "r": 64,
    "g": 50,
    "b": 203
  },
  "hsl": {
    "h": 245.49,
    "s": 60.474,
    "l": 49.608
  },
  "oklch": {
    "l": 0.44761,
    "c": 0.22224,
    "h": 276.6
  },
  "luminance": 0.07683
}

Semantic roles & 50–950 ramp

primary
#4032CB
secondary
#C9CF89
accent
#E444D5
background
#F9F6FD
surface
#F1ECFB
border
#CBC7D4
text
#0D0715
muted
#7E7A83

Preview Lab

Preview with #4032CB

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

Preview Lab → · Contrast checker → · Palette generator →

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