#4956CF#4956CF

#4956CF is a mid, vivid blue. Relative luminance 0.126; OKLCH L 51.4% C 0.185 H 273.3°. Best body text is #FFFFFF at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#4956CF
RGBrgb(73, 86, 207)
HSLhsl(234, 58%, 55%)
HSVhsv(234, 65%, 81%)
CMYKcmyk(64.7%, 58.5%, 0%, 18.8%)
CIE-LABlab(42.12, 33.04, -64.25)
CIE-LCHlch(42.12, 72.25, 297.22°)
OKLaboklab(51.41% 0.0107 -0.185)
OKLCHoklch(51.41% 0.185 273.3)
XYZxyz(17.3342, 12.5755, 60.5332)
Luminance0.1258 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4956CF #CFC249
analogous
#4999CF #4956CF #7F49CF
triadic
#4956CF #CF4956 #56CF49
tetradic
#4956CF #CF4999 #CFC249 #49CF7F
square
#4956CF #CF4999 #CFC249 #49CF7F
split-complementary
#4956CF #CF7F49 #99CF49
monochromatic
#212A7D #2E3AAD #4956CF #7983DC #AAB0E9

Accessibility & contrast

On white

5.97
#4956CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#4956CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4956CF
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4956CF#FFFFFF#000000##FFFFFF
##4956CF1.005.973.525.97
#FFFFFF5.971.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AD3
Deuteranopia (green-blind)
#005ECD
Tritanopia (blue-blind)
#00748A
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #4956cf;
/* rgb */ color: rgb(73, 86, 207);
/* oklch */ color: oklch(51.4% 0.185 273.3);
Tailwind
colors: {
  custom: {
    50: '#8a85df',
    500: '#4956cf',
    950: '#000000',
  },
}
SCSS
$custom: #4956cf;
$custom-light: #8a85df;
$custom-dark: #000000;
JSON
{
  "hex": "#4956cf",
  "rgb": {
    "r": 73,
    "g": 86,
    "b": 207
  },
  "hsl": {
    "h": 234.179,
    "s": 58.261,
    "l": 54.902
  },
  "oklch": {
    "l": 0.51405,
    "c": 0.18527,
    "h": 273.3
  },
  "luminance": 0.12577
}

Semantic roles & 50–950 ramp

primary
#4956CF
secondary
#D6D19E
accent
#D246E1
background
#F9F8FD
surface
#F1EFFB
border
#CBCAD4
text
#0D0B15
muted
#7E7C83

Preview Lab

Preview with #4956CF

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

Preview Lab → · Contrast checker → · Palette generator →

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