#4952BA#4952BA

#4952BA is a mid, vivid blue. Relative luminance 0.110; OKLCH L 49.0% C 0.162 H 275.0°. Best body text is #FFFFFF at 6.56:1 contrast (WCAG AA passes).

Color values

HEX#4952BA
RGBrgb(73, 82, 186)
HSLhsl(235, 45%, 51%)
HSVhsv(235, 61%, 73%)
CMYKcmyk(60.8%, 55.9%, 0%, 27.1%)
CIE-LABlab(39.57, 28.40, -56.19)
CIE-LCHlch(39.57, 62.95, 296.81°)
OKLaboklab(49.02% 0.0141 -0.1613)
OKLCHoklch(49.02% 0.162 275)
XYZxyz(14.6250, 10.9951, 47.7964)
Luminance0.1100 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4952BA #BAB149
analogous
#498ABA #4952BA #7849BA
triadic
#4952BA #BA4952 #52BA49
tetradic
#4952BA #BA498A #BAB149 #49BA78
square
#4952BA #BA498A #BAB149 #49BA78
split-complementary
#4952BA #BA7849 #8ABA49
monochromatic
#262A63 #363D8F #4952BA #757CCB #A2A6DC

Accessibility & contrast

On white

6.56
#4952BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#4952BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4952BA
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4952BA#FFFFFF#000000##FFFFFF
##4952BA1.006.563.206.56
#FFFFFF6.561.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062BE
Deuteranopia (green-blind)
#0058B8
Tritanopia (blue-blind)
#006B7E
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #4952ba;
/* rgb */ color: rgb(73, 82, 186);
/* oklch */ color: oklch(49.0% 0.162 275.0);
Tailwind
colors: {
  custom: {
    50: '#8782cf',
    500: '#4952ba',
    950: '#000000',
  },
}
SCSS
$custom: #4952ba;
$custom-light: #8782cf;
$custom-dark: #000000;
JSON
{
  "hex": "#4952ba",
  "rgb": {
    "r": 73,
    "g": 82,
    "b": 186
  },
  "hsl": {
    "h": 235.221,
    "s": 45.02,
    "l": 50.784
  },
  "oklch": {
    "l": 0.49024,
    "c": 0.16188,
    "h": 275
  },
  "luminance": 0.10996
}

Semantic roles & 50–950 ramp

primary
#4952BA
secondary
#C8C496
accent
#CA53D5
background
#F8F7FC
surface
#F0EEF9
border
#CBC9D2
text
#0C0A14
muted
#7D7C82

Preview Lab

Preview with #4952BA

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

Preview Lab → · Contrast checker → · Palette generator →

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