#4035B9#4035B9

#4035B9 is a dark, vivid blue. Relative luminance 0.071; OKLCH L 43.4% C 0.198 H 278.0°. Best body text is #FFFFFF at 8.65:1 contrast (WCAG AA passes).

Color values

HEX#4035B9
RGBrgb(64, 53, 185)
HSLhsl(245, 55%, 47%)
HSVhsv(245, 71%, 73%)
CMYKcmyk(65.4%, 71.4%, 0%, 27.5%)
CIE-LABlab(32.12, 44.41, -67.79)
CIE-LCHlch(32.12, 81.04, 303.23°)
OKLaboklab(43.38% 0.0274 -0.1957)
OKLCHoklch(43.38% 0.198 278)
XYZxyz(12.1416, 7.1380, 46.6275)
Luminance0.0714 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4035B9 #AEB935
analogous
#356CB9 #4035B9 #8235B9
triadic
#4035B9 #B94035 #35B940
tetradic
#4035B9 #B9356C #AEB935 #35B982
square
#4035B9 #B9356C #AEB935 #35B982
split-complementary
#4035B9 #B98235 #6CB935
monochromatic
#1F1A5A #302789 #4035B9 #655BD0 #928BDE

Accessibility & contrast

On white

8.65
#4035B9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#4035B9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4035B9
8.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4035B9#FFFFFF#000000##FFFFFF
##4035B91.008.652.438.65
#FFFFFF8.651.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051BD
Deuteranopia (green-blind)
#0046B7
Tritanopia (blue-blind)
#005973
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #4035b9;
/* rgb */ color: rgb(64, 53, 185);
/* oklch */ color: oklch(43.4% 0.198 278.0);
Tailwind
colors: {
  custom: {
    50: '#846ecf',
    500: '#4035b9',
    950: '#000000',
  },
}
SCSS
$custom: #4035b9;
$custom-light: #846ecf;
$custom-dark: #000000;
JSON
{
  "hex": "#4035b9",
  "rgb": {
    "r": 64,
    "g": 53,
    "b": 185
  },
  "hsl": {
    "h": 245,
    "s": 55.462,
    "l": 46.667
  },
  "oklch": {
    "l": 0.43384,
    "c": 0.19759,
    "h": 278
  },
  "luminance": 0.07139
}

Semantic roles & 50–950 ramp

primary
#4035B9
secondary
#C2C882
accent
#DF49D2
background
#F8F6FC
surface
#F0ECF9
border
#CBC7D2
text
#0C0714
muted
#7D7A82

Preview Lab

Preview with #4035B9

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

Preview Lab → · Contrast checker → · Palette generator →

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