#4951D8#4951D8

#4951D8 is a mid, highly saturated blue. Relative luminance 0.123; OKLCH L 51.3% C 0.203 H 274.1°. Best body text is #FFFFFF at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#4951D8
RGBrgb(73, 81, 216)
HSLhsl(237, 65%, 57%)
HSVhsv(237, 66%, 85%)
CMYKcmyk(66.2%, 62.5%, 0%, 15.3%)
CIE-LABlab(41.62, 39.19, -70.22)
CIE-LCHlch(41.62, 80.42, 299.16°)
OKLaboklab(51.26% 0.0145 -0.2025)
OKLCHoklch(51.26% 0.203 274.1)
XYZxyz(18.0806, 12.2576, 66.3655)
Luminance0.1226 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4951D8 #D8D049
analogous
#4999D8 #4951D8 #8949D8
triadic
#4951D8 #D84951 #51D849
tetradic
#4951D8 #D84999 #D8D049 #49D889
square
#4951D8 #D84999 #D8D049 #49D889
split-complementary
#4951D8 #D88949 #99D849
monochromatic
#1D2389 #2830BC #4951D8 #7B81E3 #AEB1EE

Accessibility & contrast

On white

6.08
#4951D8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#4951D8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4951D8
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4951D8#FFFFFF#000000##FFFFFF
##4951D81.006.083.456.08
#FFFFFF6.081.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069DC
Deuteranopia (green-blind)
#005CD5
Tritanopia (blue-blind)
#00738D
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #4951d8;
/* rgb */ color: rgb(73, 81, 216);
/* oklch */ color: oklch(51.3% 0.203 274.1);
Tailwind
colors: {
  custom: {
    50: '#8c82e5',
    500: '#4951d8',
    950: '#000000',
  },
}
SCSS
$custom: #4951d8;
$custom-light: #8c82e5;
$custom-dark: #000000;
JSON
{
  "hex": "#4951d8",
  "rgb": {
    "r": 73,
    "g": 81,
    "b": 216
  },
  "hsl": {
    "h": 236.643,
    "s": 64.706,
    "l": 56.667
  },
  "oklch": {
    "l": 0.5126,
    "c": 0.20306,
    "h": 274.1
  },
  "luminance": 0.12259
}

Semantic roles & 50–950 ramp

primary
#4951D8
secondary
#DCD8A1
accent
#DE40E8
background
#F9F7FE
surface
#F2EEFC
border
#CCC9D5
text
#0E0A16
muted
#7E7C84

Preview Lab

Preview with #4951D8

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

Preview Lab → · Contrast checker → · Palette generator →

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