#4A52C8#4A52C8

#4A52C8 is a mid, vivid blue. Relative luminance 0.117; OKLCH L 50.2% C 0.181 H 274.9°. Best body text is #FFFFFF at 6.30:1 contrast (WCAG AA passes).

Color values

HEX#4A52C8
RGBrgb(74, 82, 200)
HSLhsl(236, 53%, 54%)
HSVhsv(236, 63%, 78%)
CMYKcmyk(63%, 59%, 0%, 21.6%)
CIE-LABlab(40.67, 33.32, -62.56)
CIE-LCHlch(40.67, 70.88, 298.04°)
OKLaboklab(50.18% 0.0153 -0.18)
OKLCHoklch(50.18% 0.181 274.9)
XYZxyz(16.2632, 11.6592, 56.0258)
Luminance0.1166 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A52C8 #C8C04A
analogous
#4A91C8 #4A52C8 #814AC8
triadic
#4A52C8 #C84A52 #52C84A
tetradic
#4A52C8 #C84A91 #C8C04A #4AC881
square
#4A52C8 #C84A91 #C8C04A #4AC881
split-complementary
#4A52C8 #C8814A #91C84A
monochromatic
#232874 #3239A3 #4A52C8 #797FD6 #A8ACE5

Accessibility & contrast

On white

6.30
#4A52C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#4A52C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A52C8
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A52C8#FFFFFF#000000##FFFFFF
##4A52C81.006.303.336.30
#FFFFFF6.301.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065CC
Deuteranopia (green-blind)
#005AC6
Tritanopia (blue-blind)
#006F85
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #4a52c8;
/* rgb */ color: rgb(74, 82, 200);
/* oklch */ color: oklch(50.2% 0.181 274.9);
Tailwind
colors: {
  custom: {
    50: '#8a82da',
    500: '#4a52c8',
    950: '#000000',
  },
}
SCSS
$custom: #4a52c8;
$custom-light: #8a82da;
$custom-dark: #000000;
JSON
{
  "hex": "#4a52c8",
  "rgb": {
    "r": 74,
    "g": 82,
    "b": 200
  },
  "hsl": {
    "h": 236.19,
    "s": 53.39,
    "l": 53.725
  },
  "oklch": {
    "l": 0.50182,
    "c": 0.18064,
    "h": 274.9
  },
  "luminance": 0.11661
}

Semantic roles & 50–950 ramp

primary
#4A52C8
secondary
#D2CE9C
accent
#D44BDD
background
#F9F8FD
surface
#F1EFFB
border
#CBCAD4
text
#0D0A15
muted
#7E7C83

Preview Lab

Preview with #4A52C8

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

Preview Lab → · Contrast checker → · Palette generator →

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