#4035DB#4035DB

#4035DB is a mid, highly saturated blue. Relative luminance 0.088; OKLCH L 46.8% C 0.238 H 275.0°. Best body text is #FFFFFF at 7.64:1 contrast (WCAG AA passes).

Color values

HEX#4035DB
RGBrgb(64, 53, 219)
HSLhsl(244, 70%, 53%)
HSVhsv(244, 76%, 86%)
CMYKcmyk(70.8%, 75.8%, 0%, 14.1%)
CIE-LABlab(35.50, 55.08, -82.03)
CIE-LCHlch(35.50, 98.81, 303.88°)
OKLaboklab(46.79% 0.0206 -0.2372)
OKLCHoklch(46.79% 0.238 275)
XYZxyz(16.1694, 8.7491, 67.8407)
Luminance0.0875 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4035DB #D0DB35
analogous
#357DDB #4035DB #9335DB
triadic
#4035DB #DB4035 #35DB40
tetradic
#4035DB #DB357D #D0DB35 #35DB93
square
#4035DB #DB357D #D0DB35 #35DB93
split-complementary
#4035DB #DB9335 #7DDB35
monochromatic
#1E177F #2A20B3 #4035DB #7169E4 #A29DEE

Accessibility & contrast

On white

7.64
#4035DB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#4035DB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4035DB
7.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4035DB#FFFFFF#000000##FFFFFF
##4035DB1.007.642.757.64
#FFFFFF7.641.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.641.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4035db;
/* rgb */ color: rgb(64, 53, 219);
/* oklch */ color: oklch(46.8% 0.238 275.0);
Tailwind
colors: {
  custom: {
    50: '#8b6fe8',
    500: '#4035db',
    950: '#000000',
  },
}
SCSS
$custom: #4035db;
$custom-light: #8b6fe8;
$custom-dark: #000000;
JSON
{
  "hex": "#4035db",
  "rgb": {
    "r": 64,
    "g": 53,
    "b": 219
  },
  "hsl": {
    "h": 243.976,
    "s": 69.748,
    "l": 53.333
  },
  "oklch": {
    "l": 0.46787,
    "c": 0.23812,
    "h": 275
  },
  "luminance": 0.08751
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4035DB

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

Preview Lab → · Contrast checker → · Palette generator →

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