#4A52DE#4A52DE

#4A52DE is a mid, highly saturated blue. Relative luminance 0.128; OKLCH L 52.0% C 0.209 H 274.0°. Best body text is #FFFFFF at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#4A52DE
RGBrgb(74, 82, 222)
HSLhsl(237, 69%, 58%)
HSVhsv(237, 67%, 87%)
CMYKcmyk(66.7%, 63.1%, 0%, 12.9%)
CIE-LABlab(42.40, 40.73, -72.37)
CIE-LCHlch(42.40, 83.05, 299.37°)
OKLaboklab(52% 0.0145 -0.2088)
OKLCHoklch(52% 0.209 274)
XYZxyz(19.0218, 12.7626, 70.5541)
Luminance0.1276 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A52DE #DED64A
analogous
#4A9CDE #4A52DE #8C4ADE
triadic
#4A52DE #DE4A52 #52DE4A
tetradic
#4A52DE #DE4A9C #DED64A #4ADE8C
square
#4A52DE #DE4A9C #DED64A #4ADE8C
split-complementary
#4A52DE #DE8C4A #9CDE4A
monochromatic
#1B2193 #242DC7 #4A52DE #7E83E7 #B2B5F1

Accessibility & contrast

On white

5.91
#4A52DE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#4A52DE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A52DE
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A52DE#FFFFFF#000000##FFFFFF
##4A52DE1.005.913.555.91
#FFFFFF5.911.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BE2
Deuteranopia (green-blind)
#005DDB
Tritanopia (blue-blind)
#007690
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #4a52de;
/* rgb */ color: rgb(74, 82, 222);
/* oklch */ color: oklch(52.0% 0.209 274.0);
Tailwind
colors: {
  custom: {
    50: '#8e83e9',
    500: '#4a52de',
    950: '#000000',
  },
}
SCSS
$custom: #4a52de;
$custom-light: #8e83e9;
$custom-dark: #000000;
JSON
{
  "hex": "#4a52de",
  "rgb": {
    "r": 74,
    "g": 82,
    "b": 222
  },
  "hsl": {
    "h": 236.757,
    "s": 69.159,
    "l": 58.039
  },
  "oklch": {
    "l": 0.51999,
    "c": 0.20931,
    "h": 274
  },
  "luminance": 0.12764
}

Semantic roles & 50–950 ramp

primary
#4A52DE
secondary
#DFDCA4
accent
#E23CEC
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0A16
muted
#7E7C84

Preview Lab

Preview with #4A52DE

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

Preview Lab → · Contrast checker → · Palette generator →

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