#4034BD#4034BD

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

Color values

HEX#4034BD
RGBrgb(64, 52, 189)
HSLhsl(245, 57%, 47%)
HSVhsv(245, 72%, 74%)
CMYKcmyk(66.1%, 72.5%, 0%, 25.9%)
CIE-LABlab(32.30, 46.25, -69.85)
CIE-LCHlch(32.30, 83.77, 303.51°)
OKLaboklab(43.63% 0.0273 -0.2017)
OKLCHoklch(43.63% 0.204 277.7)
XYZxyz(12.5247, 7.2190, 48.8676)
Luminance0.0722 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4034BD #B1BD34
analogous
#346DBD #4034BD #8434BD
triadic
#4034BD #BD4034 #34BD40
tetradic
#4034BD #BD346D #B1BD34 #34BD84
square
#4034BD #BD346D #B1BD34 #34BD84
split-complementary
#4034BD #BD8434 #6DBD34
monochromatic
#1F1A5D #30278D #4034BD #665CD2 #938CDF

Accessibility & contrast

On white

8.59
#4034BD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#4034BD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4034BD
8.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4034BD#FFFFFF#000000##FFFFFF
##4034BD1.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)
#0052C1
Deuteranopia (green-blind)
#0046BA
Tritanopia (blue-blind)
#005A75
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #4034bd;
/* rgb */ color: rgb(64, 52, 189);
/* oklch */ color: oklch(43.6% 0.204 277.7);
Tailwind
colors: {
  custom: {
    50: '#856dd2',
    500: '#4034bd',
    950: '#000000',
  },
}
SCSS
$custom: #4034bd;
$custom-light: #856dd2;
$custom-dark: #000000;
JSON
{
  "hex": "#4034bd",
  "rgb": {
    "r": 64,
    "g": 52,
    "b": 189
  },
  "hsl": {
    "h": 245.255,
    "s": 56.846,
    "l": 47.255
  },
  "oklch": {
    "l": 0.43629,
    "c": 0.20356,
    "h": 277.7
  },
  "luminance": 0.0722
}

Semantic roles & 50–950 ramp

primary
#4034BD
secondary
#C3CA83
accent
#E048D3
background
#F8F6FD
surface
#F0ECFA
border
#CBC7D3
text
#0C0714
muted
#7D7A83

Preview Lab

Preview with #4034BD

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

Preview Lab → · Contrast checker → · Palette generator →

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