#4034DB#4034DB

#4034DB is a mid, highly saturated blue. Relative luminance 0.087; OKLCH L 46.7% C 0.239 H 275.0°. Best body text is #FFFFFF at 7.69:1 contrast (WCAG AA passes).

Color values

HEX#4034DB
RGBrgb(64, 52, 219)
HSLhsl(244, 70%, 53%)
HSVhsv(244, 76%, 86%)
CMYKcmyk(70.8%, 76.3%, 0%, 14.1%)
CIE-LABlab(35.32, 55.59, -82.33)
CIE-LCHlch(35.32, 99.34, 304.03°)
OKLaboklab(46.66% 0.021 -0.2381)
OKLCHoklch(46.66% 0.239 275)
XYZxyz(16.1243, 8.6589, 67.8257)
Luminance0.0866 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4034DB #CFDB34
analogous
#347CDB #4034DB #9334DB
triadic
#4034DB #DB4034 #34DB40
tetradic
#4034DB #DB347C #CFDB34 #34DB93
square
#4034DB #DB347C #CFDB34 #34DB93
split-complementary
#4034DB #DB9334 #7CDB34
monochromatic
#1E167E #2A20B2 #4034DB #7168E4 #A29CED

Accessibility & contrast

On white

7.69
#4034DB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#4034DB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4034DB
7.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4034DB#FFFFFF#000000##FFFFFF
##4034DB1.007.692.737.69
#FFFFFF7.691.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AE0
Deuteranopia (green-blind)
#004BD8
Tritanopia (blue-blind)
#006686
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #4034db;
/* rgb */ color: rgb(64, 52, 219);
/* oklch */ color: oklch(46.7% 0.239 275.0);
Tailwind
colors: {
  custom: {
    50: '#8b6fe8',
    500: '#4034db',
    950: '#000000',
  },
}
SCSS
$custom: #4034db;
$custom-light: #8b6fe8;
$custom-dark: #000000;
JSON
{
  "hex": "#4034db",
  "rgb": {
    "r": 64,
    "g": 52,
    "b": 219
  },
  "hsl": {
    "h": 244.311,
    "s": 69.874,
    "l": 53.137
  },
  "oklch": {
    "l": 0.46662,
    "c": 0.239,
    "h": 275
  },
  "luminance": 0.0866
}

Semantic roles & 50–950 ramp

primary
#4034DB
secondary
#D4D991
accent
#ED3BE0
background
#F9F6FE
surface
#F2ECFD
border
#CCC7D5
text
#0E0716
muted
#7E7A84

Preview Lab

Preview with #4034DB

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

Preview Lab → · Contrast checker → · Palette generator →

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