#4951CF#4951CF

#4951CF is a mid, vivid blue. Relative luminance 0.118; OKLCH L 50.5% C 0.191 H 274.5°. Best body text is #FFFFFF at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#4951CF
RGBrgb(73, 81, 207)
HSLhsl(236, 58%, 55%)
HSVhsv(236, 65%, 81%)
CMYKcmyk(64.7%, 60.9%, 0%, 18.8%)
CIE-LABlab(40.90, 36.15, -66.23)
CIE-LCHlch(40.90, 75.45, 298.63°)
OKLaboklab(50.51% 0.0149 -0.1908)
OKLCHoklch(50.51% 0.191 274.5)
XYZxyz(16.9488, 11.8049, 60.4048)
Luminance0.1181 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4951CF #CFC749
analogous
#4994CF #4951CF #8449CF
triadic
#4951CF #CF4951 #51CF49
tetradic
#4951CF #CF4994 #CFC749 #49CF84
square
#4951CF #CF4994 #CFC749 #49CF84
split-complementary
#4951CF #CF8449 #94CF49
monochromatic
#21267D #2E35AD #4951CF #797FDC #AAAEE9

Accessibility & contrast

On white

6.25
#4951CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#4951CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4951CF
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4951CF#FFFFFF#000000##FFFFFF
##4951CF1.006.253.366.25
#FFFFFF6.251.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066D3
Deuteranopia (green-blind)
#005BCD
Tritanopia (blue-blind)
#007088
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #4951cf;
/* rgb */ color: rgb(73, 81, 207);
/* oklch */ color: oklch(50.5% 0.191 274.5);
Tailwind
colors: {
  custom: {
    50: '#8b82df',
    500: '#4951cf',
    950: '#000000',
  },
}
SCSS
$custom: #4951cf;
$custom-light: #8b82df;
$custom-dark: #000000;
JSON
{
  "hex": "#4951cf",
  "rgb": {
    "r": 73,
    "g": 81,
    "b": 207
  },
  "hsl": {
    "h": 236.418,
    "s": 58.261,
    "l": 54.902
  },
  "oklch": {
    "l": 0.50508,
    "c": 0.19138,
    "h": 274.5
  },
  "luminance": 0.11806
}

Semantic roles & 50–950 ramp

primary
#4951CF
secondary
#D6D39E
accent
#D846E1
background
#F9F7FD
surface
#F1EEFB
border
#CBC9D4
text
#0D0A15
muted
#7E7C83

Preview Lab

Preview with #4951CF

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

Preview Lab → · Contrast checker → · Palette generator →

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