#4A52E5#4A52E5

#4A52E5 is a mid, highly saturated blue. Relative luminance 0.131; OKLCH L 52.6% C 0.218 H 273.7°. Best body text is #FFFFFF at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#4A52E5
RGBrgb(74, 82, 229)
HSLhsl(237, 75%, 59%)
HSVhsv(237, 68%, 90%)
CMYKcmyk(67.7%, 64.2%, 0%, 10.2%)
CIE-LABlab(42.98, 43.06, -75.40)
CIE-LCHlch(42.98, 86.83, 299.73°)
OKLaboklab(52.6% 0.014 -0.2177)
OKLCHoklch(52.6% 0.218 273.7)
XYZxyz(19.9795, 13.1457, 75.5980)
Luminance0.1315 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A52E5 #E5DD4A
analogous
#4AA0E5 #4A52E5 #904AE5
triadic
#4A52E5 #E54A52 #52E54A
tetradic
#4A52E5 #E54AA0 #E5DD4A #4AE590
square
#4A52E5 #E54AA0 #E5DD4A #4AE590
split-complementary
#4A52E5 #E5904A #A0E54A
monochromatic
#171E9E #1E28D3 #4A52E5 #8085ED #B5B8F4

Accessibility & contrast

On white

5.79
#4A52E5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#4A52E5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A52E5
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A52E5#FFFFFF#000000##FFFFFF
##4A52E51.005.793.635.79
#FFFFFF5.791.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DEA
Deuteranopia (green-blind)
#005EE2
Tritanopia (blue-blind)
#007894
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #4a52e5;
/* rgb */ color: rgb(74, 82, 229);
/* oklch */ color: oklch(52.6% 0.218 273.7);
Tailwind
colors: {
  custom: {
    50: '#8f83ee',
    500: '#4a52e5',
    950: '#000000',
  },
}
SCSS
$custom: #4a52e5;
$custom-light: #8f83ee;
$custom-dark: #000000;
JSON
{
  "hex": "#4a52e5",
  "rgb": {
    "r": 74,
    "g": 82,
    "b": 229
  },
  "hsl": {
    "h": 236.903,
    "s": 74.879,
    "l": 59.412
  },
  "oklch": {
    "l": 0.52601,
    "c": 0.21815,
    "h": 273.7
  },
  "luminance": 0.13148
}

Semantic roles & 50–950 ramp

primary
#4A52E5
secondary
#E4E0A7
accent
#E836F1
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0A17
muted
#7E7C85

Preview Lab

Preview with #4A52E5

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

Preview Lab → · Contrast checker → · Palette generator →

#4A52E5 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva