#4035C4#4035C4

#4035C4 is a dark, highly saturated blue. Relative luminance 0.076; OKLCH L 44.5% C 0.211 H 276.9°. Best body text is #FFFFFF at 8.32:1 contrast (WCAG AA passes).

Color values

HEX#4035C4
RGBrgb(64, 53, 196)
HSLhsl(245, 57%, 49%)
HSVhsv(245, 73%, 77%)
CMYKcmyk(67.3%, 73%, 0%, 23.1%)
CIE-LABlab(33.18, 47.91, -72.52)
CIE-LCHlch(33.18, 86.91, 303.45°)
OKLaboklab(44.46% 0.0253 -0.2095)
OKLCHoklch(44.46% 0.211 276.9)
XYZxyz(13.3480, 7.6205, 52.9813)
Luminance0.0762 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4035C4 #B9C435
analogous
#3572C4 #4035C4 #8835C4
triadic
#4035C4 #C44035 #35C440
tetradic
#4035C4 #C43572 #B9C435 #35C488
square
#4035C4 #C43572 #B9C435 #35C488
split-complementary
#4035C4 #C48835 #72C435
monochromatic
#211B64 #302894 #4035C4 #6B62D4 #9892E1

Accessibility & contrast

On white

8.32
#4035C4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4035C4
8.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4035C4#FFFFFF#000000##FFFFFF
##4035C41.008.322.528.32
#FFFFFF8.321.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.321.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4035c4;
/* rgb */ color: rgb(64, 53, 196);
/* oklch */ color: oklch(44.5% 0.211 276.9);
Tailwind
colors: {
  custom: {
    50: '#866ed7',
    500: '#4035c4',
    950: '#000000',
  },
}
SCSS
$custom: #4035c4;
$custom-light: #866ed7;
$custom-dark: #000000;
JSON
{
  "hex": "#4035c4",
  "rgb": {
    "r": 64,
    "g": 53,
    "b": 196
  },
  "hsl": {
    "h": 244.615,
    "s": 57.43,
    "l": 48.824
  },
  "oklch": {
    "l": 0.44459,
    "c": 0.21102,
    "h": 276.9
  },
  "luminance": 0.07622
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4035C4

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

Preview Lab → · Contrast checker → · Palette generator →

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