#4A52CE#4A52CE

#4A52CE is a mid, vivid blue. Relative luminance 0.119; OKLCH L 50.7% C 0.189 H 274.6°. Best body text is #FFFFFF at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#4A52CE
RGBrgb(74, 82, 206)
HSLhsl(236, 57%, 55%)
HSVhsv(236, 64%, 81%)
CMYKcmyk(64.1%, 60.2%, 0%, 19.2%)
CIE-LABlab(41.13, 35.35, -65.28)
CIE-LCHlch(41.13, 74.24, 298.43°)
OKLaboklab(50.67% 0.0152 -0.188)
OKLCHoklch(50.67% 0.189 274.6)
XYZxyz(16.9782, 11.9452, 59.7915)
Luminance0.1195 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A52CE #CEC64A
analogous
#4A94CE #4A52CE #844ACE
triadic
#4A52CE #CE4A52 #52CE4A
tetradic
#4A52CE #CE4A94 #CEC64A #4ACE84
square
#4A52CE #CE4A94 #CEC64A #4ACE84
split-complementary
#4A52CE #CE844A #94CE4A
monochromatic
#22277C #2F36AC #4A52CE #7A80DB #AAAEE8

Accessibility & contrast

On white

6.20
#4A52CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#4A52CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A52CE
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A52CE#FFFFFF#000000##FFFFFF
##4A52CE1.006.203.396.20
#FFFFFF6.201.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067D2
Deuteranopia (green-blind)
#005BCC
Tritanopia (blue-blind)
#007188
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #4a52ce;
/* rgb */ color: rgb(74, 82, 206);
/* oklch */ color: oklch(50.7% 0.189 274.6);
Tailwind
colors: {
  custom: {
    50: '#8b82de',
    500: '#4a52ce',
    950: '#000000',
  },
}
SCSS
$custom: #4a52ce;
$custom-light: #8b82de;
$custom-dark: #000000;
JSON
{
  "hex": "#4a52ce",
  "rgb": {
    "r": 74,
    "g": 82,
    "b": 206
  },
  "hsl": {
    "h": 236.364,
    "s": 57.391,
    "l": 54.902
  },
  "oklch": {
    "l": 0.50666,
    "c": 0.18861,
    "h": 274.6
  },
  "luminance": 0.11947
}

Semantic roles & 50–950 ramp

primary
#4A52CE
secondary
#D6D29E
accent
#D747E1
background
#F9F8FD
surface
#F1EFFB
border
#CBCAD4
text
#0D0A15
muted
#7E7C83

Preview Lab

Preview with #4A52CE

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

Preview Lab → · Contrast checker → · Palette generator →

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