#4A52D0#4A52D0

#4A52D0 is a mid, vivid blue. Relative luminance 0.120; OKLCH L 50.8% C 0.191 H 274.5°. Best body text is #FFFFFF at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#4A52D0
RGBrgb(74, 82, 208)
HSLhsl(236, 59%, 55%)
HSVhsv(236, 64%, 82%)
CMYKcmyk(64.4%, 60.6%, 0%, 18.4%)
CIE-LABlab(41.28, 36.02, -66.18)
CIE-LCHlch(41.28, 75.35, 298.56°)
OKLaboklab(50.83% 0.0152 -0.1906)
OKLCHoklch(50.83% 0.191 274.5)
XYZxyz(17.2227, 12.0430, 61.0792)
Luminance0.1204 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A52D0 #D0C84A
analogous
#4A95D0 #4A52D0 #854AD0
triadic
#4A52D0 #D04A52 #52D04A
tetradic
#4A52D0 #D04A95 #D0C84A #4AD085
square
#4A52D0 #D04A95 #D0C84A #4AD085
split-complementary
#4A52D0 #D0854A #95D04A
monochromatic
#21267F #2E35AF #4A52D0 #7B80DD #ABAFE9

Accessibility & contrast

On white

6.16
#4A52D0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#4A52D0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A52D0
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A52D0#FFFFFF#000000##FFFFFF
##4A52D01.006.163.416.16
#FFFFFF6.161.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067D4
Deuteranopia (green-blind)
#005CCE
Tritanopia (blue-blind)
#007189
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #4a52d0;
/* rgb */ color: rgb(74, 82, 208);
/* oklch */ color: oklch(50.8% 0.191 274.5);
Tailwind
colors: {
  custom: {
    50: '#8b82df',
    500: '#4a52d0',
    950: '#000000',
  },
}
SCSS
$custom: #4a52d0;
$custom-light: #8b82df;
$custom-dark: #000000;
JSON
{
  "hex": "#4a52d0",
  "rgb": {
    "r": 74,
    "g": 82,
    "b": 208
  },
  "hsl": {
    "h": 236.418,
    "s": 58.772,
    "l": 55.294
  },
  "oklch": {
    "l": 0.50829,
    "c": 0.19123,
    "h": 274.5
  },
  "luminance": 0.12044
}

Semantic roles & 50–950 ramp

primary
#4A52D0
secondary
#D7D49F
accent
#D946E2
background
#F9F8FD
surface
#F1EFFB
border
#CBCAD4
text
#0D0A15
muted
#7E7C83

Preview Lab

Preview with #4A52D0

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

Preview Lab → · Contrast checker → · Palette generator →

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