#4035B5#4035B5

#4035B5 is a dark, vivid blue. Relative luminance 0.070; OKLCH L 43.0% C 0.193 H 278.4°. Best body text is #FFFFFF at 8.77:1 contrast (WCAG AA passes).

Color values

HEX#4035B5
RGBrgb(64, 53, 181)
HSLhsl(245, 55%, 46%)
HSVhsv(245, 71%, 71%)
CMYKcmyk(64.6%, 70.7%, 0%, 29%)
CIE-LABlab(31.74, 43.12, -66.04)
CIE-LCHlch(31.74, 78.87, 303.14°)
OKLaboklab(43% 0.0281 -0.1906)
OKLCHoklch(43% 0.193 278.4)
XYZxyz(11.7253, 6.9714, 44.4348)
Luminance0.0697 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4035B5 #AAB535
analogous
#356AB5 #4035B5 #8035B5
triadic
#4035B5 #B54035 #35B540
tetradic
#4035B5 #B5356A #AAB535 #35B580
square
#4035B5 #B5356A #AAB535 #35B580
split-complementary
#4035B5 #B58035 #6AB535
monochromatic
#1F1956 #2F2786 #4035B5 #6359CE #8F88DC

Accessibility & contrast

On white

8.77
#4035B5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4035B5
8.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4035B5#FFFFFF#000000##FFFFFF
##4035B51.008.772.398.77
#FFFFFF8.771.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050B9
Deuteranopia (green-blind)
#0045B3
Tritanopia (blue-blind)
#005871
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #4035b5;
/* rgb */ color: rgb(64, 53, 181);
/* oklch */ color: oklch(43.0% 0.193 278.4);
Tailwind
colors: {
  custom: {
    50: '#836ecc',
    500: '#4035b5',
    950: '#000000',
  },
}
SCSS
$custom: #4035b5;
$custom-light: #836ecc;
$custom-dark: #000000;
JSON
{
  "hex": "#4035b5",
  "rgb": {
    "r": 64,
    "g": 53,
    "b": 181
  },
  "hsl": {
    "h": 245.156,
    "s": 54.701,
    "l": 45.882
  },
  "oklch": {
    "l": 0.43,
    "c": 0.19264,
    "h": 278.4
  },
  "luminance": 0.06972
}

Semantic roles & 50–950 ramp

primary
#4035B5
secondary
#C0C680
accent
#DE4AD1
background
#F8F6FC
surface
#F0ECF9
border
#CBC7D2
text
#0C0714
muted
#7D7A82

Preview Lab

Preview with #4035B5

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

Preview Lab → · Contrast checker → · Palette generator →

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