#4034BC#4034BC

#4034BC is a dark, highly saturated blue. Relative luminance 0.072; OKLCH L 43.5% C 0.202 H 277.8°. Best body text is #FFFFFF at 8.62:1 contrast (WCAG AA passes).

Color values

HEX#4034BC
RGBrgb(64, 52, 188)
HSLhsl(245, 57%, 47%)
HSVhsv(245, 72%, 74%)
CMYKcmyk(66%, 72.3%, 0%, 26.3%)
CIE-LABlab(32.20, 45.93, -69.42)
CIE-LCHlch(32.20, 83.24, 303.49°)
OKLaboklab(43.53% 0.0275 -0.2005)
OKLCHoklch(43.53% 0.202 277.8)
XYZxyz(12.4165, 7.1758, 48.2979)
Luminance0.0718 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4034BC #B0BC34
analogous
#346CBC #4034BC #8434BC
triadic
#4034BC #BC4034 #34BC40
tetradic
#4034BC #BC346C #B0BC34 #34BC84
square
#4034BC #BC346C #B0BC34 #34BC84
split-complementary
#4034BC #BC8434 #6CBC34
monochromatic
#1F195C #30278C #4034BC #665BD2 #938BDF

Accessibility & contrast

On white

8.62
#4034BC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4034BC
8.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4034BC#FFFFFF#000000##FFFFFF
##4034BC1.008.622.448.62
#FFFFFF8.621.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.621.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4034bc;
/* rgb */ color: rgb(64, 52, 188);
/* oklch */ color: oklch(43.5% 0.202 277.8);
Tailwind
colors: {
  custom: {
    50: '#856dd1',
    500: '#4034bc',
    950: '#000000',
  },
}
SCSS
$custom: #4034bc;
$custom-light: #856dd1;
$custom-dark: #000000;
JSON
{
  "hex": "#4034bc",
  "rgb": {
    "r": 64,
    "g": 52,
    "b": 188
  },
  "hsl": {
    "h": 245.294,
    "s": 56.667,
    "l": 47.059
  },
  "oklch": {
    "l": 0.43531,
    "c": 0.20233,
    "h": 277.8
  },
  "luminance": 0.07177
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4034BC

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

Preview Lab → · Contrast checker → · Palette generator →

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