#4035C5#4035C5

#4035C5 is a dark, highly saturated blue. Relative luminance 0.077; OKLCH L 44.6% C 0.212 H 276.8°. Best body text is #FFFFFF at 8.29:1 contrast (WCAG AA passes).

Color values

HEX#4035C5
RGBrgb(64, 53, 197)
HSLhsl(245, 58%, 49%)
HSVhsv(245, 73%, 77%)
CMYKcmyk(67.5%, 73.1%, 0%, 22.7%)
CIE-LABlab(33.28, 48.23, -72.94)
CIE-LCHlch(33.28, 87.44, 303.47°)
OKLaboklab(44.56% 0.0251 -0.2107)
OKLCHoklch(44.56% 0.212 276.8)
XYZxyz(13.4622, 7.6662, 53.5828)
Luminance0.0767 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4035C5 #BAC535
analogous
#3572C5 #4035C5 #8835C5
triadic
#4035C5 #C54035 #35C540
tetradic
#4035C5 #C53572 #BAC535 #35C588
square
#4035C5 #C53572 #BAC535 #35C588
split-complementary
#4035C5 #C58835 #72C535
monochromatic
#211B65 #302895 #4035C5 #6B62D5 #9993E2

Accessibility & contrast

On white

8.29
#4035C5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#4035C5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4035C5
8.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4035C5#FFFFFF#000000##FFFFFF
##4035C51.008.292.538.29
#FFFFFF8.291.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054C9
Deuteranopia (green-blind)
#0048C2
Tritanopia (blue-blind)
#005E7A
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #4035c5;
/* rgb */ color: rgb(64, 53, 197);
/* oklch */ color: oklch(44.6% 0.212 276.8);
Tailwind
colors: {
  custom: {
    50: '#876ed8',
    500: '#4035c5',
    950: '#000000',
  },
}
SCSS
$custom: #4035c5;
$custom-light: #876ed8;
$custom-dark: #000000;
JSON
{
  "hex": "#4035c5",
  "rgb": {
    "r": 64,
    "g": 53,
    "b": 197
  },
  "hsl": {
    "h": 244.583,
    "s": 57.6,
    "l": 49.02
  },
  "oklch": {
    "l": 0.44558,
    "c": 0.21223,
    "h": 276.8
  },
  "luminance": 0.07667
}

Semantic roles & 50–950 ramp

primary
#4035C5
secondary
#C8CD89
accent
#E147D5
background
#F9F6FD
surface
#F1ECFB
border
#CBC7D4
text
#0D0715
muted
#7E7A83

Preview Lab

Preview with #4035C5

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

Preview Lab → · Contrast checker → · Palette generator →

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