#4A52ED#4A52ED

#4A52ED is a mid, highly saturated blue. Relative luminance 0.136; OKLCH L 53.3% C 0.228 H 273.4°. Best body text is #FFFFFF at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#4A52ED
RGBrgb(74, 82, 237)
HSLhsl(237, 82%, 61%)
HSVhsv(237, 69%, 93%)
CMYKcmyk(68.8%, 65.4%, 0%, 7.1%)
CIE-LABlab(43.66, 45.71, -78.82)
CIE-LCHlch(43.66, 91.12, 300.11°)
OKLaboklab(53.3% 0.0134 -0.2277)
OKLCHoklch(53.3% 0.228 273.4)
XYZxyz(21.1223, 13.6028, 81.6168)
Luminance0.1361 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A52ED #EDE54A
analogous
#4AA3ED #4A52ED #934AED
triadic
#4A52ED #ED4A52 #52ED4A
tetradic
#4A52ED #ED4AA3 #EDE54A #4AED93
square
#4A52ED #ED4AA3 #EDE54A #4AED93
split-complementary
#4A52ED #ED934A #A3ED4A
monochromatic
#1119AC #1721E3 #4A52ED #8287F3 #B9BCF8

Accessibility & contrast

On white

5.64
#4A52ED on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#4A52ED on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A52ED
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A52ED#FFFFFF#000000##FFFFFF
##4A52ED1.005.643.725.64
#FFFFFF5.641.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FF2
Deuteranopia (green-blind)
#0060EA
Tritanopia (blue-blind)
#007B98
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #4a52ed;
/* rgb */ color: rgb(74, 82, 237);
/* oklch */ color: oklch(53.3% 0.228 273.4);
Tailwind
colors: {
  custom: {
    50: '#9183f4',
    500: '#4a52ed',
    950: '#000000',
  },
}
SCSS
$custom: #4a52ed;
$custom-light: #9183f4;
$custom-dark: #000000;
JSON
{
  "hex": "#4a52ed",
  "rgb": {
    "r": 74,
    "g": 82,
    "b": 237
  },
  "hsl": {
    "h": 237.055,
    "s": 81.91,
    "l": 60.98
  },
  "oklch": {
    "l": 0.53301,
    "c": 0.22809,
    "h": 273.4
  },
  "luminance": 0.13605
}

Semantic roles & 50–950 ramp

primary
#4A52ED
secondary
#E8E5AB
accent
#D407DE
background
#F9F8FF
surface
#F2EFFE
border
#CCCAD6
text
#0E0A17
muted
#7E7C85

Preview Lab

Preview with #4A52ED

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

Preview Lab → · Contrast checker → · Palette generator →

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