#4035C1#4035C1

#4035C1 is a dark, highly saturated blue. Relative luminance 0.075; OKLCH L 44.2% C 0.207 H 277.2°. Best body text is #FFFFFF at 8.41:1 contrast (WCAG AA passes).

Color values

HEX#4035C1
RGBrgb(64, 53, 193)
HSLhsl(245, 57%, 48%)
HSVhsv(245, 73%, 76%)
CMYKcmyk(66.8%, 72.5%, 0%, 24.3%)
CIE-LABlab(32.89, 46.96, -71.24)
CIE-LCHlch(32.89, 85.32, 303.39°)
OKLaboklab(44.16% 0.0259 -0.2058)
OKLCHoklch(44.16% 0.207 277.2)
XYZxyz(13.0100, 7.4853, 51.2009)
Luminance0.0749 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4035C1 #B6C135
analogous
#3570C1 #4035C1 #8635C1
triadic
#4035C1 #C14035 #35C140
tetradic
#4035C1 #C13570 #B6C135 #35C186
square
#4035C1 #C13570 #B6C135 #35C186
split-complementary
#4035C1 #C18635 #70C135
monochromatic
#201B61 #302891 #4035C1 #6960D3 #9690E0

Accessibility & contrast

On white

8.41
#4035C1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#4035C1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4035C1
8.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4035C1#FFFFFF#000000##FFFFFF
##4035C11.008.412.508.41
#FFFFFF8.411.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053C5
Deuteranopia (green-blind)
#0047BE
Tritanopia (blue-blind)
#005C78
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #4035c1;
/* rgb */ color: rgb(64, 53, 193);
/* oklch */ color: oklch(44.2% 0.207 277.2);
Tailwind
colors: {
  custom: {
    50: '#866ed5',
    500: '#4035c1',
    950: '#000000',
  },
}
SCSS
$custom: #4035c1;
$custom-light: #866ed5;
$custom-dark: #000000;
JSON
{
  "hex": "#4035c1",
  "rgb": {
    "r": 64,
    "g": 53,
    "b": 193
  },
  "hsl": {
    "h": 244.714,
    "s": 56.911,
    "l": 48.235
  },
  "oklch": {
    "l": 0.44163,
    "c": 0.20739,
    "h": 277.2
  },
  "luminance": 0.07486
}

Semantic roles & 50–950 ramp

primary
#4035C1
secondary
#C6CB87
accent
#E048D4
background
#F8F6FD
surface
#F0ECFA
border
#CBC7D3
text
#0D0714
muted
#7D7A83

Preview Lab

Preview with #4035C1

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

Preview Lab → · Contrast checker → · Palette generator →

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