#4034B9#4034B9

#4034B9 is a dark, vivid blue. Relative luminance 0.070; OKLCH L 43.2% C 0.199 H 278.1°. Best body text is #FFFFFF at 8.71:1 contrast (WCAG AA passes).

Color values

HEX#4034B9
RGBrgb(64, 52, 185)
HSLhsl(245, 56%, 46%)
HSVhsv(245, 72%, 73%)
CMYKcmyk(65.4%, 71.9%, 0%, 27.5%)
CIE-LABlab(31.92, 44.97, -68.12)
CIE-LCHlch(31.92, 81.63, 303.43°)
OKLaboklab(43.24% 0.028 -0.1967)
OKLCHoklch(43.24% 0.199 278.1)
XYZxyz(12.0965, 7.0478, 46.6124)
Luminance0.0705 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4034B9 #ADB934
analogous
#346AB9 #4034B9 #8334B9
triadic
#4034B9 #B94034 #34B940
tetradic
#4034B9 #B9346A #ADB934 #34B983
square
#4034B9 #B9346A #ADB934 #34B983
split-complementary
#4034B9 #B98334 #6AB934
monochromatic
#1F1959 #2F2789 #4034B9 #645AD1 #9189DE

Accessibility & contrast

On white

8.71
#4034B9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#4034B9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4034B9
8.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4034B9#FFFFFF#000000##FFFFFF
##4034B91.008.712.418.71
#FFFFFF8.711.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050BD
Deuteranopia (green-blind)
#0046B7
Tritanopia (blue-blind)
#005973
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #4034b9;
/* rgb */ color: rgb(64, 52, 185);
/* oklch */ color: oklch(43.2% 0.199 278.1);
Tailwind
colors: {
  custom: {
    50: '#846dcf',
    500: '#4034b9',
    950: '#000000',
  },
}
SCSS
$custom: #4034b9;
$custom-light: #846dcf;
$custom-dark: #000000;
JSON
{
  "hex": "#4034b9",
  "rgb": {
    "r": 64,
    "g": 52,
    "b": 185
  },
  "hsl": {
    "h": 245.414,
    "s": 56.118,
    "l": 46.471
  },
  "oklch": {
    "l": 0.43239,
    "c": 0.19866,
    "h": 278.1
  },
  "luminance": 0.07049
}

Semantic roles & 50–950 ramp

primary
#4034B9
secondary
#C2C881
accent
#DF48D2
background
#F8F6FC
surface
#F0ECF9
border
#CBC7D2
text
#0C0714
muted
#7D7A82

Preview Lab

Preview with #4034B9

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

Preview Lab → · Contrast checker → · Palette generator →

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