#4033DC#4033DC

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

Color values

HEX#4033DC
RGBrgb(64, 51, 220)
HSLhsl(245, 71%, 53%)
HSVhsv(245, 77%, 86%)
CMYKcmyk(70.9%, 76.8%, 0%, 13.7%)
CIE-LABlab(35.25, 56.39, -83.02)
CIE-LCHlch(35.25, 100.36, 304.19°)
OKLaboklab(46.64% 0.0212 -0.2401)
OKLCHoklch(46.64% 0.241 275.1)
XYZxyz(16.2122, 8.6234, 68.5064)
Luminance0.0862 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4033DC #CFDC33
analogous
#337BDC #4033DC #9433DC
triadic
#4033DC #DC4033 #33DC40
tetradic
#4033DC #DC337B #CFDC33 #33DC94
square
#4033DC #DC337B #CFDC33 #33DC94
split-complementary
#4033DC #DC9433 #7BDC33
monochromatic
#1E167F #2A1FB3 #4033DC #7167E5 #A29BEE

Accessibility & contrast

On white

7.71
#4033DC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#4033DC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4033DC
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4033DC#FFFFFF#000000##FFFFFF
##4033DC1.007.712.727.71
#FFFFFF7.711.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AE1
Deuteranopia (green-blind)
#004BD9
Tritanopia (blue-blind)
#006687
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #4033dc;
/* rgb */ color: rgb(64, 51, 220);
/* oklch */ color: oklch(46.6% 0.241 275.1);
Tailwind
colors: {
  custom: {
    50: '#8c6ee8',
    500: '#4033dc',
    950: '#000000',
  },
}
SCSS
$custom: #4033dc;
$custom-light: #8c6ee8;
$custom-dark: #000000;
JSON
{
  "hex": "#4033dc",
  "rgb": {
    "r": 64,
    "g": 51,
    "b": 220
  },
  "hsl": {
    "h": 244.615,
    "s": 70.711,
    "l": 53.137
  },
  "oklch": {
    "l": 0.46643,
    "c": 0.24101,
    "h": 275.1
  },
  "luminance": 0.08625
}

Semantic roles & 50–950 ramp

primary
#4033DC
secondary
#D4DA91
accent
#ED3AE0
background
#F9F6FE
surface
#F2ECFD
border
#CCC7D5
text
#0E0716
muted
#7E7A84

Preview Lab

Preview with #4033DC

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

Preview Lab → · Contrast checker → · Palette generator →

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