#4032B2#4032B2

#4032B2 is a dark, vivid blue. Relative luminance 0.066; OKLCH L 42.3% C 0.192 H 279.2°. Best body text is #FFFFFF at 9.06:1 contrast (WCAG AA passes).

Color values

HEX#4032B2
RGBrgb(64, 50, 178)
HSLhsl(247, 56%, 45%)
HSVhsv(247, 72%, 70%)
CMYKcmyk(64%, 71.9%, 0%, 30.2%)
CIE-LABlab(30.84, 43.87, -65.73)
CIE-LCHlch(30.84, 79.02, 303.72°)
OKLaboklab(42.27% 0.0307 -0.1897)
OKLCHoklch(42.27% 0.192 279.2)
XYZxyz(11.2883, 6.5847, 42.7870)
Luminance0.0659 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4032B2 #A4B232
analogous
#3264B2 #4032B2 #8032B2
triadic
#4032B2 #B24032 #32B240
tetradic
#4032B2 #B23264 #A4B232 #32B280
square
#4032B2 #B23264 #A4B232 #32B280
split-complementary
#4032B2 #B28032 #64B232
monochromatic
#1E1752 #2F2582 #4032B2 #6053CF #8C82DC

Accessibility & contrast

On white

9.06
#4032B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#4032B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4032B2
9.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4032B2#FFFFFF#000000##FFFFFF
##4032B21.009.062.329.06
#FFFFFF9.061.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DB6
Deuteranopia (green-blind)
#0043B0
Tritanopia (blue-blind)
#00556F
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #4032b2;
/* rgb */ color: rgb(64, 50, 178);
/* oklch */ color: oklch(42.3% 0.192 279.2);
Tailwind
colors: {
  custom: {
    50: '#836cca',
    500: '#4032b2',
    950: '#000000',
  },
}
SCSS
$custom: #4032b2;
$custom-light: #836cca;
$custom-dark: #000000;
JSON
{
  "hex": "#4032b2",
  "rgb": {
    "r": 64,
    "g": 50,
    "b": 178
  },
  "hsl": {
    "h": 246.563,
    "s": 56.14,
    "l": 44.706
  },
  "oklch": {
    "l": 0.42272,
    "c": 0.19214,
    "h": 279.2
  },
  "luminance": 0.06586
}

Semantic roles & 50–950 ramp

primary
#4032B2
secondary
#BDC57B
accent
#DF48CF
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0713
muted
#7D7A82

Preview Lab

Preview with #4032B2

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

Preview Lab → · Contrast checker → · Palette generator →

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