#4032BF#4032BF

#4032BF is a dark, highly saturated blue. Relative luminance 0.071; OKLCH L 43.5% C 0.208 H 277.8°. Best body text is #FFFFFF at 8.65:1 contrast (WCAG AA passes).

Color values

HEX#4032BF
RGBrgb(64, 50, 191)
HSLhsl(246, 59%, 47%)
HSVhsv(246, 74%, 75%)
CMYKcmyk(66.5%, 73.8%, 0%, 25.1%)
CIE-LABlab(32.10, 47.97, -71.35)
CIE-LCHlch(32.10, 85.98, 303.92°)
OKLaboklab(43.55% 0.0281 -0.2061)
OKLCHoklch(43.55% 0.208 277.8)
XYZxyz(12.6559, 7.1317, 49.9897)
Luminance0.0713 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4032BF #B1BF32
analogous
#326BBF #4032BF #8632BF
triadic
#4032BF #BF4032 #32BF40
tetradic
#4032BF #BF326B #B1BF32 #32BF86
square
#4032BF #BF326B #B1BF32 #32BF86
split-complementary
#4032BF #BF8632 #6BBF32
monochromatic
#1F195E #30258E #4032BF #665AD4 #938BE1

Accessibility & contrast

On white

8.65
#4032BF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#4032BF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4032BF
8.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4032BF#FFFFFF#000000##FFFFFF
##4032BF1.008.652.438.65
#FFFFFF8.651.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051C3
Deuteranopia (green-blind)
#0046BC
Tritanopia (blue-blind)
#005A76
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #4032bf;
/* rgb */ color: rgb(64, 50, 191);
/* oklch */ color: oklch(43.5% 0.208 277.8);
Tailwind
colors: {
  custom: {
    50: '#866cd4',
    500: '#4032bf',
    950: '#000000',
  },
}
SCSS
$custom: #4032bf;
$custom-light: #866cd4;
$custom-dark: #000000;
JSON
{
  "hex": "#4032bf",
  "rgb": {
    "r": 64,
    "g": 50,
    "b": 191
  },
  "hsl": {
    "h": 245.957,
    "s": 58.506,
    "l": 47.255
  },
  "oklch": {
    "l": 0.43549,
    "c": 0.208,
    "h": 277.8
  },
  "luminance": 0.07133
}

Semantic roles & 50–950 ramp

primary
#4032BF
secondary
#C3CB82
accent
#E246D2
background
#F8F6FD
surface
#F0EBFA
border
#CBC6D3
text
#0D0714
muted
#7D7A83

Preview Lab

Preview with #4032BF

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

Preview Lab → · Contrast checker → · Palette generator →

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