#4032E8#4032E8

#4032E8 is a mid, highly saturated blue. Relative luminance 0.092; OKLCH L 47.8% C 0.255 H 274.2°. Best body text is #FFFFFF at 7.40:1 contrast (WCAG AA passes).

Color values

HEX#4032E8
RGBrgb(64, 50, 232)
HSLhsl(245, 80%, 55%)
HSVhsv(245, 78%, 91%)
CMYKcmyk(72.4%, 78.4%, 0%, 9%)
CIE-LABlab(36.36, 60.47, -88.04)
CIE-LCHlch(36.36, 106.80, 304.48°)
OKLaboklab(47.79% 0.0189 -0.2546)
OKLCHoklch(47.79% 0.255 274.2)
XYZxyz(17.8156, 9.1956, 77.1643)
Luminance0.0920 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4032E8 #DAE832
analogous
#327FE8 #4032E8 #9B32E8
triadic
#4032E8 #E84032 #32E840
tetradic
#4032E8 #E8327F #DAE832 #32E89B
square
#4032E8 #E8327F #DAE832 #32E89B
split-complementary
#4032E8 #E89B32 #7FE832
monochromatic
#1A108F #2416C7 #4032E8 #7369EE #A7A0F4

Accessibility & contrast

On white

7.40
#4032E8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#4032E8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4032E8
7.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4032E8#FFFFFF#000000##FFFFFF
##4032E81.007.402.847.40
#FFFFFF7.401.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EED
Deuteranopia (green-blind)
#004DE5
Tritanopia (blue-blind)
#006A8D
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #4032e8;
/* rgb */ color: rgb(64, 50, 232);
/* oklch */ color: oklch(47.8% 0.255 274.2);
Tailwind
colors: {
  custom: {
    50: '#8e6ef1',
    500: '#4032e8',
    950: '#000000',
  },
}
SCSS
$custom: #4032e8;
$custom-light: #8e6ef1;
$custom-dark: #000000;
JSON
{
  "hex": "#4032e8",
  "rgb": {
    "r": 64,
    "g": 50,
    "b": 232
  },
  "hsl": {
    "h": 244.615,
    "s": 79.825,
    "l": 55.294
  },
  "oklch": {
    "l": 0.47793,
    "c": 0.25534,
    "h": 274.2
  },
  "luminance": 0.09197
}

Semantic roles & 50–950 ramp

primary
#4032E8
secondary
#DBE195
accent
#F632E7
background
#F9F6FF
surface
#F2ECFE
border
#CCC7D6
text
#0F0817
muted
#7E7B85

Preview Lab

Preview with #4032E8

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

Preview Lab → · Contrast checker → · Palette generator →

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