#4A52DD#4A52DD

#4A52DD is a mid, highly saturated blue. Relative luminance 0.127; OKLCH L 51.9% C 0.208 H 274.0°. Best body text is #FFFFFF at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#4A52DD
RGBrgb(74, 82, 221)
HSLhsl(237, 68%, 58%)
HSVhsv(237, 67%, 87%)
CMYKcmyk(66.5%, 62.9%, 0%, 13.3%)
CIE-LABlab(42.32, 40.39, -71.94)
CIE-LCHlch(42.32, 82.50, 299.31°)
OKLaboklab(51.91% 0.0146 -0.2075)
OKLCHoklch(51.91% 0.208 274)
XYZxyz(18.8881, 12.7092, 69.8503)
Luminance0.1271 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A52DD #DDD54A
analogous
#4A9BDD #4A52DD #8C4ADD
triadic
#4A52DD #DD4A52 #52DD4A
tetradic
#4A52DD #DD4A9B #DDD54A #4ADD8C
square
#4A52DD #DD4A9B #DDD54A #4ADD8C
split-complementary
#4A52DD #DD8C4A #9BDD4A
monochromatic
#1B2291 #252EC5 #4A52DD #7E83E7 #B1B4F0

Accessibility & contrast

On white

5.93
#4A52DD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#4A52DD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A52DD
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A52DD#FFFFFF#000000##FFFFFF
##4A52DD1.005.933.545.93
#FFFFFF5.931.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BE1
Deuteranopia (green-blind)
#005DDA
Tritanopia (blue-blind)
#007690
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #4a52dd;
/* rgb */ color: rgb(74, 82, 221);
/* oklch */ color: oklch(51.9% 0.208 274.0);
Tailwind
colors: {
  custom: {
    50: '#8e83e9',
    500: '#4a52dd',
    950: '#000000',
  },
}
SCSS
$custom: #4a52dd;
$custom-light: #8e83e9;
$custom-dark: #000000;
JSON
{
  "hex": "#4a52dd",
  "rgb": {
    "r": 74,
    "g": 82,
    "b": 221
  },
  "hsl": {
    "h": 236.735,
    "s": 68.372,
    "l": 57.843
  },
  "oklch": {
    "l": 0.51914,
    "c": 0.20804,
    "h": 274
  },
  "luminance": 0.12711
}

Semantic roles & 50–950 ramp

primary
#4A52DD
secondary
#DFDCA4
accent
#E23DEB
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0A16
muted
#7E7C84

Preview Lab

Preview with #4A52DD

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

Preview Lab → · Contrast checker → · Palette generator →

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