#4035BC#4035BC

#4035BC is a dark, highly saturated blue. Relative luminance 0.073; OKLCH L 43.7% C 0.201 H 277.7°. Best body text is #FFFFFF at 8.56:1 contrast (WCAG AA passes).

Color values

HEX#4035BC
RGBrgb(64, 53, 188)
HSLhsl(245, 56%, 47%)
HSVhsv(245, 72%, 74%)
CMYKcmyk(66%, 71.8%, 0%, 26.3%)
CIE-LABlab(32.41, 45.37, -69.09)
CIE-LCHlch(32.41, 82.65, 303.29°)
OKLaboklab(43.68% 0.0268 -0.1995)
OKLCHoklch(43.68% 0.201 277.7)
XYZxyz(12.4616, 7.2660, 48.3130)
Luminance0.0727 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4035BC #B1BC35
analogous
#356DBC #4035BC #8435BC
triadic
#4035BC #BC4035 #35BC40
tetradic
#4035BC #BC356D #B1BC35 #35BC84
square
#4035BC #BC356D #B1BC35 #35BC84
split-complementary
#4035BC #BC8435 #6DBC35
monochromatic
#1F1A5D #30288C #4035BC #665DD1 #938DDF

Accessibility & contrast

On white

8.56
#4035BC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#4035BC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4035BC
8.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4035BC#FFFFFF#000000##FFFFFF
##4035BC1.008.562.458.56
#FFFFFF8.561.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.561.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4035bc;
/* rgb */ color: rgb(64, 53, 188);
/* oklch */ color: oklch(43.7% 0.201 277.7);
Tailwind
colors: {
  custom: {
    50: '#856ed1',
    500: '#4035bc',
    950: '#000000',
  },
}
SCSS
$custom: #4035bc;
$custom-light: #856ed1;
$custom-dark: #000000;
JSON
{
  "hex": "#4035bc",
  "rgb": {
    "r": 64,
    "g": 53,
    "b": 188
  },
  "hsl": {
    "h": 244.889,
    "s": 56.017,
    "l": 47.255
  },
  "oklch": {
    "l": 0.43675,
    "c": 0.2013,
    "h": 277.7
  },
  "luminance": 0.07267
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4035BC

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

Preview Lab → · Contrast checker → · Palette generator →

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