#4035DA#4035DA

#4035DA is a mid, highly saturated blue. Relative luminance 0.087; OKLCH L 46.7% C 0.237 H 275.0°. Best body text is #FFFFFF at 7.67:1 contrast (WCAG AA passes).

Color values

HEX#4035DA
RGBrgb(64, 53, 218)
HSLhsl(244, 69%, 53%)
HSVhsv(244, 76%, 85%)
CMYKcmyk(70.6%, 75.7%, 0%, 14.5%)
CIE-LABlab(35.39, 54.77, -81.63)
CIE-LCHlch(35.39, 98.30, 303.86°)
OKLaboklab(46.68% 0.0208 -0.236)
OKLCHoklch(46.68% 0.237 275)
XYZxyz(16.0382, 8.6966, 67.1495)
Luminance0.0870 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4035DA #CFDA35
analogous
#357CDA #4035DA #9235DA
triadic
#4035DA #DA4035 #35DA40
tetradic
#4035DA #DA357C #CFDA35 #35DA92
square
#4035DA #DA357C #CFDA35 #35DA92
split-complementary
#4035DA #DA9235 #7CDA35
monochromatic
#1E177E #2A20B1 #4035DA #7169E3 #A29CED

Accessibility & contrast

On white

7.67
#4035DA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#4035DA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4035DA
7.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4035DA#FFFFFF#000000##FFFFFF
##4035DA1.007.672.747.67
#FFFFFF7.671.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ADF
Deuteranopia (green-blind)
#004CD7
Tritanopia (blue-blind)
#006686
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #4035da;
/* rgb */ color: rgb(64, 53, 218);
/* oklch */ color: oklch(46.7% 0.237 275.0);
Tailwind
colors: {
  custom: {
    50: '#8b6fe7',
    500: '#4035da',
    950: '#000000',
  },
}
SCSS
$custom: #4035da;
$custom-light: #8b6fe7;
$custom-dark: #000000;
JSON
{
  "hex": "#4035da",
  "rgb": {
    "r": 64,
    "g": 53,
    "b": 218
  },
  "hsl": {
    "h": 244,
    "s": 69.038,
    "l": 53.137
  },
  "oklch": {
    "l": 0.46684,
    "c": 0.23696,
    "h": 275
  },
  "luminance": 0.08698
}

Semantic roles & 50–950 ramp

primary
#4035DA
secondary
#D4D992
accent
#EC3CE0
background
#F9F6FE
surface
#F2ECFD
border
#CCC7D5
text
#0E0816
muted
#7E7B84

Preview Lab

Preview with #4035DA

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

Preview Lab → · Contrast checker → · Palette generator →

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