#4A52D2#4A52D2

#4A52D2 is a mid, vivid blue. Relative luminance 0.121; OKLCH L 51.0% C 0.194 H 274.5°. Best body text is #FFFFFF at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#4A52D2
RGBrgb(74, 82, 210)
HSLhsl(236, 60%, 56%)
HSVhsv(236, 65%, 82%)
CMYKcmyk(64.8%, 61%, 0%, 17.6%)
CIE-LABlab(41.44, 36.70, -67.08)
CIE-LCHlch(41.44, 76.46, 298.68°)
OKLaboklab(50.99% 0.0151 -0.1933)
OKLCHoklch(50.99% 0.194 274.5)
XYZxyz(17.4703, 12.1421, 62.3833)
Luminance0.1214 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A52D2 #D2CA4A
analogous
#4A96D2 #4A52D2 #864AD2
triadic
#4A52D2 #D24A52 #52D24A
tetradic
#4A52D2 #D24A96 #D2CA4A #4AD286
square
#4A52D2 #D24A96 #D2CA4A #4AD286
split-complementary
#4A52D2 #D2864A #96D24A
monochromatic
#202681 #2C34B2 #4A52D2 #7B81DE #ACB0EA

Accessibility & contrast

On white

6.12
#4A52D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#4A52D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A52D2
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A52D2#FFFFFF#000000##FFFFFF
##4A52D21.006.123.436.12
#FFFFFF6.121.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068D6
Deuteranopia (green-blind)
#005CCF
Tritanopia (blue-blind)
#00728A
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #4a52d2;
/* rgb */ color: rgb(74, 82, 210);
/* oklch */ color: oklch(51.0% 0.194 274.5);
Tailwind
colors: {
  custom: {
    50: '#8b82e1',
    500: '#4a52d2',
    950: '#000000',
  },
}
SCSS
$custom: #4a52d2;
$custom-light: #8b82e1;
$custom-dark: #000000;
JSON
{
  "hex": "#4a52d2",
  "rgb": {
    "r": 74,
    "g": 82,
    "b": 210
  },
  "hsl": {
    "h": 236.471,
    "s": 60.177,
    "l": 55.686
  },
  "oklch": {
    "l": 0.50993,
    "c": 0.19385,
    "h": 274.5
  },
  "luminance": 0.12144
}

Semantic roles & 50–950 ramp

primary
#4A52D2
secondary
#D8D5A0
accent
#DA44E3
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0D0A15
muted
#7E7C83

Preview Lab

Preview with #4A52D2

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

Preview Lab → · Contrast checker → · Palette generator →

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