#4035C2#4035C2

#4035C2 is a dark, highly saturated blue. Relative luminance 0.075; OKLCH L 44.3% C 0.209 H 277.1°. Best body text is #FFFFFF at 8.38:1 contrast (WCAG AA passes).

Color values

HEX#4035C2
RGBrgb(64, 53, 194)
HSLhsl(245, 57%, 48%)
HSVhsv(245, 73%, 76%)
CMYKcmyk(67%, 72.7%, 0%, 23.9%)
CIE-LABlab(32.98, 47.28, -71.66)
CIE-LCHlch(32.98, 85.85, 303.41°)
OKLaboklab(44.26% 0.0257 -0.207)
OKLCHoklch(44.26% 0.209 277.1)
XYZxyz(13.1219, 7.5301, 51.7904)
Luminance0.0753 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4035C2 #B7C235
analogous
#3570C2 #4035C2 #8635C2
triadic
#4035C2 #C24035 #35C240
tetradic
#4035C2 #C23570 #B7C235 #35C286
square
#4035C2 #C23570 #B7C235 #35C286
split-complementary
#4035C2 #C28635 #70C235
monochromatic
#201B62 #302892 #4035C2 #6960D4 #9791E1

Accessibility & contrast

On white

8.38
#4035C2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#4035C2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4035C2
8.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4035C2#FFFFFF#000000##FFFFFF
##4035C21.008.382.518.38
#FFFFFF8.381.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053C6
Deuteranopia (green-blind)
#0047BF
Tritanopia (blue-blind)
#005D78
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #4035c2;
/* rgb */ color: rgb(64, 53, 194);
/* oklch */ color: oklch(44.3% 0.209 277.1);
Tailwind
colors: {
  custom: {
    50: '#866ed6',
    500: '#4035c2',
    950: '#000000',
  },
}
SCSS
$custom: #4035c2;
$custom-light: #866ed6;
$custom-dark: #000000;
JSON
{
  "hex": "#4035c2",
  "rgb": {
    "r": 64,
    "g": 53,
    "b": 194
  },
  "hsl": {
    "h": 244.681,
    "s": 57.085,
    "l": 48.431
  },
  "oklch": {
    "l": 0.44262,
    "c": 0.20861,
    "h": 277.1
  },
  "luminance": 0.07531
}

Semantic roles & 50–950 ramp

primary
#4035C2
secondary
#C6CC87
accent
#E047D4
background
#F9F6FD
surface
#F1ECFA
border
#CBC7D3
text
#0D0714
muted
#7E7A83

Preview Lab

Preview with #4035C2

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

Preview Lab → · Contrast checker → · Palette generator →

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