#4035C8#4035C8

#4035C8 is a dark, highly saturated blue. Relative luminance 0.078; OKLCH L 44.9% C 0.216 H 276.5°. Best body text is #FFFFFF at 8.20:1 contrast (WCAG AA passes).

Color values

HEX#4035C8
RGBrgb(64, 53, 200)
HSLhsl(244, 58%, 50%)
HSVhsv(244, 74%, 78%)
CMYKcmyk(68%, 73.5%, 0%, 21.6%)
CIE-LABlab(33.57, 49.17, -74.21)
CIE-LCHlch(33.57, 89.02, 303.53°)
OKLaboklab(44.86% 0.0245 -0.2144)
OKLCHoklch(44.86% 0.216 276.5)
XYZxyz(13.8094, 7.8051, 55.4112)
Luminance0.0781 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4035C8 #BDC835
analogous
#3573C8 #4035C8 #8A35C8
triadic
#4035C8 #C84035 #35C840
tetradic
#4035C8 #C83573 #BDC835 #35C88A
square
#4035C8 #C83573 #BDC835 #35C88A
split-complementary
#4035C8 #C88A35 #73C835
monochromatic
#211B67 #312898 #4035C8 #6D64D6 #9A95E3

Accessibility & contrast

On white

8.20
#4035C8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#4035C8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4035C8
8.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4035C8#FFFFFF#000000##FFFFFF
##4035C81.008.202.568.20
#FFFFFF8.201.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055CC
Deuteranopia (green-blind)
#0048C5
Tritanopia (blue-blind)
#005F7C
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #4035c8;
/* rgb */ color: rgb(64, 53, 200);
/* oklch */ color: oklch(44.9% 0.216 276.5);
Tailwind
colors: {
  custom: {
    50: '#876fda',
    500: '#4035c8',
    950: '#000000',
  },
}
SCSS
$custom: #4035c8;
$custom-light: #876fda;
$custom-dark: #000000;
JSON
{
  "hex": "#4035c8",
  "rgb": {
    "r": 64,
    "g": 53,
    "b": 200
  },
  "hsl": {
    "h": 244.49,
    "s": 58.103,
    "l": 49.608
  },
  "oklch": {
    "l": 0.44857,
    "c": 0.21583,
    "h": 276.5
  },
  "luminance": 0.07806
}

Semantic roles & 50–950 ramp

primary
#4035C8
secondary
#C9CE8B
accent
#E146D6
background
#F9F6FD
surface
#F1ECFB
border
#CBC7D4
text
#0D0715
muted
#7E7A83

Preview Lab

Preview with #4035C8

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

Preview Lab → · Contrast checker → · Palette generator →

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