#4035D3#4035D3

#4035D3 is a mid, highly saturated blue. Relative luminance 0.083; OKLCH L 46.0% C 0.229 H 275.6°. Best body text is #FFFFFF at 7.87:1 contrast (WCAG AA passes).

Color values

HEX#4035D3
RGBrgb(64, 53, 211)
HSLhsl(244, 64%, 52%)
HSVhsv(244, 75%, 83%)
CMYKcmyk(69.7%, 74.9%, 0%, 17.3%)
CIE-LABlab(34.68, 52.61, -78.78)
CIE-LCHlch(34.68, 94.73, 303.74°)
OKLaboklab(45.97% 0.0223 -0.2277)
OKLCHoklch(45.97% 0.229 275.6)
XYZxyz(15.1415, 8.3379, 62.4268)
Luminance0.0834 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4035D3 #C8D335
analogous
#3579D3 #4035D3 #8F35D3
triadic
#4035D3 #D34035 #35D340
tetradic
#4035D3 #D33579 #C8D335 #35D38F
square
#4035D3 #D33579 #C8D335 #35D38F
split-complementary
#4035D3 #D38F35 #79D335
monochromatic
#201974 #2D24A7 #4035D3 #7067DE #9F9AE9

Accessibility & contrast

On white

7.87
#4035D3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#4035D3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4035D3
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4035D3#FFFFFF#000000##FFFFFF
##4035D31.007.872.677.87
#FFFFFF7.871.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058D8
Deuteranopia (green-blind)
#004AD0
Tritanopia (blue-blind)
#006382
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #4035d3;
/* rgb */ color: rgb(64, 53, 211);
/* oklch */ color: oklch(46.0% 0.229 275.6);
Tailwind
colors: {
  custom: {
    50: '#8a6fe2',
    500: '#4035d3',
    950: '#000000',
  },
}
SCSS
$custom: #4035d3;
$custom-light: #8a6fe2;
$custom-dark: #000000;
JSON
{
  "hex": "#4035d3",
  "rgb": {
    "r": 64,
    "g": 53,
    "b": 211
  },
  "hsl": {
    "h": 244.177,
    "s": 64.228,
    "l": 51.765
  },
  "oklch": {
    "l": 0.45966,
    "c": 0.22884,
    "h": 275.6
  },
  "luminance": 0.08339
}

Semantic roles & 50–950 ramp

primary
#4035D3
secondary
#D0D58F
accent
#E741DC
background
#F9F6FE
surface
#F2ECFC
border
#CCC7D5
text
#0E0716
muted
#7E7A84

Preview Lab

Preview with #4035D3

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

Preview Lab → · Contrast checker → · Palette generator →

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