#4956CA#4956CA

#4956CA is a mid, vivid blue. Relative luminance 0.123; OKLCH L 51.0% C 0.179 H 273.4°. Best body text is #FFFFFF at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#4956CA
RGBrgb(73, 86, 202)
HSLhsl(234, 55%, 54%)
HSVhsv(234, 64%, 79%)
CMYKcmyk(63.9%, 57.4%, 0%, 20.8%)
CIE-LABlab(41.74, 31.33, -61.97)
CIE-LCHlch(41.74, 69.44, 296.82°)
OKLaboklab(51.01% 0.0107 -0.1783)
OKLCHoklch(51.01% 0.179 273.4)
XYZxyz(16.7326, 12.3349, 57.3648)
Luminance0.1234 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4956CA #CABD49
analogous
#4997CA #4956CA #7D49CA
triadic
#4956CA #CA4956 #56CA49
tetradic
#4956CA #CA4997 #CABD49 #49CA7D
square
#4956CA #CA4997 #CABD49 #49CA7D
split-complementary
#4956CA #CA7D49 #97CA49
monochromatic
#222B76 #303CA6 #4956CA #7882D8 #A8AEE6

Accessibility & contrast

On white

6.06
#4956CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#4956CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4956CA
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4956CA#FFFFFF#000000##FFFFFF
##4956CA1.006.063.476.06
#FFFFFF6.061.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068CE
Deuteranopia (green-blind)
#005DC8
Tritanopia (blue-blind)
#007287
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #4956ca;
/* rgb */ color: rgb(73, 86, 202);
/* oklch */ color: oklch(51.0% 0.179 273.4);
Tailwind
colors: {
  custom: {
    50: '#8985db',
    500: '#4956ca',
    950: '#000000',
  },
}
SCSS
$custom: #4956ca;
$custom-light: #8985db;
$custom-dark: #000000;
JSON
{
  "hex": "#4956ca",
  "rgb": {
    "r": 73,
    "g": 86,
    "b": 202
  },
  "hsl": {
    "h": 233.953,
    "s": 54.894,
    "l": 53.922
  },
  "oklch": {
    "l": 0.5101,
    "c": 0.17858,
    "h": 273.4
  },
  "luminance": 0.12336
}

Semantic roles & 50–950 ramp

primary
#4956CA
secondary
#D3CD9C
accent
#CF4ADE
background
#F9F8FD
surface
#F1EFFB
border
#CBCAD4
text
#0D0B15
muted
#7E7C83

Preview Lab

Preview with #4956CA

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

Preview Lab → · Contrast checker → · Palette generator →

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