#4035C3#4035C3

#4035C3 is a dark, highly saturated blue. Relative luminance 0.076; OKLCH L 44.4% C 0.210 H 277.0°. Best body text is #FFFFFF at 8.35:1 contrast (WCAG AA passes).

Color values

HEX#4035C3
RGBrgb(64, 53, 195)
HSLhsl(245, 57%, 49%)
HSVhsv(245, 73%, 76%)
CMYKcmyk(67.2%, 72.8%, 0%, 23.5%)
CIE-LABlab(33.08, 47.60, -72.09)
CIE-LCHlch(33.08, 86.38, 303.43°)
OKLaboklab(44.36% 0.0255 -0.2083)
OKLCHoklch(44.36% 0.21 277)
XYZxyz(13.2346, 7.5752, 52.3839)
Luminance0.0758 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4035C3 #B8C335
analogous
#3571C3 #4035C3 #8735C3
triadic
#4035C3 #C34035 #35C340
tetradic
#4035C3 #C33571 #B8C335 #35C387
square
#4035C3 #C33571 #B8C335 #35C387
split-complementary
#4035C3 #C38735 #71C335
monochromatic
#201B63 #302893 #4035C3 #6A61D4 #9791E1

Accessibility & contrast

On white

8.35
#4035C3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#4035C3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4035C3
8.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4035C3#FFFFFF#000000##FFFFFF
##4035C31.008.352.528.35
#FFFFFF8.351.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054C7
Deuteranopia (green-blind)
#0048C0
Tritanopia (blue-blind)
#005D79
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #4035c3;
/* rgb */ color: rgb(64, 53, 195);
/* oklch */ color: oklch(44.4% 0.210 277.0);
Tailwind
colors: {
  custom: {
    50: '#866ed6',
    500: '#4035c3',
    950: '#000000',
  },
}
SCSS
$custom: #4035c3;
$custom-light: #866ed6;
$custom-dark: #000000;
JSON
{
  "hex": "#4035c3",
  "rgb": {
    "r": 64,
    "g": 53,
    "b": 195
  },
  "hsl": {
    "h": 244.648,
    "s": 57.258,
    "l": 48.627
  },
  "oklch": {
    "l": 0.44361,
    "c": 0.20982,
    "h": 277
  },
  "luminance": 0.07576
}

Semantic roles & 50–950 ramp

primary
#4035C3
secondary
#C7CC88
accent
#E147D5
background
#F9F6FD
surface
#F1ECFA
border
#CBC7D3
text
#0D0714
muted
#7E7A83

Preview Lab

Preview with #4035C3

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

Preview Lab → · Contrast checker → · Palette generator →

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