#4958BA#4958BA

#4958BA is a mid, vivid blue. Relative luminance 0.119; OKLCH L 50.2% C 0.154 H 273.0°. Best body text is #FFFFFF at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#4958BA
RGBrgb(73, 88, 186)
HSLhsl(232, 45%, 51%)
HSVhsv(232, 61%, 73%)
CMYKcmyk(60.8%, 52.7%, 0%, 27.1%)
CIE-LABlab(41.12, 24.58, -53.68)
CIE-LCHlch(41.12, 59.04, 294.60°)
OKLaboklab(50.18% 0.0081 -0.1538)
OKLCHoklch(50.18% 0.154 273)
XYZxyz(15.0974, 11.9399, 47.9539)
Luminance0.1194 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4958BA #BAAB49
analogous
#4991BA #4958BA #7249BA
triadic
#4958BA #BA4958 #58BA49
tetradic
#4958BA #BA4991 #BAAB49 #49BA72
square
#4958BA #BA4991 #BAAB49 #49BA72
split-complementary
#4958BA #BA7249 #91BA49
monochromatic
#262E63 #36428F #4958BA #7581CB #A2A9DC

Accessibility & contrast

On white

6.20
#4958BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#4958BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4958BA
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4958BA#FFFFFF#000000##FFFFFF
##4958BA1.006.203.396.20
#FFFFFF6.201.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D66BD
Deuteranopia (green-blind)
#005CB8
Tritanopia (blue-blind)
#006F80
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #4958ba;
/* rgb */ color: rgb(73, 88, 186);
/* oklch */ color: oklch(50.2% 0.154 273.0);
Tailwind
colors: {
  custom: {
    50: '#8686cf',
    500: '#4958ba',
    950: '#000000',
  },
}
SCSS
$custom: #4958ba;
$custom-light: #8686cf;
$custom-dark: #000000;
JSON
{
  "hex": "#4958ba",
  "rgb": {
    "r": 73,
    "g": 88,
    "b": 186
  },
  "hsl": {
    "h": 232.035,
    "s": 45.02,
    "l": 50.784
  },
  "oklch": {
    "l": 0.50184,
    "c": 0.15407,
    "h": 273
  },
  "luminance": 0.11941
}

Semantic roles & 50–950 ramp

primary
#4958BA
secondary
#C8C296
accent
#C453D5
background
#F8F8FC
surface
#F0EFF9
border
#CBCAD2
text
#0C0B14
muted
#7D7C82

Preview Lab

Preview with #4958BA

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

Preview Lab → · Contrast checker → · Palette generator →

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