#4956CB#4956CB

#4956CB is a mid, vivid blue. Relative luminance 0.124; OKLCH L 51.1% C 0.180 H 273.4°. Best body text is #FFFFFF at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#4956CB
RGBrgb(73, 86, 203)
HSLhsl(234, 56%, 54%)
HSVhsv(234, 64%, 80%)
CMYKcmyk(64%, 57.6%, 0%, 20.4%)
CIE-LABlab(41.82, 31.68, -62.43)
CIE-LCHlch(41.82, 70.01, 296.90°)
OKLaboklab(51.09% 0.0107 -0.1796)
OKLCHoklch(51.09% 0.18 273.4)
XYZxyz(16.8514, 12.3824, 57.9903)
Luminance0.1238 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4956CB #CBBE49
analogous
#4997CB #4956CB #7D49CB
triadic
#4956CB #CB4956 #56CB49
tetradic
#4956CB #CB4997 #CBBE49 #49CB7D
square
#4956CB #CB4997 #CBBE49 #49CB7D
split-complementary
#4956CB #CB7D49 #97CB49
monochromatic
#222B77 #303CA7 #4956CB #7982D9 #A8AEE6

Accessibility & contrast

On white

6.04
#4956CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#4956CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4956CB
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4956CB#FFFFFF#000000##FFFFFF
##4956CB1.006.043.486.04
#FFFFFF6.041.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069CF
Deuteranopia (green-blind)
#005DC9
Tritanopia (blue-blind)
#007288
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #4956cb;
/* rgb */ color: rgb(73, 86, 203);
/* oklch */ color: oklch(51.1% 0.180 273.4);
Tailwind
colors: {
  custom: {
    50: '#8985dc',
    500: '#4956cb',
    950: '#000000',
  },
}
SCSS
$custom: #4956cb;
$custom-light: #8985dc;
$custom-dark: #000000;
JSON
{
  "hex": "#4956cb",
  "rgb": {
    "r": 73,
    "g": 86,
    "b": 203
  },
  "hsl": {
    "h": 234,
    "s": 55.556,
    "l": 54.118
  },
  "oklch": {
    "l": 0.51088,
    "c": 0.17993,
    "h": 273.4
  },
  "luminance": 0.12384
}

Semantic roles & 50–950 ramp

primary
#4956CB
secondary
#D4CE9C
accent
#D049DF
background
#F9F8FD
surface
#F1EFFB
border
#CBCAD4
text
#0D0B15
muted
#7E7C83

Preview Lab

Preview with #4956CB

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

Preview Lab → · Contrast checker → · Palette generator →

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