#4033DB#4033DB

#4033DB is a mid, highly saturated blue. Relative luminance 0.086; OKLCH L 46.5% C 0.240 H 275.1°. Best body text is #FFFFFF at 7.74:1 contrast (WCAG AA passes).

Color values

HEX#4033DB
RGBrgb(64, 51, 219)
HSLhsl(245, 70%, 53%)
HSVhsv(245, 77%, 86%)
CMYKcmyk(70.8%, 76.7%, 0%, 14.1%)
CIE-LABlab(35.14, 56.09, -82.62)
CIE-LCHlch(35.14, 99.86, 304.17°)
OKLaboklab(46.54% 0.0215 -0.2389)
OKLCHoklch(46.54% 0.24 275.1)
XYZxyz(16.0801, 8.5706, 67.8109)
Luminance0.0857 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4033DB #CEDB33
analogous
#337ADB #4033DB #9433DB
triadic
#4033DB #DB4033 #33DB40
tetradic
#4033DB #DB337A #CEDB33 #33DB94
square
#4033DB #DB337A #CEDB33 #33DB94
split-complementary
#4033DB #DB9433 #7ADB33
monochromatic
#1E167D #2B1FB1 #4033DB #7167E4 #A19BED

Accessibility & contrast

On white

7.74
#4033DB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#4033DB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4033DB
7.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4033DB#FFFFFF#000000##FFFFFF
##4033DB1.007.742.717.74
#FFFFFF7.741.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.741.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4033db;
/* rgb */ color: rgb(64, 51, 219);
/* oklch */ color: oklch(46.5% 0.240 275.1);
Tailwind
colors: {
  custom: {
    50: '#8b6ee8',
    500: '#4033db',
    950: '#000000',
  },
}
SCSS
$custom: #4033db;
$custom-light: #8b6ee8;
$custom-dark: #000000;
JSON
{
  "hex": "#4033db",
  "rgb": {
    "r": 64,
    "g": 51,
    "b": 219
  },
  "hsl": {
    "h": 244.643,
    "s": 70,
    "l": 52.941
  },
  "oklch": {
    "l": 0.46539,
    "c": 0.23986,
    "h": 275.1
  },
  "luminance": 0.08572
}

Semantic roles & 50–950 ramp

primary
#4033DB
secondary
#D4D991
accent
#ED3BDF
background
#F9F6FE
surface
#F2ECFD
border
#CCC7D5
text
#0E0716
muted
#7E7A84

Preview Lab

Preview with #4033DB

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

Preview Lab → · Contrast checker → · Palette generator →

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