#4035BB#4035BB

#4035BB is a dark, highly saturated blue. Relative luminance 0.072; OKLCH L 43.6% C 0.200 H 277.8°. Best body text is #FFFFFF at 8.59:1 contrast (WCAG AA passes).

Color values

HEX#4035BB
RGBrgb(64, 53, 187)
HSLhsl(245, 56%, 47%)
HSVhsv(245, 72%, 73%)
CMYKcmyk(65.8%, 71.7%, 0%, 26.7%)
CIE-LABlab(32.31, 45.05, -68.66)
CIE-LCHlch(32.31, 82.11, 303.27°)
OKLaboklab(43.58% 0.027 -0.1982)
OKLCHoklch(43.58% 0.2 277.8)
XYZxyz(12.3542, 7.2230, 47.7472)
Luminance0.0722 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4035BB #B0BB35
analogous
#356DBB #4035BB #8335BB
triadic
#4035BB #BB4035 #35BB40
tetradic
#4035BB #BB356D #B0BB35 #35BB83
square
#4035BB #BB356D #B0BB35 #35BB83
split-complementary
#4035BB #BB8335 #6DBB35
monochromatic
#1F1A5C #30278B #4035BB #665CD1 #938CDE

Accessibility & contrast

On white

8.59
#4035BB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#4035BB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4035BB
8.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4035BB#FFFFFF#000000##FFFFFF
##4035BB1.008.592.448.59
#FFFFFF8.591.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051BF
Deuteranopia (green-blind)
#0046B9
Tritanopia (blue-blind)
#005A74
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #4035bb;
/* rgb */ color: rgb(64, 53, 187);
/* oklch */ color: oklch(43.6% 0.200 277.8);
Tailwind
colors: {
  custom: {
    50: '#856ed1',
    500: '#4035bb',
    950: '#000000',
  },
}
SCSS
$custom: #4035bb;
$custom-light: #856ed1;
$custom-dark: #000000;
JSON
{
  "hex": "#4035bb",
  "rgb": {
    "r": 64,
    "g": 53,
    "b": 187
  },
  "hsl": {
    "h": 244.925,
    "s": 55.833,
    "l": 47.059
  },
  "oklch": {
    "l": 0.43578,
    "c": 0.20006,
    "h": 277.8
  },
  "luminance": 0.07224
}

Semantic roles & 50–950 ramp

primary
#4035BB
secondary
#C3C983
accent
#DF49D3
background
#F8F6FD
surface
#F0ECFA
border
#CBC7D3
text
#0C0714
muted
#7D7A83

Preview Lab

Preview with #4035BB

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

Preview Lab → · Contrast checker → · Palette generator →

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