#4A52EA#4A52EA

#4A52EA is a mid, highly saturated blue. Relative luminance 0.134; OKLCH L 53.0% C 0.224 H 273.5°. Best body text is #FFFFFF at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#4A52EA
RGBrgb(74, 82, 234)
HSLhsl(237, 79%, 60%)
HSVhsv(237, 68%, 92%)
CMYKcmyk(68.4%, 65%, 0%, 8.2%)
CIE-LABlab(43.40, 44.72, -77.55)
CIE-LCHlch(43.40, 89.52, 299.97°)
OKLaboklab(53.04% 0.0136 -0.224)
OKLCHoklch(53.04% 0.224 273.5)
XYZxyz(20.6877, 13.4290, 79.3278)
Luminance0.1343 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A52EA #EAE24A
analogous
#4AA2EA #4A52EA #924AEA
triadic
#4A52EA #EA4A52 #52EA4A
tetradic
#4A52EA #EA4AA2 #EAE24A #4AEA92
square
#4A52EA #EA4AA2 #EAE24A #4AEA92
split-complementary
#4A52EA #EA924A #A2EA4A
monochromatic
#131BA6 #1A23DD #4A52EA #8186F0 #B8BBF7

Accessibility & contrast

On white

5.70
#4A52EA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#4A52EA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A52EA
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A52EA#FFFFFF#000000##FFFFFF
##4A52EA1.005.703.695.70
#FFFFFF5.701.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EEF
Deuteranopia (green-blind)
#005FE7
Tritanopia (blue-blind)
#007A97
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #4a52ea;
/* rgb */ color: rgb(74, 82, 234);
/* oklch */ color: oklch(53.0% 0.224 273.5);
Tailwind
colors: {
  custom: {
    50: '#9083f2',
    500: '#4a52ea',
    950: '#000000',
  },
}
SCSS
$custom: #4a52ea;
$custom-light: #9083f2;
$custom-dark: #000000;
JSON
{
  "hex": "#4a52ea",
  "rgb": {
    "r": 74,
    "g": 82,
    "b": 234
  },
  "hsl": {
    "h": 237,
    "s": 79.208,
    "l": 60.392
  },
  "oklch": {
    "l": 0.53037,
    "c": 0.22438,
    "h": 273.5
  },
  "luminance": 0.13431
}

Semantic roles & 50–950 ramp

primary
#4A52EA
secondary
#E6E3A9
accent
#D10ADC
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0A17
muted
#7E7C85

Preview Lab

Preview with #4A52EA

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

Preview Lab → · Contrast checker → · Palette generator →

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