#4035DC#4035DC

#4035DC is a mid, highly saturated blue. Relative luminance 0.088; OKLCH L 46.9% C 0.239 H 274.9°. Best body text is #FFFFFF at 7.61:1 contrast (WCAG AA passes).

Color values

HEX#4035DC
RGBrgb(64, 53, 220)
HSLhsl(244, 70%, 54%)
HSVhsv(244, 76%, 86%)
CMYKcmyk(70.9%, 75.9%, 0%, 13.7%)
CIE-LABlab(35.60, 55.39, -82.44)
CIE-LCHlch(35.60, 99.31, 303.90°)
OKLaboklab(46.89% 0.0204 -0.2384)
OKLCHoklch(46.89% 0.239 274.9)
XYZxyz(16.3015, 8.8019, 68.5361)
Luminance0.0880 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4035DC #D1DC35
analogous
#357DDC #4035DC #9335DC
triadic
#4035DC #DC4035 #35DC40
tetradic
#4035DC #DC357D #D1DC35 #35DC93
square
#4035DC #DC357D #D1DC35 #35DC93
split-complementary
#4035DC #DC9335 #7DDC35
monochromatic
#1D1680 #291FB5 #4035DC #7169E5 #A39DEE

Accessibility & contrast

On white

7.61
#4035DC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#4035DC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4035DC
7.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4035DC#FFFFFF#000000##FFFFFF
##4035DC1.007.612.767.61
#FFFFFF7.611.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BE1
Deuteranopia (green-blind)
#004CD9
Tritanopia (blue-blind)
#006787
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #4035dc;
/* rgb */ color: rgb(64, 53, 220);
/* oklch */ color: oklch(46.9% 0.239 274.9);
Tailwind
colors: {
  custom: {
    50: '#8b6fe8',
    500: '#4035dc',
    950: '#000000',
  },
}
SCSS
$custom: #4035dc;
$custom-light: #8b6fe8;
$custom-dark: #000000;
JSON
{
  "hex": "#4035dc",
  "rgb": {
    "r": 64,
    "g": 53,
    "b": 220
  },
  "hsl": {
    "h": 243.952,
    "s": 70.464,
    "l": 53.529
  },
  "oklch": {
    "l": 0.4689,
    "c": 0.23927,
    "h": 274.9
  },
  "luminance": 0.08804
}

Semantic roles & 50–950 ramp

primary
#4035DC
secondary
#D5DA93
accent
#ED3BE1
background
#F9F6FE
surface
#F2ECFD
border
#CCC7D5
text
#0E0816
muted
#7E7B84

Preview Lab

Preview with #4035DC

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

Preview Lab → · Contrast checker → · Palette generator →

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