#4950CF#4950CF

#4950CF is a mid, vivid blue. Relative luminance 0.117; OKLCH L 50.3% C 0.193 H 274.7°. Best body text is #FFFFFF at 6.30:1 contrast (WCAG AA passes).

Color values

HEX#4950CF
RGBrgb(73, 80, 207)
HSLhsl(237, 58%, 55%)
HSVhsv(237, 65%, 81%)
CMYKcmyk(64.7%, 61.4%, 0%, 18.8%)
CIE-LABlab(40.67, 36.77, -66.61)
CIE-LCHlch(40.67, 76.09, 298.90°)
OKLaboklab(50.33% 0.0157 -0.1919)
OKLCHoklch(50.33% 0.193 274.7)
XYZxyz(16.8751, 11.6573, 60.3802)
Luminance0.1166 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4950CF #CFC849
analogous
#4993CF #4950CF #8549CF
triadic
#4950CF #CF4950 #50CF49
tetradic
#4950CF #CF4993 #CFC849 #49CF85
square
#4950CF #CF4993 #CFC849 #49CF85
split-complementary
#4950CF #CF8549 #93CF49
monochromatic
#21267D #2E34AD #4950CF #797FDC #AAADE9

Accessibility & contrast

On white

6.30
#4950CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#4950CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4950CF
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4950CF#FFFFFF#000000##FFFFFF
##4950CF1.006.303.336.30
#FFFFFF6.301.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066D3
Deuteranopia (green-blind)
#005ACD
Tritanopia (blue-blind)
#007088
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #4950cf;
/* rgb */ color: rgb(73, 80, 207);
/* oklch */ color: oklch(50.3% 0.193 274.7);
Tailwind
colors: {
  custom: {
    50: '#8b81df',
    500: '#4950cf',
    950: '#000000',
  },
}
SCSS
$custom: #4950cf;
$custom-light: #8b81df;
$custom-dark: #000000;
JSON
{
  "hex": "#4950cf",
  "rgb": {
    "r": 73,
    "g": 80,
    "b": 207
  },
  "hsl": {
    "h": 236.866,
    "s": 58.261,
    "l": 54.902
  },
  "oklch": {
    "l": 0.50332,
    "c": 0.19259,
    "h": 274.7
  },
  "luminance": 0.11659
}

Semantic roles & 50–950 ramp

primary
#4950CF
secondary
#D6D39E
accent
#D946E1
background
#F9F7FD
surface
#F1EEFB
border
#CBC9D4
text
#0D0A15
muted
#7E7C83

Preview Lab

Preview with #4950CF

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

Preview Lab → · Contrast checker → · Palette generator →

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