#4034BB#4034BB

#4034BB is a dark, highly saturated blue. Relative luminance 0.071; OKLCH L 43.4% C 0.201 H 277.9°. Best body text is #FFFFFF at 8.65:1 contrast (WCAG AA passes).

Color values

HEX#4034BB
RGBrgb(64, 52, 187)
HSLhsl(245, 56%, 47%)
HSVhsv(245, 72%, 73%)
CMYKcmyk(65.8%, 72.2%, 0%, 26.7%)
CIE-LABlab(32.11, 45.61, -68.99)
CIE-LCHlch(32.11, 82.70, 303.47°)
OKLaboklab(43.43% 0.0277 -0.1992)
OKLCHoklch(43.43% 0.201 277.9)
XYZxyz(12.3091, 7.1328, 47.7322)
Luminance0.0713 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4034BB #AFBB34
analogous
#346CBB #4034BB #8334BB
triadic
#4034BB #BB4034 #34BB40
tetradic
#4034BB #BB346C #AFBB34 #34BB83
square
#4034BB #BB346C #AFBB34 #34BB83
split-complementary
#4034BB #BB8334 #6CBB34
monochromatic
#1F195B #30278B #4034BB #655BD1 #928BDF

Accessibility & contrast

On white

8.65
#4034BB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#4034BB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4034BB
8.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4034BB#FFFFFF#000000##FFFFFF
##4034BB1.008.652.438.65
#FFFFFF8.651.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.651.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: #4034bb;
/* rgb */ color: rgb(64, 52, 187);
/* oklch */ color: oklch(43.4% 0.201 277.9);
Tailwind
colors: {
  custom: {
    50: '#856dd1',
    500: '#4034bb',
    950: '#000000',
  },
}
SCSS
$custom: #4034bb;
$custom-light: #856dd1;
$custom-dark: #000000;
JSON
{
  "hex": "#4034bb",
  "rgb": {
    "r": 64,
    "g": 52,
    "b": 187
  },
  "hsl": {
    "h": 245.333,
    "s": 56.485,
    "l": 46.863
  },
  "oklch": {
    "l": 0.43434,
    "c": 0.20111,
    "h": 277.9
  },
  "luminance": 0.07134
}

Semantic roles & 50–950 ramp

primary
#4034BB
secondary
#C3C982
accent
#E048D2
background
#F8F6FD
surface
#F0ECFA
border
#CBC7D3
text
#0C0714
muted
#7D7A83

Preview Lab

Preview with #4034BB

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

Preview Lab → · Contrast checker → · Palette generator →

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