#4958BD#4958BD

#4958BD is a mid, vivid blue. Relative luminance 0.121; OKLCH L 50.4% C 0.158 H 273.0°. Best body text is #FFFFFF at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#4958BD
RGBrgb(73, 88, 189)
HSLhsl(232, 47%, 51%)
HSVhsv(232, 61%, 74%)
CMYKcmyk(61.4%, 53.4%, 0%, 25.9%)
CIE-LABlab(41.33, 25.61, -55.10)
CIE-LCHlch(41.33, 60.76, 294.92°)
OKLaboklab(50.4% 0.0083 -0.158)
OKLCHoklch(50.4% 0.158 273)
XYZxyz(15.4196, 12.0688, 49.6512)
Luminance0.1207 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4958BD #BDAE49
analogous
#4992BD #4958BD #7449BD
triadic
#4958BD #BD4958 #58BD49
tetradic
#4958BD #BD4992 #BDAE49 #49BD74
square
#4958BD #BD4992 #BDAE49 #49BD74
split-complementary
#4958BD #BD7449 #92BD49
monochromatic
#252E66 #354293 #4958BD #7681CD #A3AADE

Accessibility & contrast

On white

6.15
#4958BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#4958BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4958BD
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4958BD#FFFFFF#000000##FFFFFF
##4958BD1.006.153.416.15
#FFFFFF6.151.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1767C1
Deuteranopia (green-blind)
#005DBB
Tritanopia (blue-blind)
#007082
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #4958bd;
/* rgb */ color: rgb(73, 88, 189);
/* oklch */ color: oklch(50.4% 0.158 273.0);
Tailwind
colors: {
  custom: {
    50: '#8786d2',
    500: '#4958bd',
    950: '#000000',
  },
}
SCSS
$custom: #4958bd;
$custom-light: #8786d2;
$custom-dark: #000000;
JSON
{
  "hex": "#4958bd",
  "rgb": {
    "r": 73,
    "g": 88,
    "b": 189
  },
  "hsl": {
    "h": 232.241,
    "s": 46.774,
    "l": 51.373
  },
  "oklch": {
    "l": 0.50403,
    "c": 0.15825,
    "h": 273
  },
  "luminance": 0.1207
}

Semantic roles & 50–950 ramp

primary
#4958BD
secondary
#CAC497
accent
#C551D6
background
#F8F8FC
surface
#F0EFF9
border
#CBCAD2
text
#0C0B14
muted
#7D7C82

Preview Lab

Preview with #4958BD

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

Preview Lab → · Contrast checker → · Palette generator →

#4958BD Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva