#4032D3#4032D3

#4032D3 is a mid, highly saturated blue. Relative luminance 0.081; OKLCH L 45.6% C 0.232 H 275.9°. Best body text is #FFFFFF at 8.03:1 contrast (WCAG AA passes).

Color values

HEX#4032D3
RGBrgb(64, 50, 211)
HSLhsl(245, 65%, 51%)
HSVhsv(245, 76%, 83%)
CMYKcmyk(69.7%, 76.3%, 0%, 17.3%)
CIE-LABlab(34.13, 54.16, -79.67)
CIE-LCHlch(34.13, 96.34, 304.21°)
OKLaboklab(45.58% 0.0237 -0.2303)
OKLCHoklch(45.58% 0.232 275.9)
XYZxyz(15.0090, 8.0729, 62.3826)
Luminance0.0807 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4032D3 #C5D332
analogous
#3274D3 #4032D3 #9032D3
triadic
#4032D3 #D34032 #32D340
tetradic
#4032D3 #D33274 #C5D332 #32D390
square
#4032D3 #D33274 #C5D332 #32D390
split-complementary
#4032D3 #D39032 #74D332
monochromatic
#201872 #2F23A4 #4032D3 #6F64DE #9E97E9

Accessibility & contrast

On white

8.03
#4032D3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#4032D3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4032D3
8.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4032D3#FFFFFF#000000##FFFFFF
##4032D31.008.032.618.03
#FFFFFF8.031.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057D8
Deuteranopia (green-blind)
#0049D0
Tritanopia (blue-blind)
#006281
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #4032d3;
/* rgb */ color: rgb(64, 50, 211);
/* oklch */ color: oklch(45.6% 0.232 275.9);
Tailwind
colors: {
  custom: {
    50: '#8a6de2',
    500: '#4032d3',
    950: '#000000',
  },
}
SCSS
$custom: #4032d3;
$custom-light: #8a6de2;
$custom-dark: #000000;
JSON
{
  "hex": "#4032d3",
  "rgb": {
    "r": 64,
    "g": 50,
    "b": 211
  },
  "hsl": {
    "h": 245.217,
    "s": 64.659,
    "l": 51.176
  },
  "oklch": {
    "l": 0.45584,
    "c": 0.23155,
    "h": 275.9
  },
  "luminance": 0.08074
}

Semantic roles & 50–950 ramp

primary
#4032D3
secondary
#CED48D
accent
#E840D9
background
#F9F6FE
surface
#F2ECFC
border
#CCC7D5
text
#0E0716
muted
#7E7A84

Preview Lab

Preview with #4032D3

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

Preview Lab → · Contrast checker → · Palette generator →

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