#4035CC#4035CC

#4035CC is a mid, highly saturated blue. Relative luminance 0.080; OKLCH L 45.3% C 0.221 H 276.2°. Best body text is #FFFFFF at 8.08:1 contrast (WCAG AA passes).

Color values

HEX#4035CC
RGBrgb(64, 53, 204)
HSLhsl(244, 60%, 50%)
HSVhsv(244, 74%, 80%)
CMYKcmyk(68.6%, 74%, 0%, 20%)
CIE-LABlab(33.97, 50.43, -75.88)
CIE-LCHlch(33.97, 91.11, 303.61°)
OKLaboklab(45.26% 0.0237 -0.2193)
OKLCHoklch(45.26% 0.221 276.2)
XYZxyz(14.2830, 7.9945, 57.9054)
Luminance0.0800 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4035CC #C1CC35
analogous
#3575CC #4035CC #8C35CC
triadic
#4035CC #CC4035 #35CC40
tetradic
#4035CC #CC3575 #C1CC35 #35CC8C
square
#4035CC #CC3575 #C1CC35 #35CC8C
split-complementary
#4035CC #CC8C35 #75CC35
monochromatic
#211B6B #30279C #4035CC #6E66D8 #9C97E5

Accessibility & contrast

On white

8.08
#4035CC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#4035CC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4035CC
8.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4035CC#FFFFFF#000000##FFFFFF
##4035CC1.008.082.608.08
#FFFFFF8.081.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056D0
Deuteranopia (green-blind)
#0049C9
Tritanopia (blue-blind)
#00607E
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #4035cc;
/* rgb */ color: rgb(64, 53, 204);
/* oklch */ color: oklch(45.3% 0.221 276.2);
Tailwind
colors: {
  custom: {
    50: '#886fdd',
    500: '#4035cc',
    950: '#000000',
  },
}
SCSS
$custom: #4035cc;
$custom-light: #886fdd;
$custom-dark: #000000;
JSON
{
  "hex": "#4035cc",
  "rgb": {
    "r": 64,
    "g": 53,
    "b": 204
  },
  "hsl": {
    "h": 244.371,
    "s": 59.684,
    "l": 50.392
  },
  "oklch": {
    "l": 0.45258,
    "c": 0.22059,
    "h": 276.2
  },
  "luminance": 0.07996
}

Semantic roles & 50–950 ramp

primary
#4035CC
secondary
#CBD08D
accent
#E345D7
background
#F9F6FD
surface
#F1ECFB
border
#CBC7D4
text
#0D0715
muted
#7E7A83

Preview Lab

Preview with #4035CC

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

Preview Lab → · Contrast checker → · Palette generator →

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