#4957BF#4957BF

#4957BF is a mid, vivid blue. Relative luminance 0.120; OKLCH L 50.4% C 0.162 H 273.3°. Best body text is #FFFFFF at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#4957BF
RGBrgb(73, 87, 191)
HSLhsl(233, 48%, 52%)
HSVhsv(233, 62%, 75%)
CMYKcmyk(61.8%, 54.5%, 0%, 25.1%)
CIE-LABlab(41.21, 26.93, -56.46)
CIE-LCHlch(41.21, 62.56, 295.50°)
OKLaboklab(50.36% 0.0094 -0.162)
OKLCHoklch(50.36% 0.162 273.3)
XYZxyz(15.5567, 11.9932, 50.7752)
Luminance0.1199 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4957BF #BFB149
analogous
#4992BF #4957BF #7649BF
triadic
#4957BF #BF4957 #57BF49
tetradic
#4957BF #BF4992 #BFB149 #49BF76
square
#4957BF #BF4992 #BFB149 #49BF76
split-complementary
#4957BF #BF7649 #92BF49
monochromatic
#252D69 #354096 #4957BF #7681CF #A4ABDF

Accessibility & contrast

On white

6.18
#4957BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#4957BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4957BF
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4957BF#FFFFFF#000000##FFFFFF
##4957BF1.006.183.406.18
#FFFFFF6.181.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C67C3
Deuteranopia (green-blind)
#005CBD
Tritanopia (blue-blind)
#006F82
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #4957bf;
/* rgb */ color: rgb(73, 87, 191);
/* oklch */ color: oklch(50.4% 0.162 273.3);
Tailwind
colors: {
  custom: {
    50: '#8786d3',
    500: '#4957bf',
    950: '#000000',
  },
}
SCSS
$custom: #4957bf;
$custom-light: #8786d3;
$custom-dark: #000000;
JSON
{
  "hex": "#4957bf",
  "rgb": {
    "r": 73,
    "g": 87,
    "b": 191
  },
  "hsl": {
    "h": 232.881,
    "s": 47.967,
    "l": 51.765
  },
  "oklch": {
    "l": 0.50357,
    "c": 0.16231,
    "h": 273.3
  },
  "luminance": 0.11994
}

Semantic roles & 50–950 ramp

primary
#4957BF
secondary
#CCC698
accent
#C850D8
background
#F8F8FD
surface
#F0EFFA
border
#CBCAD3
text
#0C0B14
muted
#7D7C83

Preview Lab

Preview with #4957BF

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

Preview Lab → · Contrast checker → · Palette generator →

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