#4A52CC#4A52CC

#4A52CC is a mid, vivid blue. Relative luminance 0.118; OKLCH L 50.5% C 0.186 H 274.7°. Best body text is #FFFFFF at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#4A52CC
RGBrgb(74, 82, 204)
HSLhsl(236, 56%, 55%)
HSVhsv(236, 64%, 80%)
CMYKcmyk(63.7%, 59.8%, 0%, 20%)
CIE-LABlab(40.97, 34.67, -64.38)
CIE-LCHlch(40.97, 73.12, 298.31°)
OKLaboklab(50.5% 0.0153 -0.1853)
OKLCHoklch(50.5% 0.186 274.7)
XYZxyz(16.7368, 11.8487, 58.5201)
Luminance0.1185 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A52CC #CCC44A
analogous
#4A93CC #4A52CC #834ACC
triadic
#4A52CC #CC4A52 #52CC4A
tetradic
#4A52CC #CC4A93 #CCC44A #4ACC83
square
#4A52CC #CC4A93 #CCC44A #4ACC83
split-complementary
#4A52CC #CC834A #93CC4A
monochromatic
#222879 #3037A9 #4A52CC #7A80D9 #A9ADE7

Accessibility & contrast

On white

6.23
#4A52CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#4A52CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A52CC
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A52CC#FFFFFF#000000##FFFFFF
##4A52CC1.006.233.376.23
#FFFFFF6.231.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066D0
Deuteranopia (green-blind)
#005BCA
Tritanopia (blue-blind)
#007087
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #4a52cc;
/* rgb */ color: rgb(74, 82, 204);
/* oklch */ color: oklch(50.5% 0.186 274.7);
Tailwind
colors: {
  custom: {
    50: '#8a82dc',
    500: '#4a52cc',
    950: '#000000',
  },
}
SCSS
$custom: #4a52cc;
$custom-light: #8a82dc;
$custom-dark: #000000;
JSON
{
  "hex": "#4a52cc",
  "rgb": {
    "r": 74,
    "g": 82,
    "b": 204
  },
  "hsl": {
    "h": 236.308,
    "s": 56.034,
    "l": 54.51
  },
  "oklch": {
    "l": 0.50503,
    "c": 0.18597,
    "h": 274.7
  },
  "luminance": 0.1185
}

Semantic roles & 50–950 ramp

primary
#4A52CC
secondary
#D4D19D
accent
#D648DF
background
#F9F8FD
surface
#F1EFFB
border
#CBCAD4
text
#0D0A15
muted
#7E7C83

Preview Lab

Preview with #4A52CC

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

Preview Lab → · Contrast checker → · Palette generator →

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