#4958C2#4958C2

#4958C2 is a mid, vivid blue. Relative luminance 0.123; OKLCH L 50.8% C 0.165 H 273.0°. Best body text is #FFFFFF at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#4958C2
RGBrgb(73, 88, 194)
HSLhsl(233, 50%, 52%)
HSVhsv(233, 62%, 76%)
CMYKcmyk(62.4%, 54.6%, 0%, 23.9%)
CIE-LABlab(41.67, 27.33, -57.45)
CIE-LCHlch(41.67, 63.62, 295.44°)
OKLaboklab(50.78% 0.0086 -0.1649)
OKLCHoklch(50.78% 0.165 273)
XYZxyz(15.9718, 12.2896, 52.5589)
Luminance0.1229 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4958C2 #C2B349
analogous
#4995C2 #4958C2 #7749C2
triadic
#4958C2 #C24958 #58C249
tetradic
#4958C2 #C24995 #C2B349 #49C277
square
#4958C2 #C24995 #C2B349 #49C277
split-complementary
#4958C2 #C27749 #95C249
monochromatic
#242D6C #34409A #4958C2 #7782D1 #A5ACE1

Accessibility & contrast

On white

6.07
#4958C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#4958C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4958C2
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4958C2#FFFFFF#000000##FFFFFF
##4958C21.006.073.466.07
#FFFFFF6.071.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0868C6
Deuteranopia (green-blind)
#005DC0
Tritanopia (blue-blind)
#007184
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #4958c2;
/* rgb */ color: rgb(73, 88, 194);
/* oklch */ color: oklch(50.8% 0.165 273.0);
Tailwind
colors: {
  custom: {
    50: '#8887d5',
    500: '#4958c2',
    950: '#000000',
  },
}
SCSS
$custom: #4958c2;
$custom-light: #8887d5;
$custom-dark: #000000;
JSON
{
  "hex": "#4958c2",
  "rgb": {
    "r": 73,
    "g": 88,
    "b": 194
  },
  "hsl": {
    "h": 232.562,
    "s": 49.794,
    "l": 52.353
  },
  "oklch": {
    "l": 0.50775,
    "c": 0.16517,
    "h": 273
  },
  "luminance": 0.12291
}

Semantic roles & 50–950 ramp

primary
#4958C2
secondary
#CEC799
accent
#C84ED9
background
#F8F8FD
surface
#F0EFFA
border
#CBCAD3
text
#0C0B14
muted
#7D7C83

Preview Lab

Preview with #4958C2

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

Preview Lab → · Contrast checker → · Palette generator →

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