#4035B4#4035B4

#4035B4 is a dark, vivid blue. Relative luminance 0.069; OKLCH L 42.9% C 0.191 H 278.5°. Best body text is #FFFFFF at 8.80:1 contrast (WCAG AA passes).

Color values

HEX#4035B4
RGBrgb(64, 53, 180)
HSLhsl(245, 55%, 46%)
HSVhsv(245, 71%, 71%)
CMYKcmyk(64.4%, 70.6%, 0%, 29.4%)
CIE-LABlab(31.65, 42.80, -65.60)
CIE-LCHlch(31.65, 78.32, 303.12°)
OKLaboklab(42.91% 0.0283 -0.1893)
OKLCHoklch(42.91% 0.191 278.5)
XYZxyz(11.6230, 6.9305, 43.8964)
Luminance0.0693 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4035B4 #A9B435
analogous
#3569B4 #4035B4 #7F35B4
triadic
#4035B4 #B44035 #35B440
tetradic
#4035B4 #B43569 #A9B435 #35B47F
square
#4035B4 #B43569 #A9B435 #35B47F
split-complementary
#4035B4 #B47F35 #69B435
monochromatic
#1E1955 #2F2785 #4035B4 #6258CE #8F88DC

Accessibility & contrast

On white

8.80
#4035B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#4035B4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4035B4
8.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4035B4#FFFFFF#000000##FFFFFF
##4035B41.008.802.398.80
#FFFFFF8.801.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FB8
Deuteranopia (green-blind)
#0045B2
Tritanopia (blue-blind)
#005870
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #4035b4;
/* rgb */ color: rgb(64, 53, 180);
/* oklch */ color: oklch(42.9% 0.191 278.5);
Tailwind
colors: {
  custom: {
    50: '#836ecc',
    500: '#4035b4',
    950: '#000000',
  },
}
SCSS
$custom: #4035b4;
$custom-light: #836ecc;
$custom-dark: #000000;
JSON
{
  "hex": "#4035b4",
  "rgb": {
    "r": 64,
    "g": 53,
    "b": 180
  },
  "hsl": {
    "h": 245.197,
    "s": 54.506,
    "l": 45.686
  },
  "oklch": {
    "l": 0.42905,
    "c": 0.19139,
    "h": 278.5
  },
  "luminance": 0.06931
}

Semantic roles & 50–950 ramp

primary
#4035B4
secondary
#C0C67F
accent
#DE4AD1
background
#F8F6FC
surface
#F0ECF9
border
#CBC7D2
text
#0C0713
muted
#7D7A82

Preview Lab

Preview with #4035B4

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

Preview Lab → · Contrast checker → · Palette generator →

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