#4951D4#4951D4

#4951D4 is a mid, vivid blue. Relative luminance 0.121; OKLCH L 50.9% C 0.198 H 274.3°. Best body text is #FFFFFF at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#4951D4
RGBrgb(73, 81, 212)
HSLhsl(237, 62%, 56%)
HSVhsv(237, 66%, 83%)
CMYKcmyk(65.6%, 61.8%, 0%, 16.9%)
CIE-LABlab(41.30, 37.84, -68.46)
CIE-LCHlch(41.30, 78.22, 298.93°)
OKLaboklab(50.92% 0.0147 -0.1973)
OKLCHoklch(50.92% 0.198 274.3)
XYZxyz(17.5698, 12.0532, 63.6752)
Luminance0.1206 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4951D4 #D4CC49
analogous
#4996D4 #4951D4 #8649D4
triadic
#4951D4 #D44951 #51D449
tetradic
#4951D4 #D44996 #D4CC49 #49D486
square
#4951D4 #D44996 #D4CC49 #49D486
split-complementary
#4951D4 #D48649 #96D449
monochromatic
#1F2584 #2B33B5 #4951D4 #7B80E0 #ACB0EB

Accessibility & contrast

On white

6.16
#4951D4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#4951D4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4951D4
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4951D4#FFFFFF#000000##FFFFFF
##4951D41.006.163.416.16
#FFFFFF6.161.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068D8
Deuteranopia (green-blind)
#005BD1
Tritanopia (blue-blind)
#00728B
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #4951d4;
/* rgb */ color: rgb(73, 81, 212);
/* oklch */ color: oklch(50.9% 0.198 274.3);
Tailwind
colors: {
  custom: {
    50: '#8b82e2',
    500: '#4951d4',
    950: '#000000',
  },
}
SCSS
$custom: #4951d4;
$custom-light: #8b82e2;
$custom-dark: #000000;
JSON
{
  "hex": "#4951d4",
  "rgb": {
    "r": 73,
    "g": 81,
    "b": 212
  },
  "hsl": {
    "h": 236.547,
    "s": 61.778,
    "l": 55.882
  },
  "oklch": {
    "l": 0.50923,
    "c": 0.1979,
    "h": 274.3
  },
  "luminance": 0.12055
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4951D4

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

Preview Lab → · Contrast checker → · Palette generator →

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