#4035CF#4035CF

#4035CF is a mid, highly saturated blue. Relative luminance 0.081; OKLCH L 45.6% C 0.224 H 275.9°. Best body text is #FFFFFF at 7.99:1 contrast (WCAG AA passes).

Color values

HEX#4035CF
RGBrgb(64, 53, 207)
HSLhsl(244, 62%, 51%)
HSVhsv(244, 74%, 81%)
CMYKcmyk(69.1%, 74.4%, 0%, 18.8%)
CIE-LABlab(34.27, 51.37, -77.13)
CIE-LCHlch(34.27, 92.67, 303.66°)
OKLaboklab(45.56% 0.0231 -0.2229)
OKLCHoklch(45.56% 0.224 275.9)
XYZxyz(14.6462, 8.1398, 59.8187)
Luminance0.0814 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4035CF #C4CF35
analogous
#3577CF #4035CF #8D35CF
triadic
#4035CF #CF4035 #35CF40
tetradic
#4035CF #CF3577 #C4CF35 #35CF8D
square
#4035CF #CF3577 #C4CF35 #35CF8D
split-complementary
#4035CF #CF8D35 #77CF35
monochromatic
#201A6F #2F26A1 #4035CF #6F66DB #9E98E7

Accessibility & contrast

On white

7.99
#4035CF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#4035CF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4035CF
7.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4035CF#FFFFFF#000000##FFFFFF
##4035CF1.007.992.637.99
#FFFFFF7.991.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057D3
Deuteranopia (green-blind)
#004ACC
Tritanopia (blue-blind)
#006280
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #4035cf;
/* rgb */ color: rgb(64, 53, 207);
/* oklch */ color: oklch(45.6% 0.224 275.9);
Tailwind
colors: {
  custom: {
    50: '#896fdf',
    500: '#4035cf',
    950: '#000000',
  },
}
SCSS
$custom: #4035cf;
$custom-light: #896fdf;
$custom-dark: #000000;
JSON
{
  "hex": "#4035cf",
  "rgb": {
    "r": 64,
    "g": 53,
    "b": 207
  },
  "hsl": {
    "h": 244.286,
    "s": 61.6,
    "l": 50.98
  },
  "oklch": {
    "l": 0.4556,
    "c": 0.22414,
    "h": 275.9
  },
  "luminance": 0.08141
}

Semantic roles & 50–950 ramp

primary
#4035CF
secondary
#CDD28E
accent
#E543D9
background
#F9F6FD
surface
#F2ECFB
border
#CCC7D4
text
#0D0715
muted
#7E7A83

Preview Lab

Preview with #4035CF

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

Preview Lab → · Contrast checker → · Palette generator →

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