#4032B9#4032B9

#4032B9 is a dark, highly saturated blue. Relative luminance 0.069; OKLCH L 43.0% C 0.201 H 278.4°. Best body text is #FFFFFF at 8.84:1 contrast (WCAG AA passes).

Color values

HEX#4032B9
RGBrgb(64, 50, 185)
HSLhsl(246, 57%, 46%)
HSVhsv(246, 73%, 73%)
CMYKcmyk(65.4%, 73%, 0%, 27.5%)
CIE-LABlab(31.52, 46.09, -68.78)
CIE-LCHlch(31.52, 82.79, 303.82°)
OKLaboklab(42.96% 0.0294 -0.1986)
OKLCHoklch(42.96% 0.201 278.4)
XYZxyz(12.0091, 6.8730, 46.5833)
Luminance0.0687 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4032B9 #ABB932
analogous
#3267B9 #4032B9 #8332B9
triadic
#4032B9 #B94032 #32B940
tetradic
#4032B9 #B93267 #ABB932 #32B983
square
#4032B9 #B93267 #ABB932 #32B983
split-complementary
#4032B9 #B98332 #67B932
monochromatic
#1F1859 #2F2589 #4032B9 #6357D2 #9087DF

Accessibility & contrast

On white

8.84
#4032B9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#4032B9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4032B9
8.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4032B9#FFFFFF#000000##FFFFFF
##4032B91.008.842.378.84
#FFFFFF8.841.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FBD
Deuteranopia (green-blind)
#0045B7
Tritanopia (blue-blind)
#005872
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #4032b9;
/* rgb */ color: rgb(64, 50, 185);
/* oklch */ color: oklch(43.0% 0.201 278.4);
Tailwind
colors: {
  custom: {
    50: '#856ccf',
    500: '#4032b9',
    950: '#000000',
  },
}
SCSS
$custom: #4032b9;
$custom-light: #856ccf;
$custom-dark: #000000;
JSON
{
  "hex": "#4032b9",
  "rgb": {
    "r": 64,
    "g": 50,
    "b": 185
  },
  "hsl": {
    "h": 246.222,
    "s": 57.447,
    "l": 46.078
  },
  "oklch": {
    "l": 0.42955,
    "c": 0.20074,
    "h": 278.4
  },
  "luminance": 0.06874
}

Semantic roles & 50–950 ramp

primary
#4032B9
secondary
#C1C87F
accent
#E147D1
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0714
muted
#7D7A82

Preview Lab

Preview with #4032B9

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

Preview Lab → · Contrast checker → · Palette generator →

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