#4952D4#4952D4

#4952D4 is a mid, vivid blue. Relative luminance 0.122; OKLCH L 51.1% C 0.197 H 274.1°. Best body text is #FFFFFF at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#4952D4
RGBrgb(73, 82, 212)
HSLhsl(236, 62%, 56%)
HSVhsv(236, 66%, 83%)
CMYKcmyk(65.6%, 61.3%, 0%, 16.9%)
CIE-LABlab(41.54, 37.23, -68.07)
CIE-LCHlch(41.54, 77.58, 298.67°)
OKLaboklab(51.1% 0.0139 -0.1962)
OKLCHoklch(51.1% 0.197 274.1)
XYZxyz(17.6447, 12.2030, 63.7001)
Luminance0.1221 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4952D4 #D4CB49
analogous
#4997D4 #4952D4 #8549D4
triadic
#4952D4 #D44952 #52D449
tetradic
#4952D4 #D44997 #D4CB49 #49D485
square
#4952D4 #D44997 #D4CB49 #49D485
split-complementary
#4952D4 #D48549 #97D449
monochromatic
#1F2684 #2B34B5 #4952D4 #7B81E0 #ACB0EB

Accessibility & contrast

On white

6.10
#4952D4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#4952D4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4952D4
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4952D4#FFFFFF#000000##FFFFFF
##4952D41.006.103.446.10
#FFFFFF6.101.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068D8
Deuteranopia (green-blind)
#005CD1
Tritanopia (blue-blind)
#00738B
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #4952d4;
/* rgb */ color: rgb(73, 82, 212);
/* oklch */ color: oklch(51.1% 0.197 274.1);
Tailwind
colors: {
  custom: {
    50: '#8b82e2',
    500: '#4952d4',
    950: '#000000',
  },
}
SCSS
$custom: #4952d4;
$custom-light: #8b82e2;
$custom-dark: #000000;
JSON
{
  "hex": "#4952d4",
  "rgb": {
    "r": 73,
    "g": 82,
    "b": 212
  },
  "hsl": {
    "h": 236.115,
    "s": 61.778,
    "l": 55.882
  },
  "oklch": {
    "l": 0.51097,
    "c": 0.1967,
    "h": 274.1
  },
  "luminance": 0.12205
}

Semantic roles & 50–950 ramp

primary
#4952D4
secondary
#D9D5A0
accent
#DA43E5
background
#F9F8FE
surface
#F2EFFC
border
#CCCAD5
text
#0D0A15
muted
#7E7C84

Preview Lab

Preview with #4952D4

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

Preview Lab → · Contrast checker → · Palette generator →

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