#4029EA#4029EA

#4029EA is a mid, highly saturated blue. Relative luminance 0.086; OKLCH L 47.1% C 0.264 H 274.6°. Best body text is #FFFFFF at 7.71:1 contrast (WCAG AA passes).

Color values

HEX#4029EA
RGBrgb(64, 41, 234)
HSLhsl(247, 82%, 54%)
HSVhsv(247, 82%, 92%)
CMYKcmyk(72.6%, 82.5%, 0%, 8.2%)
CIE-LABlab(35.23, 64.99, -91.05)
CIE-LCHlch(35.23, 111.86, 305.52°)
OKLaboklab(47.08% 0.0212 -0.2632)
OKLCHoklch(47.08% 0.264 274.6)
XYZxyz(17.7537, 8.6146, 78.5531)
Luminance0.0862 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4029EA #D3EA29
analogous
#2973EA #4029EA #A129EA
triadic
#4029EA #EA4029 #29EA40
tetradic
#4029EA #EA2973 #D3EA29 #29EAA1
square
#4029EA #EA2973 #D3EA29 #29EAA1
split-complementary
#4029EA #EAA129 #73EA29
monochromatic
#1D0E8B #2813C3 #4029EA #7261EF #A398F5

Accessibility & contrast

On white

7.71
#4029EA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#4029EA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4029EA
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4029EA#FFFFFF#000000##FFFFFF
##4029EA1.007.712.727.71
#FFFFFF7.711.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BEF
Deuteranopia (green-blind)
#004AE7
Tritanopia (blue-blind)
#00688D
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #4029ea;
/* rgb */ color: rgb(64, 41, 234);
/* oklch */ color: oklch(47.1% 0.264 274.6);
Tailwind
colors: {
  custom: {
    50: '#8f6af2',
    500: '#4029ea',
    950: '#000000',
  },
}
SCSS
$custom: #4029ea;
$custom-light: #8f6af2;
$custom-dark: #000000;
JSON
{
  "hex": "#4029ea",
  "rgb": {
    "r": 64,
    "g": 41,
    "b": 234
  },
  "hsl": {
    "h": 247.15,
    "s": 82.128,
    "l": 53.922
  },
  "oklch": {
    "l": 0.47077,
    "c": 0.26407,
    "h": 274.6
  },
  "luminance": 0.08616
}

Semantic roles & 50–950 ramp

primary
#4029EA
secondary
#D7E18E
accent
#F82FE1
background
#FAF6FF
surface
#F3EBFE
border
#CDC6D6
text
#0F0717
muted
#7F7A85

Preview Lab

Preview with #4029EA

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

Preview Lab → · Contrast checker → · Palette generator →

#4029EA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva