#4A52DA#4A52DA

#4A52DA is a mid, highly saturated blue. Relative luminance 0.126; OKLCH L 51.7% C 0.204 H 274.1°. Best body text is #FFFFFF at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#4A52DA
RGBrgb(74, 82, 218)
HSLhsl(237, 66%, 57%)
HSVhsv(237, 66%, 85%)
CMYKcmyk(66.1%, 62.4%, 0%, 14.5%)
CIE-LABlab(42.08, 39.39, -70.62)
CIE-LCHlch(42.08, 80.86, 299.15°)
OKLaboklab(51.66% 0.0147 -0.2037)
OKLCHoklch(51.66% 0.204 274.1)
XYZxyz(18.4920, 12.5507, 67.7641)
Luminance0.1255 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A52DA #DAD24A
analogous
#4A9ADA #4A52DA #8A4ADA
triadic
#4A52DA #DA4A52 #52DA4A
tetradic
#4A52DA #DA4A9A #DAD24A #4ADA8A
square
#4A52DA #DA4A9A #DAD24A #4ADA8A
split-complementary
#4A52DA #DA8A4A #9ADA4A
monochromatic
#1D238D #2730C0 #4A52DA #7D83E4 #B0B3EF

Accessibility & contrast

On white

5.98
#4A52DA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#4A52DA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A52DA
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A52DA#FFFFFF#000000##FFFFFF
##4A52DA1.005.983.515.98
#FFFFFF5.981.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ADE
Deuteranopia (green-blind)
#005DD7
Tritanopia (blue-blind)
#00758E
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #4a52da;
/* rgb */ color: rgb(74, 82, 218);
/* oklch */ color: oklch(51.7% 0.204 274.1);
Tailwind
colors: {
  custom: {
    50: '#8d83e6',
    500: '#4a52da',
    950: '#000000',
  },
}
SCSS
$custom: #4a52da;
$custom-light: #8d83e6;
$custom-dark: #000000;
JSON
{
  "hex": "#4a52da",
  "rgb": {
    "r": 74,
    "g": 82,
    "b": 218
  },
  "hsl": {
    "h": 236.667,
    "s": 66.055,
    "l": 57.255
  },
  "oklch": {
    "l": 0.5166,
    "c": 0.2042,
    "h": 274.1
  },
  "luminance": 0.12552
}

Semantic roles & 50–950 ramp

primary
#4A52DA
secondary
#DDDAA3
accent
#E03FE9
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0A16
muted
#7E7C84

Preview Lab

Preview with #4A52DA

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

Preview Lab → · Contrast checker → · Palette generator →

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