#4034AE#4034AE

#4034AE is a dark, vivid blue. Relative luminance 0.066; OKLCH L 42.2% C 0.185 H 279.3°. Best body text is #FFFFFF at 9.05:1 contrast (WCAG AA passes).

Color values

HEX#4034AE
RGBrgb(64, 52, 174)
HSLhsl(246, 54%, 44%)
HSVhsv(246, 70%, 68%)
CMYKcmyk(63.2%, 70.1%, 0%, 31.8%)
CIE-LABlab(30.88, 41.44, -63.28)
CIE-LCHlch(30.88, 75.64, 303.22°)
OKLaboklab(42.19% 0.03 -0.1825)
OKLCHoklch(42.19% 0.185 279.3)
XYZxyz(10.9799, 6.6011, 40.7317)
Luminance0.0660 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4034AE #A2AE34
analogous
#3465AE #4034AE #7D34AE
triadic
#4034AE #AE4034 #34AE40
tetradic
#4034AE #AE3465 #A2AE34 #34AE7D
square
#4034AE #AE3465 #A2AE34 #34AE7D
split-complementary
#4034AE #AE7D34 #65AE34
monochromatic
#1D1850 #2F267F #4034AE #5F53CC #8B83DA

Accessibility & contrast

On white

9.05
#4034AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#4034AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4034AE
9.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4034AE#FFFFFF#000000##FFFFFF
##4034AE1.009.052.329.05
#FFFFFF9.051.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DB2
Deuteranopia (green-blind)
#0044AC
Tritanopia (blue-blind)
#00556D
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #4034ae;
/* rgb */ color: rgb(64, 52, 174);
/* oklch */ color: oklch(42.2% 0.185 279.3);
Tailwind
colors: {
  custom: {
    50: '#826dc7',
    500: '#4034ae',
    950: '#000000',
  },
}
SCSS
$custom: #4034ae;
$custom-light: #826dc7;
$custom-dark: #000000;
JSON
{
  "hex": "#4034ae",
  "rgb": {
    "r": 64,
    "g": 52,
    "b": 174
  },
  "hsl": {
    "h": 245.902,
    "s": 53.982,
    "l": 44.314
  },
  "oklch": {
    "l": 0.42185,
    "c": 0.18496,
    "h": 279.3
  },
  "luminance": 0.06602
}

Semantic roles & 50–950 ramp

primary
#4034AE
secondary
#BCC37B
accent
#DD4ACF
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0713
muted
#7D7A82

Preview Lab

Preview with #4034AE

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

Preview Lab → · Contrast checker → · Palette generator →

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