#4032DB#4032DB

#4032DB is a mid, highly saturated blue. Relative luminance 0.085; OKLCH L 46.4% C 0.241 H 275.2°. Best body text is #FFFFFF at 7.79:1 contrast (WCAG AA passes).

Color values

HEX#4032DB
RGBrgb(64, 50, 219)
HSLhsl(245, 70%, 53%)
HSVhsv(245, 77%, 86%)
CMYKcmyk(70.8%, 77.2%, 0%, 14.1%)
CIE-LABlab(34.97, 56.58, -82.90)
CIE-LCHlch(34.97, 100.37, 304.32°)
OKLaboklab(46.42% 0.0219 -0.2397)
OKLCHoklch(46.42% 0.241 275.2)
XYZxyz(16.0369, 8.4841, 67.7965)
Luminance0.0849 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4032DB #CDDB32
analogous
#3279DB #4032DB #9432DB
triadic
#4032DB #DB4032 #32DB40
tetradic
#4032DB #DB3279 #CDDB32 #32DB94
square
#4032DB #DB3279 #CDDB32 #32DB94
split-complementary
#4032DB #DB9432 #79DB32
monochromatic
#1E167D #2B1FB1 #4032DB #7166E4 #A19AED

Accessibility & contrast

On white

7.79
#4032DB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#4032DB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4032DB
7.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4032DB#FFFFFF#000000##FFFFFF
##4032DB1.007.792.707.79
#FFFFFF7.791.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AE0
Deuteranopia (green-blind)
#004AD8
Tritanopia (blue-blind)
#006586
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #4032db;
/* rgb */ color: rgb(64, 50, 219);
/* oklch */ color: oklch(46.4% 0.241 275.2);
Tailwind
colors: {
  custom: {
    50: '#8c6ee8',
    500: '#4032db',
    950: '#000000',
  },
}
SCSS
$custom: #4032db;
$custom-light: #8c6ee8;
$custom-dark: #000000;
JSON
{
  "hex": "#4032db",
  "rgb": {
    "r": 64,
    "g": 50,
    "b": 219
  },
  "hsl": {
    "h": 244.97,
    "s": 70.124,
    "l": 52.745
  },
  "oklch": {
    "l": 0.46418,
    "c": 0.24072,
    "h": 275.2
  },
  "luminance": 0.08486
}

Semantic roles & 50–950 ramp

primary
#4032DB
secondary
#D3D990
accent
#ED3BDE
background
#F9F6FE
surface
#F2ECFD
border
#CCC7D5
text
#0E0716
muted
#7E7A84

Preview Lab

Preview with #4032DB

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

Preview Lab → · Contrast checker → · Palette generator →

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