#4A52D8#4A52D8

#4A52D8 is a mid, highly saturated blue. Relative luminance 0.124; OKLCH L 51.5% C 0.202 H 274.2°. Best body text is #FFFFFF at 6.02:1 contrast (WCAG AA passes).

Color values

HEX#4A52D8
RGBrgb(74, 82, 216)
HSLhsl(237, 65%, 57%)
HSVhsv(237, 66%, 85%)
CMYKcmyk(65.7%, 62%, 0%, 15.3%)
CIE-LABlab(41.92, 38.72, -69.74)
CIE-LCHlch(41.92, 79.77, 299.04°)
OKLaboklab(51.49% 0.0148 -0.2011)
OKLCHoklch(51.49% 0.202 274.2)
XYZxyz(18.2319, 12.4467, 66.3941)
Luminance0.1245 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A52D8 #D8D04A
analogous
#4A99D8 #4A52D8 #894AD8
triadic
#4A52D8 #D84A52 #52D84A
tetradic
#4A52D8 #D84A99 #D8D04A #4AD889
square
#4A52D8 #D84A99 #D8D04A #4AD889
split-complementary
#4A52D8 #D8894A #99D84A
monochromatic
#1E248A #2931BC #4A52D8 #7C82E3 #AFB2EE

Accessibility & contrast

On white

6.02
#4A52D8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#4A52D8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A52D8
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A52D8#FFFFFF#000000##FFFFFF
##4A52D81.006.023.496.02
#FFFFFF6.021.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069DC
Deuteranopia (green-blind)
#005DD5
Tritanopia (blue-blind)
#00748D
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #4a52d8;
/* rgb */ color: rgb(74, 82, 216);
/* oklch */ color: oklch(51.5% 0.202 274.2);
Tailwind
colors: {
  custom: {
    50: '#8d83e5',
    500: '#4a52d8',
    950: '#000000',
  },
}
SCSS
$custom: #4a52d8;
$custom-light: #8d83e5;
$custom-dark: #000000;
JSON
{
  "hex": "#4a52d8",
  "rgb": {
    "r": 74,
    "g": 82,
    "b": 216
  },
  "hsl": {
    "h": 236.62,
    "s": 64.545,
    "l": 56.863
  },
  "oklch": {
    "l": 0.51492,
    "c": 0.20164,
    "h": 274.2
  },
  "luminance": 0.12448
}

Semantic roles & 50–950 ramp

primary
#4A52D8
secondary
#DCD9A2
accent
#DE40E8
background
#F9F8FE
surface
#F2EFFC
border
#CCCAD5
text
#0E0A16
muted
#7E7C84

Preview Lab

Preview with #4A52D8

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

Preview Lab → · Contrast checker → · Palette generator →

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