#4A52D3#4A52D3

#4A52D3 is a mid, vivid blue. Relative luminance 0.122; OKLCH L 51.1% C 0.195 H 274.4°. Best body text is #FFFFFF at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#4A52D3
RGBrgb(74, 82, 211)
HSLhsl(236, 61%, 56%)
HSVhsv(236, 65%, 83%)
CMYKcmyk(64.9%, 61.1%, 0%, 17.3%)
CIE-LABlab(41.52, 37.03, -67.52)
CIE-LCHlch(41.52, 77.01, 298.74°)
OKLaboklab(51.08% 0.0151 -0.1946)
OKLCHoklch(51.08% 0.195 274.4)
XYZxyz(17.5953, 12.1920, 63.0414)
Luminance0.1219 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A52D3 #D3CB4A
analogous
#4A96D3 #4A52D3 #864AD3
triadic
#4A52D3 #D34A52 #52D34A
tetradic
#4A52D3 #D34A96 #D3CB4A #4AD386
square
#4A52D3 #D34A96 #D3CB4A #4AD386
split-complementary
#4A52D3 #D3864A #96D34A
monochromatic
#202683 #2C34B4 #4A52D3 #7B81DF #ACB0EB

Accessibility & contrast

On white

6.11
#4A52D3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#4A52D3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A52D3
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A52D3#FFFFFF#000000##FFFFFF
##4A52D31.006.113.446.11
#FFFFFF6.111.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068D7
Deuteranopia (green-blind)
#005CD0
Tritanopia (blue-blind)
#00728B
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #4a52d3;
/* rgb */ color: rgb(74, 82, 211);
/* oklch */ color: oklch(51.1% 0.195 274.4);
Tailwind
colors: {
  custom: {
    50: '#8c82e1',
    500: '#4a52d3',
    950: '#000000',
  },
}
SCSS
$custom: #4a52d3;
$custom-light: #8c82e1;
$custom-dark: #000000;
JSON
{
  "hex": "#4a52d3",
  "rgb": {
    "r": 74,
    "g": 82,
    "b": 211
  },
  "hsl": {
    "h": 236.496,
    "s": 60.889,
    "l": 55.882
  },
  "oklch": {
    "l": 0.51076,
    "c": 0.19515,
    "h": 274.4
  },
  "luminance": 0.12194
}

Semantic roles & 50–950 ramp

primary
#4A52D3
secondary
#D9D5A0
accent
#DB44E4
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0D0A15
muted
#7E7C83

Preview Lab

Preview with #4A52D3

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

Preview Lab → · Contrast checker → · Palette generator →

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