#4958D5#4958D5

#4958D5 is a mid, vivid blue. Relative luminance 0.132; OKLCH L 52.2% C 0.191 H 272.7°. Best body text is #FFFFFF at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#4958D5
RGBrgb(73, 88, 213)
HSLhsl(234, 63%, 56%)
HSVhsv(234, 66%, 84%)
CMYKcmyk(65.7%, 58.7%, 0%, 16.5%)
CIE-LABlab(43.06, 33.85, -66.16)
CIE-LCHlch(43.06, 74.32, 297.10°)
OKLaboklab(52.25% 0.009 -0.1905)
OKLCHoklch(52.25% 0.191 272.7)
XYZxyz(18.2436, 13.1984, 64.5240)
Luminance0.1320 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4958D5 #D5C649
analogous
#499ED5 #4958D5 #8049D5
triadic
#4958D5 #D54958 #58D549
tetradic
#4958D5 #D5499E #D5C649 #49D580
square
#4958D5 #D5499E #D5C649 #49D580
split-complementary
#4958D5 #D58049 #9ED549
monochromatic
#1F2A85 #2A39B7 #4958D5 #7B86E0 #ACB3EC

Accessibility & contrast

On white

5.77
#4958D5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#4958D5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4958D5
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4958D5#FFFFFF#000000##FFFFFF
##4958D51.005.773.645.77
#FFFFFF5.771.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CD9
Deuteranopia (green-blind)
#0060D3
Tritanopia (blue-blind)
#00778E
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #4958d5;
/* rgb */ color: rgb(73, 88, 213);
/* oklch */ color: oklch(52.2% 0.191 272.7);
Tailwind
colors: {
  custom: {
    50: '#8b87e3',
    500: '#4958d5',
    950: '#000000',
  },
}
SCSS
$custom: #4958d5;
$custom-light: #8b87e3;
$custom-dark: #000000;
JSON
{
  "hex": "#4958d5",
  "rgb": {
    "r": 73,
    "g": 88,
    "b": 213
  },
  "hsl": {
    "h": 233.571,
    "s": 62.5,
    "l": 56.078
  },
  "oklch": {
    "l": 0.52247,
    "c": 0.19076,
    "h": 272.7
  },
  "luminance": 0.132
}

Semantic roles & 50–950 ramp

primary
#4958D5
secondary
#DAD4A0
accent
#D442E6
background
#F9F8FE
surface
#F1EFFC
border
#CBCAD5
text
#0D0B16
muted
#7E7C84

Preview Lab

Preview with #4958D5

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

Preview Lab → · Contrast checker → · Palette generator →

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