#4950D4#4950D4

#4950D4 is a mid, vivid blue. Relative luminance 0.119; OKLCH L 50.8% C 0.199 H 274.5°. Best body text is #FFFFFF at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#4950D4
RGBrgb(73, 80, 212)
HSLhsl(237, 62%, 56%)
HSVhsv(237, 66%, 83%)
CMYKcmyk(65.6%, 62.3%, 0%, 16.9%)
CIE-LABlab(41.07, 38.45, -68.84)
CIE-LCHlch(41.07, 78.85, 299.19°)
OKLaboklab(50.75% 0.0155 -0.1985)
OKLCHoklch(50.75% 0.199 274.5)
XYZxyz(17.4960, 11.9057, 63.6506)
Luminance0.1191 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4950D4 #D4CD49
analogous
#4996D4 #4950D4 #8749D4
triadic
#4950D4 #D44950 #50D449
tetradic
#4950D4 #D44996 #D4CD49 #49D487
square
#4950D4 #D44996 #D4CD49 #49D487
split-complementary
#4950D4 #D48749 #96D449
monochromatic
#1F2484 #2B32B5 #4950D4 #7B80E0 #ACAFEB

Accessibility & contrast

On white

6.21
#4950D4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#4950D4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4950D4
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4950D4#FFFFFF#000000##FFFFFF
##4950D41.006.213.386.21
#FFFFFF6.211.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067D8
Deuteranopia (green-blind)
#005BD1
Tritanopia (blue-blind)
#00718A
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #4950d4;
/* rgb */ color: rgb(73, 80, 212);
/* oklch */ color: oklch(50.8% 0.199 274.5);
Tailwind
colors: {
  custom: {
    50: '#8c81e2',
    500: '#4950d4',
    950: '#000000',
  },
}
SCSS
$custom: #4950d4;
$custom-light: #8c81e2;
$custom-dark: #000000;
JSON
{
  "hex": "#4950d4",
  "rgb": {
    "r": 73,
    "g": 80,
    "b": 212
  },
  "hsl": {
    "h": 236.978,
    "s": 61.778,
    "l": 55.882
  },
  "oklch": {
    "l": 0.50751,
    "c": 0.19908,
    "h": 274.5
  },
  "luminance": 0.11907
}

Semantic roles & 50–950 ramp

primary
#4950D4
secondary
#D9D6A0
accent
#DD43E5
background
#F9F7FE
surface
#F2EEFC
border
#CCC9D5
text
#0D0A15
muted
#7E7C84

Preview Lab

Preview with #4950D4

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

Preview Lab → · Contrast checker → · Palette generator →

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