#4034BF#4034BF

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

Color values

HEX#4034BF
RGBrgb(64, 52, 191)
HSLhsl(245, 57%, 48%)
HSVhsv(245, 73%, 75%)
CMYKcmyk(66.5%, 72.8%, 0%, 25.1%)
CIE-LABlab(32.49, 46.88, -70.71)
CIE-LCHlch(32.49, 84.84, 303.54°)
OKLaboklab(43.83% 0.0269 -0.2042)
OKLCHoklch(43.83% 0.206 277.5)
XYZxyz(12.7433, 7.3065, 50.0188)
Luminance0.0731 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4034BF #B3BF34
analogous
#346DBF #4034BF #8634BF
triadic
#4034BF #BF4034 #34BF40
tetradic
#4034BF #BF346D #B3BF34 #34BF86
square
#4034BF #BF346D #B3BF34 #34BF86
split-complementary
#4034BF #BF8634 #6DBF34
monochromatic
#201A5F #30278F #4034BF #675DD3 #948DE0

Accessibility & contrast

On white

8.53
#4034BF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#4034BF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4034BF
8.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4034BF#FFFFFF#000000##FFFFFF
##4034BF1.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)
#0052C3
Deuteranopia (green-blind)
#0047BC
Tritanopia (blue-blind)
#005B76
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #4034bf;
/* rgb */ color: rgb(64, 52, 191);
/* oklch */ color: oklch(43.8% 0.206 277.5);
Tailwind
colors: {
  custom: {
    50: '#866ed4',
    500: '#4034bf',
    950: '#000000',
  },
}
SCSS
$custom: #4034bf;
$custom-light: #866ed4;
$custom-dark: #000000;
JSON
{
  "hex": "#4034bf",
  "rgb": {
    "r": 64,
    "g": 52,
    "b": 191
  },
  "hsl": {
    "h": 245.18,
    "s": 57.202,
    "l": 47.647
  },
  "oklch": {
    "l": 0.43826,
    "c": 0.20598,
    "h": 277.5
  },
  "luminance": 0.07308
}

Semantic roles & 50–950 ramp

primary
#4034BF
secondary
#C4CA84
accent
#E047D3
background
#F8F6FD
surface
#F0ECFA
border
#CBC7D3
text
#0D0714
muted
#7D7A83

Preview Lab

Preview with #4034BF

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

Preview Lab → · Contrast checker → · Palette generator →

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