#4956C2#4956C2

#4956C2 is a mid, vivid blue. Relative luminance 0.120; OKLCH L 50.4% C 0.168 H 273.6°. Best body text is #FFFFFF at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#4956C2
RGBrgb(73, 86, 194)
HSLhsl(234, 50%, 52%)
HSVhsv(234, 62%, 76%)
CMYKcmyk(62.4%, 55.7%, 0%, 23.9%)
CIE-LABlab(41.16, 28.59, -58.28)
CIE-LCHlch(41.16, 64.92, 296.13°)
OKLaboklab(50.39% 0.0105 -0.1674)
OKLCHoklch(50.39% 0.168 273.6)
XYZxyz(15.8098, 11.9658, 52.5050)
Luminance0.1197 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4956C2 #C2B549
analogous
#4992C2 #4956C2 #7949C2
triadic
#4956C2 #C24956 #56C249
tetradic
#4956C2 #C24992 #C2B549 #49C279
square
#4956C2 #C24992 #C2B549 #49C279
split-complementary
#4956C2 #C27949 #92C249
monochromatic
#242C6C #343F9A #4956C2 #7781D1 #A5ABE1

Accessibility & contrast

On white

6.19
#4956C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#4956C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4956C2
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4956C2#FFFFFF#000000##FFFFFF
##4956C21.006.193.396.19
#FFFFFF6.191.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067C6
Deuteranopia (green-blind)
#005CC0
Tritanopia (blue-blind)
#007083
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #4956c2;
/* rgb */ color: rgb(73, 86, 194);
/* oklch */ color: oklch(50.4% 0.168 273.6);
Tailwind
colors: {
  custom: {
    50: '#8885d5',
    500: '#4956c2',
    950: '#000000',
  },
}
SCSS
$custom: #4956c2;
$custom-light: #8885d5;
$custom-dark: #000000;
JSON
{
  "hex": "#4956c2",
  "rgb": {
    "r": 73,
    "g": 86,
    "b": 194
  },
  "hsl": {
    "h": 233.554,
    "s": 49.794,
    "l": 52.353
  },
  "oklch": {
    "l": 0.50392,
    "c": 0.16773,
    "h": 273.6
  },
  "luminance": 0.11967
}

Semantic roles & 50–950 ramp

primary
#4956C2
secondary
#CEC899
accent
#CA4ED9
background
#F8F8FD
surface
#F0EFFA
border
#CBCAD3
text
#0C0B14
muted
#7D7C83

Preview Lab

Preview with #4956C2

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

Preview Lab → · Contrast checker → · Palette generator →

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