#4032B7#4032B7

#4032B7 is a dark, vivid blue. Relative luminance 0.068; OKLCH L 42.8% C 0.198 H 278.6°. Best body text is #FFFFFF at 8.91:1 contrast (WCAG AA passes).

Color values

HEX#4032B7
RGBrgb(64, 50, 183)
HSLhsl(246, 57%, 46%)
HSVhsv(246, 73%, 72%)
CMYKcmyk(65%, 72.7%, 0%, 28.2%)
CIE-LABlab(31.32, 45.45, -67.91)
CIE-LCHlch(31.32, 81.72, 303.79°)
OKLaboklab(42.76% 0.0298 -0.196)
OKLCHoklch(42.76% 0.198 278.6)
XYZxyz(11.7995, 6.7891, 45.4792)
Luminance0.0679 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4032B7 #A9B732
analogous
#3266B7 #4032B7 #8232B7
triadic
#4032B7 #B74032 #32B740
tetradic
#4032B7 #B73266 #A9B732 #32B782
square
#4032B7 #B73266 #A9B732 #32B782
split-complementary
#4032B7 #B78232 #66B732
monochromatic
#1E1857 #2F2587 #4032B7 #6256D1 #8F86DE

Accessibility & contrast

On white

8.91
#4032B7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#4032B7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4032B7
8.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4032B7#FFFFFF#000000##FFFFFF
##4032B71.008.912.368.91
#FFFFFF8.911.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FBB
Deuteranopia (green-blind)
#0044B5
Tritanopia (blue-blind)
#005771
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #4032b7;
/* rgb */ color: rgb(64, 50, 183);
/* oklch */ color: oklch(42.8% 0.198 278.6);
Tailwind
colors: {
  custom: {
    50: '#846cce',
    500: '#4032b7',
    950: '#000000',
  },
}
SCSS
$custom: #4032b7;
$custom-light: #846cce;
$custom-dark: #000000;
JSON
{
  "hex": "#4032b7",
  "rgb": {
    "r": 64,
    "g": 50,
    "b": 183
  },
  "hsl": {
    "h": 246.316,
    "s": 57.082,
    "l": 45.686
  },
  "oklch": {
    "l": 0.42758,
    "c": 0.19829,
    "h": 278.6
  },
  "luminance": 0.0679
}

Semantic roles & 50–950 ramp

primary
#4032B7
secondary
#C0C77D
accent
#E047D0
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0714
muted
#7D7A82

Preview Lab

Preview with #4032B7

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

Preview Lab → · Contrast checker → · Palette generator →

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