#4A52D5#4A52D5

#4A52D5 is a mid, vivid blue. Relative luminance 0.123; OKLCH L 51.2% C 0.198 H 274.3°. Best body text is #FFFFFF at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#4A52D5
RGBrgb(74, 82, 213)
HSLhsl(237, 62%, 56%)
HSVhsv(237, 65%, 84%)
CMYKcmyk(65.3%, 61.5%, 0%, 16.5%)
CIE-LABlab(41.68, 37.71, -68.41)
CIE-LCHlch(41.68, 78.11, 298.86°)
OKLaboklab(51.24% 0.015 -0.1972)
OKLCHoklch(51.24% 0.198 274.3)
XYZxyz(17.8476, 12.2930, 64.3701)
Luminance0.1230 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A52D5 #D5CD4A
analogous
#4A98D5 #4A52D5 #884AD5
triadic
#4A52D5 #D54A52 #52D54A
tetradic
#4A52D5 #D54A98 #D5CD4A #4AD588
square
#4A52D5 #D54A98 #D5CD4A #4AD588
split-complementary
#4A52D5 #D5884A #98D54A
monochromatic
#1F2586 #2B33B7 #4A52D5 #7C81E1 #ADB1EC

Accessibility & contrast

On white

6.07
#4A52D5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#4A52D5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A52D5
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A52D5#FFFFFF#000000##FFFFFF
##4A52D51.006.073.466.07
#FFFFFF6.071.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069D9
Deuteranopia (green-blind)
#005CD2
Tritanopia (blue-blind)
#00738C
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #4a52d5;
/* rgb */ color: rgb(74, 82, 213);
/* oklch */ color: oklch(51.2% 0.198 274.3);
Tailwind
colors: {
  custom: {
    50: '#8c82e3',
    500: '#4a52d5',
    950: '#000000',
  },
}
SCSS
$custom: #4a52d5;
$custom-light: #8c82e3;
$custom-dark: #000000;
JSON
{
  "hex": "#4a52d5",
  "rgb": {
    "r": 74,
    "g": 82,
    "b": 213
  },
  "hsl": {
    "h": 236.547,
    "s": 62.332,
    "l": 56.275
  },
  "oklch": {
    "l": 0.51242,
    "c": 0.19776,
    "h": 274.3
  },
  "luminance": 0.12295
}

Semantic roles & 50–950 ramp

primary
#4A52D5
secondary
#DAD7A1
accent
#DC42E5
background
#F9F8FE
surface
#F2EFFC
border
#CCCAD5
text
#0D0A16
muted
#7E7C84

Preview Lab

Preview with #4A52D5

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

Preview Lab → · Contrast checker → · Palette generator →

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