#4035C0#4035C0

#4035C0 is a dark, highly saturated blue. Relative luminance 0.074; OKLCH L 44.1% C 0.206 H 277.3°. Best body text is #FFFFFF at 8.44:1 contrast (WCAG AA passes).

Color values

HEX#4035C0
RGBrgb(64, 53, 192)
HSLhsl(245, 57%, 48%)
HSVhsv(245, 72%, 75%)
CMYKcmyk(66.7%, 72.4%, 0%, 24.7%)
CIE-LABlab(32.79, 46.64, -70.81)
CIE-LCHlch(32.79, 84.79, 303.37°)
OKLaboklab(44.07% 0.0261 -0.2045)
OKLCHoklch(44.07% 0.206 277.3)
XYZxyz(12.8988, 7.4409, 50.6154)
Luminance0.0744 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4035C0 #B5C035
analogous
#356FC0 #4035C0 #8535C0
triadic
#4035C0 #C04035 #35C040
tetradic
#4035C0 #C0356F #B5C035 #35C085
square
#4035C0 #C0356F #B5C035 #35C085
split-complementary
#4035C0 #C08535 #6FC035
monochromatic
#201B60 #302890 #4035C0 #685FD3 #968FE0

Accessibility & contrast

On white

8.44
#4035C0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#4035C0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4035C0
8.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4035C0#FFFFFF#000000##FFFFFF
##4035C01.008.442.498.44
#FFFFFF8.441.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053C4
Deuteranopia (green-blind)
#0047BD
Tritanopia (blue-blind)
#005C77
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #4035c0;
/* rgb */ color: rgb(64, 53, 192);
/* oklch */ color: oklch(44.1% 0.206 277.3);
Tailwind
colors: {
  custom: {
    50: '#866ed4',
    500: '#4035c0',
    950: '#000000',
  },
}
SCSS
$custom: #4035c0;
$custom-light: #866ed4;
$custom-dark: #000000;
JSON
{
  "hex": "#4035c0",
  "rgb": {
    "r": 64,
    "g": 53,
    "b": 192
  },
  "hsl": {
    "h": 244.748,
    "s": 56.735,
    "l": 48.039
  },
  "oklch": {
    "l": 0.44065,
    "c": 0.20619,
    "h": 277.3
  },
  "luminance": 0.07442
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4035C0

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

Preview Lab → · Contrast checker → · Palette generator →

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