#4950CB#4950CB

#4950CB is a mid, vivid blue. Relative luminance 0.115; OKLCH L 50.0% C 0.187 H 274.9°. Best body text is #FFFFFF at 6.38:1 contrast (WCAG AA passes).

Color values

HEX#4950CB
RGBrgb(73, 80, 203)
HSLhsl(237, 56%, 54%)
HSVhsv(237, 64%, 80%)
CMYKcmyk(64%, 60.6%, 0%, 20.4%)
CIE-LABlab(40.35, 35.42, -64.82)
CIE-LCHlch(40.35, 73.86, 298.66°)
OKLaboklab(50% 0.0159 -0.1867)
OKLCHoklch(50% 0.187 274.9)
XYZxyz(16.3923, 11.4642, 57.8373)
Luminance0.1147 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4950CB #CBC449
analogous
#4991CB #4950CB #8349CB
triadic
#4950CB #CB4950 #50CB49
tetradic
#4950CB #CB4991 #CBC449 #49CB83
square
#4950CB #CB4991 #CBC449 #49CB83
split-complementary
#4950CB #CB8349 #91CB49
monochromatic
#222777 #3036A7 #4950CB #797ED9 #A8ACE6

Accessibility & contrast

On white

6.38
#4950CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#4950CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4950CB
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4950CB#FFFFFF#000000##FFFFFF
##4950CB1.006.383.296.38
#FFFFFF6.381.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065CF
Deuteranopia (green-blind)
#0059C9
Tritanopia (blue-blind)
#006F86
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #4950cb;
/* rgb */ color: rgb(73, 80, 203);
/* oklch */ color: oklch(50.0% 0.187 274.9);
Tailwind
colors: {
  custom: {
    50: '#8a81dc',
    500: '#4950cb',
    950: '#000000',
  },
}
SCSS
$custom: #4950cb;
$custom-light: #8a81dc;
$custom-dark: #000000;
JSON
{
  "hex": "#4950cb",
  "rgb": {
    "r": 73,
    "g": 80,
    "b": 203
  },
  "hsl": {
    "h": 236.769,
    "s": 55.556,
    "l": 54.118
  },
  "oklch": {
    "l": 0.50002,
    "c": 0.18734,
    "h": 274.9
  },
  "luminance": 0.11466
}

Semantic roles & 50–950 ramp

primary
#4950CB
secondary
#D4D19C
accent
#D749DF
background
#F9F7FD
surface
#F1EEFB
border
#CBC9D4
text
#0D0A15
muted
#7E7C83

Preview Lab

Preview with #4950CB

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

Preview Lab → · Contrast checker → · Palette generator →

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