#4951BF#4951BF

#4951BF is a mid, vivid blue. Relative luminance 0.111; OKLCH L 49.2% C 0.170 H 275.1°. Best body text is #FFFFFF at 6.54:1 contrast (WCAG AA passes).

Color values

HEX#4951BF
RGBrgb(73, 81, 191)
HSLhsl(236, 48%, 52%)
HSVhsv(236, 62%, 75%)
CMYKcmyk(61.8%, 57.6%, 0%, 25.1%)
CIE-LABlab(39.68, 30.73, -58.93)
CIE-LCHlch(39.68, 66.46, 297.54°)
OKLaboklab(49.22% 0.0151 -0.1693)
OKLCHoklch(49.22% 0.17 275.1)
XYZxyz(15.0910, 11.0617, 50.6200)
Luminance0.1106 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4951BF #BFB749
analogous
#498CBF #4951BF #7C49BF
triadic
#4951BF #BF4951 #51BF49
tetradic
#4951BF #BF498C #BFB749 #49BF7C
square
#4951BF #BF498C #BFB749 #49BF7C
split-complementary
#4951BF #BF7C49 #8CBF49
monochromatic
#252969 #353B96 #4951BF #767CCF #A4A8DF

Accessibility & contrast

On white

6.54
#4951BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#4951BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4951BF
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4951BF#FFFFFF#000000##FFFFFF
##4951BF1.006.543.216.54
#FFFFFF6.541.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063C3
Deuteranopia (green-blind)
#0058BD
Tritanopia (blue-blind)
#006B80
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #4951bf;
/* rgb */ color: rgb(73, 81, 191);
/* oklch */ color: oklch(49.2% 0.170 275.1);
Tailwind
colors: {
  custom: {
    50: '#8881d3',
    500: '#4951bf',
    950: '#000000',
  },
}
SCSS
$custom: #4951bf;
$custom-light: #8881d3;
$custom-dark: #000000;
JSON
{
  "hex": "#4951bf",
  "rgb": {
    "r": 73,
    "g": 81,
    "b": 191
  },
  "hsl": {
    "h": 235.932,
    "s": 47.967,
    "l": 51.765
  },
  "oklch": {
    "l": 0.49222,
    "c": 0.17002,
    "h": 275.1
  },
  "luminance": 0.11063
}

Semantic roles & 50–950 ramp

primary
#4951BF
secondary
#CCC898
accent
#CE50D8
background
#F8F7FD
surface
#F0EEFA
border
#CBC9D3
text
#0C0A14
muted
#7D7C83

Preview Lab

Preview with #4951BF

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

Preview Lab → · Contrast checker → · Palette generator →

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