#4951D5#4951D5

#4951D5 is a mid, vivid blue. Relative luminance 0.121; OKLCH L 51.0% C 0.199 H 274.2°. Best body text is #FFFFFF at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#4951D5
RGBrgb(73, 81, 213)
HSLhsl(237, 63%, 56%)
HSVhsv(237, 66%, 84%)
CMYKcmyk(65.7%, 62%, 0%, 16.5%)
CIE-LABlab(41.38, 38.18, -68.90)
CIE-LCHlch(41.38, 78.77, 298.99°)
OKLaboklab(51.01% 0.0147 -0.1986)
OKLCHoklch(51.01% 0.199 274.2)
XYZxyz(17.6963, 12.1039, 64.3416)
Luminance0.1211 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4951D5 #D5CD49
analogous
#4997D5 #4951D5 #8749D5
triadic
#4951D5 #D54951 #51D549
tetradic
#4951D5 #D54997 #D5CD49 #49D587
square
#4951D5 #D54997 #D5CD49 #49D587
split-complementary
#4951D5 #D58749 #97D549
monochromatic
#1F2585 #2A32B7 #4951D5 #7B81E0 #ACB0EC

Accessibility & contrast

On white

6.14
#4951D5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#4951D5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4951D5
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4951D5#FFFFFF#000000##FFFFFF
##4951D51.006.143.426.14
#FFFFFF6.141.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068D9
Deuteranopia (green-blind)
#005BD2
Tritanopia (blue-blind)
#00728B
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #4951d5;
/* rgb */ color: rgb(73, 81, 213);
/* oklch */ color: oklch(51.0% 0.199 274.2);
Tailwind
colors: {
  custom: {
    50: '#8c82e3',
    500: '#4951d5',
    950: '#000000',
  },
}
SCSS
$custom: #4951d5;
$custom-light: #8c82e3;
$custom-dark: #000000;
JSON
{
  "hex": "#4951d5",
  "rgb": {
    "r": 73,
    "g": 81,
    "b": 213
  },
  "hsl": {
    "h": 236.571,
    "s": 62.5,
    "l": 56.078
  },
  "oklch": {
    "l": 0.51007,
    "c": 0.19919,
    "h": 274.2
  },
  "luminance": 0.12105
}

Semantic roles & 50–950 ramp

primary
#4951D5
secondary
#DAD7A0
accent
#DC42E6
background
#F9F7FE
surface
#F2EEFC
border
#CCC9D5
text
#0D0A16
muted
#7E7C84

Preview Lab

Preview with #4951D5

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

Preview Lab → · Contrast checker → · Palette generator →

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