#4035BD#4035BD

#4035BD is a dark, highly saturated blue. Relative luminance 0.073; OKLCH L 43.8% C 0.203 H 277.6°. Best body text is #FFFFFF at 8.53:1 contrast (WCAG AA passes).

Color values

HEX#4035BD
RGBrgb(64, 53, 189)
HSLhsl(245, 56%, 47%)
HSVhsv(245, 72%, 74%)
CMYKcmyk(66.1%, 72%, 0%, 25.9%)
CIE-LABlab(32.50, 45.69, -69.52)
CIE-LCHlch(32.50, 83.19, 303.31°)
OKLaboklab(43.77% 0.0267 -0.2008)
OKLCHoklch(43.77% 0.203 277.6)
XYZxyz(12.5698, 7.3092, 48.8827)
Luminance0.0731 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4035BD #B2BD35
analogous
#356EBD #4035BD #8435BD
triadic
#4035BD #BD4035 #35BD40
tetradic
#4035BD #BD356E #B2BD35 #35BD84
square
#4035BD #BD356E #B2BD35 #35BD84
split-complementary
#4035BD #BD8435 #6EBD35
monochromatic
#201A5D #30288D #4035BD #675DD2 #948DDF

Accessibility & contrast

On white

8.53
#4035BD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#4035BD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4035BD
8.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4035BD#FFFFFF#000000##FFFFFF
##4035BD1.008.532.468.53
#FFFFFF8.531.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052C1
Deuteranopia (green-blind)
#0047BA
Tritanopia (blue-blind)
#005B75
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #4035bd;
/* rgb */ color: rgb(64, 53, 189);
/* oklch */ color: oklch(43.8% 0.203 277.6);
Tailwind
colors: {
  custom: {
    50: '#856ed2',
    500: '#4035bd',
    950: '#000000',
  },
}
SCSS
$custom: #4035bd;
$custom-light: #856ed2;
$custom-dark: #000000;
JSON
{
  "hex": "#4035bd",
  "rgb": {
    "r": 64,
    "g": 53,
    "b": 189
  },
  "hsl": {
    "h": 244.853,
    "s": 56.198,
    "l": 47.451
  },
  "oklch": {
    "l": 0.43772,
    "c": 0.20252,
    "h": 277.6
  },
  "luminance": 0.0731
}

Semantic roles & 50–950 ramp

primary
#4035BD
secondary
#C4CA84
accent
#DF48D3
background
#F8F6FD
surface
#F0ECFA
border
#CBC7D3
text
#0C0714
muted
#7D7A83

Preview Lab

Preview with #4035BD

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

Preview Lab → · Contrast checker → · Palette generator →

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