#4035D1#4035D1

#4035D1 is a mid, highly saturated blue. Relative luminance 0.082; OKLCH L 45.8% C 0.226 H 275.7°. Best body text is #FFFFFF at 7.93:1 contrast (WCAG AA passes).

Color values

HEX#4035D1
RGBrgb(64, 53, 209)
HSLhsl(244, 63%, 51%)
HSVhsv(244, 75%, 82%)
CMYKcmyk(69.4%, 74.6%, 0%, 18%)
CIE-LABlab(34.47, 51.99, -77.95)
CIE-LCHlch(34.47, 93.70, 303.70°)
OKLaboklab(45.76% 0.0227 -0.2253)
OKLCHoklch(45.76% 0.226 275.7)
XYZxyz(14.8923, 8.2383, 61.1146)
Luminance0.0824 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4035D1 #C6D135
analogous
#3578D1 #4035D1 #8E35D1
triadic
#4035D1 #D14035 #35D140
tetradic
#4035D1 #D13578 #C6D135 #35D18E
square
#4035D1 #D13578 #C6D135 #35D18E
split-complementary
#4035D1 #D18E35 #78D135
monochromatic
#201A72 #2E25A4 #4035D1 #6F67DC #9E99E8

Accessibility & contrast

On white

7.93
#4035D1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#4035D1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4035D1
7.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4035D1#FFFFFF#000000##FFFFFF
##4035D11.007.932.657.93
#FFFFFF7.931.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058D5
Deuteranopia (green-blind)
#004ACE
Tritanopia (blue-blind)
#006281
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #4035d1;
/* rgb */ color: rgb(64, 53, 209);
/* oklch */ color: oklch(45.8% 0.226 275.7);
Tailwind
colors: {
  custom: {
    50: '#896fe0',
    500: '#4035d1',
    950: '#000000',
  },
}
SCSS
$custom: #4035d1;
$custom-light: #896fe0;
$custom-dark: #000000;
JSON
{
  "hex": "#4035d1",
  "rgb": {
    "r": 64,
    "g": 53,
    "b": 209
  },
  "hsl": {
    "h": 244.231,
    "s": 62.903,
    "l": 51.373
  },
  "oklch": {
    "l": 0.45763,
    "c": 0.22649,
    "h": 275.7
  },
  "luminance": 0.0824
}

Semantic roles & 50–950 ramp

primary
#4035D1
secondary
#CED38F
accent
#E642DA
background
#F9F6FD
surface
#F2ECFB
border
#CCC7D4
text
#0D0715
muted
#7E7A83

Preview Lab

Preview with #4035D1

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

Preview Lab → · Contrast checker → · Palette generator →

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