#4958BE#4958BE

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

Color values

HEX#4958BE
RGBrgb(73, 88, 190)
HSLhsl(232, 47%, 52%)
HSVhsv(232, 62%, 75%)
CMYKcmyk(61.6%, 53.7%, 0%, 25.5%)
CIE-LABlab(41.39, 25.95, -55.58)
CIE-LCHlch(41.39, 61.34, 295.03°)
OKLaboklab(50.48% 0.0084 -0.1594)
OKLCHoklch(50.48% 0.16 273)
XYZxyz(15.5286, 12.1124, 50.2248)
Luminance0.1211 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4958BE #BEAF49
analogous
#4993BE #4958BE #7549BE
triadic
#4958BE #BE4958 #58BE49
tetradic
#4958BE #BE4993 #BEAF49 #49BE75
square
#4958BE #BE4993 #BEAF49 #49BE75
split-complementary
#4958BE #BE7549 #93BE49
monochromatic
#252E68 #354195 #4958BE #7681CE #A3ABDE

Accessibility & contrast

On white

6.14
#4958BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#4958BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4958BE
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4958BE#FFFFFF#000000##FFFFFF
##4958BE1.006.143.426.14
#FFFFFF6.141.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1567C2
Deuteranopia (green-blind)
#005DBC
Tritanopia (blue-blind)
#007082
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #4958be;
/* rgb */ color: rgb(73, 88, 190);
/* oklch */ color: oklch(50.5% 0.160 273.0);
Tailwind
colors: {
  custom: {
    50: '#8787d2',
    500: '#4958be',
    950: '#000000',
  },
}
SCSS
$custom: #4958be;
$custom-light: #8787d2;
$custom-dark: #000000;
JSON
{
  "hex": "#4958be",
  "rgb": {
    "r": 73,
    "g": 88,
    "b": 190
  },
  "hsl": {
    "h": 232.308,
    "s": 47.368,
    "l": 51.569
  },
  "oklch": {
    "l": 0.50477,
    "c": 0.15964,
    "h": 273
  },
  "luminance": 0.12114
}

Semantic roles & 50–950 ramp

primary
#4958BE
secondary
#CBC598
accent
#C651D7
background
#F8F8FD
surface
#F0EFFA
border
#CBCAD3
text
#0C0B14
muted
#7D7C83

Preview Lab

Preview with #4958BE

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

Preview Lab → · Contrast checker → · Palette generator →

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