#4035FF#4035FF

#4035FF is a mid, highly saturated blue. Relative luminance 0.109; OKLCH L 50.6% C 0.278 H 272.6°. Best body text is #FFFFFF at 6.62:1 contrast (WCAG AA passes).

Color values

HEX#4035FF
RGBrgb(64, 53, 255)
HSLhsl(243, 100%, 60%)
HSVhsv(243, 79%, 100%)
CMYKcmyk(74.9%, 79.2%, 0%, 0%)
CIE-LABlab(39.33, 65.82, -96.08)
CIE-LCHlch(39.33, 116.46, 304.41°)
OKLaboklab(50.59% 0.0126 -0.278)
OKLCHoklch(50.59% 0.278 272.6)
XYZxyz(21.4314, 10.8539, 95.5539)
Luminance0.1086 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4035FF #F4FF35
analogous
#358FFF #4035FF #A535FF
triadic
#4035FF #FF4035 #35FF40
tetradic
#4035FF #FF358F #F4FF35 #35FFA5
square
#4035FF #FF358F #F4FF35 #35FFA5
split-complementary
#4035FF #FFA535 #8FFF35
monochromatic
#0A00BA #0D00F7 #4035FF #7A72FF #B4AFFF

Accessibility & contrast

On white

6.62
#4035FF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#4035FF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4035FF
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4035FF#FFFFFF#000000##FFFFFF
##4035FF1.006.623.176.62
#FFFFFF6.621.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066FF
Deuteranopia (green-blind)
#0053FC
Tritanopia (blue-blind)
#00759B
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #4035ff;
/* rgb */ color: rgb(64, 53, 255);
/* oklch */ color: oklch(50.6% 0.278 272.6);
Tailwind
colors: {
  custom: {
    50: '#9371ff',
    500: '#4035ff',
    950: '#000000',
  },
}
SCSS
$custom: #4035ff;
$custom-light: #9371ff;
$custom-dark: #000000;
JSON
{
  "hex": "#4035ff",
  "rgb": {
    "r": 64,
    "g": 53,
    "b": 255
  },
  "hsl": {
    "h": 243.267,
    "s": 100,
    "l": 60.392
  },
  "oklch": {
    "l": 0.5059,
    "c": 0.27829,
    "h": 272.6
  },
  "luminance": 0.10856
}

Semantic roles & 50–950 ramp

primary
#4035FF
secondary
#EAEEA1
accent
#E600D9
background
#FAF7FF
surface
#F4EDFF
border
#CEC8D7
text
#0F0818
muted
#7F7B86

Preview Lab

Preview with #4035FF

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

Preview Lab → · Contrast checker → · Palette generator →

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