#4952C2#4952C2

#4952C2 is a mid, vivid blue. Relative luminance 0.113; OKLCH L 49.6% C 0.173 H 274.7°. Best body text is #FFFFFF at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#4952C2
RGBrgb(73, 82, 194)
HSLhsl(236, 50%, 52%)
HSVhsv(236, 62%, 76%)
CMYKcmyk(62.4%, 57.7%, 0%, 23.9%)
CIE-LABlab(40.16, 31.12, -59.91)
CIE-LCHlch(40.16, 67.51, 297.45°)
OKLaboklab(49.64% 0.0142 -0.1722)
OKLCHoklch(49.64% 0.173 274.7)
XYZxyz(15.4994, 11.3448, 52.4015)
Luminance0.1135 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4952C2 #C2B949
analogous
#498FC2 #4952C2 #7C49C2
triadic
#4952C2 #C24952 #52C249
tetradic
#4952C2 #C2498F #C2B949 #49C27C
square
#4952C2 #C2498F #C2B949 #49C27C
split-complementary
#4952C2 #C27C49 #8FC249
monochromatic
#242A6C #343B9A #4952C2 #777ED1 #A5A9E1

Accessibility & contrast

On white

6.42
#4952C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#4952C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4952C2
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4952C2#FFFFFF#000000##FFFFFF
##4952C21.006.423.276.42
#FFFFFF6.421.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064C6
Deuteranopia (green-blind)
#0059C0
Tritanopia (blue-blind)
#006D82
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #4952c2;
/* rgb */ color: rgb(73, 82, 194);
/* oklch */ color: oklch(49.6% 0.173 274.7);
Tailwind
colors: {
  custom: {
    50: '#8882d5',
    500: '#4952c2',
    950: '#000000',
  },
}
SCSS
$custom: #4952c2;
$custom-light: #8882d5;
$custom-dark: #000000;
JSON
{
  "hex": "#4952c2",
  "rgb": {
    "r": 73,
    "g": 82,
    "b": 194
  },
  "hsl": {
    "h": 235.537,
    "s": 49.794,
    "l": 52.353
  },
  "oklch": {
    "l": 0.49642,
    "c": 0.17283,
    "h": 274.7
  },
  "luminance": 0.11346
}

Semantic roles & 50–950 ramp

primary
#4952C2
secondary
#CECA99
accent
#CF4ED9
background
#F8F7FD
surface
#F0EEFA
border
#CBC9D3
text
#0D0A14
muted
#7D7C83

Preview Lab

Preview with #4952C2

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

Preview Lab → · Contrast checker → · Palette generator →

#4952C2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva