#4958D4#4958D4

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

Color values

HEX#4958D4
RGBrgb(73, 88, 212)
HSLhsl(234, 62%, 56%)
HSVhsv(234, 66%, 83%)
CMYKcmyk(65.6%, 58.5%, 0%, 16.9%)
CIE-LABlab(42.99, 33.51, -65.71)
CIE-LCHlch(42.99, 73.76, 297.02°)
OKLaboklab(52.17% 0.009 -0.1892)
OKLCHoklch(52.17% 0.189 272.7)
XYZxyz(18.1171, 13.1478, 63.8576)
Luminance0.1315 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4958D4 #D4C549
analogous
#499DD4 #4958D4 #7F49D4
triadic
#4958D4 #D44958 #58D449
tetradic
#4958D4 #D4499D #D4C549 #49D47F
square
#4958D4 #D4499D #D4C549 #49D47F
split-complementary
#4958D4 #D47F49 #9DD449
monochromatic
#1F2A84 #2B3AB5 #4958D4 #7B85E0 #ACB3EB

Accessibility & contrast

On white

5.79
#4958D4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#4958D4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4958D4
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4958D4#FFFFFF#000000##FFFFFF
##4958D41.005.793.635.79
#FFFFFF5.791.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CD8
Deuteranopia (green-blind)
#005FD2
Tritanopia (blue-blind)
#00768D
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #4958d4;
/* rgb */ color: rgb(73, 88, 212);
/* oklch */ color: oklch(52.2% 0.189 272.7);
Tailwind
colors: {
  custom: {
    50: '#8b87e2',
    500: '#4958d4',
    950: '#000000',
  },
}
SCSS
$custom: #4958d4;
$custom-light: #8b87e2;
$custom-dark: #000000;
JSON
{
  "hex": "#4958d4",
  "rgb": {
    "r": 73,
    "g": 88,
    "b": 212
  },
  "hsl": {
    "h": 233.525,
    "s": 61.778,
    "l": 55.882
  },
  "oklch": {
    "l": 0.52168,
    "c": 0.18945,
    "h": 272.7
  },
  "luminance": 0.13149
}

Semantic roles & 50–950 ramp

primary
#4958D4
secondary
#D9D3A0
accent
#D343E5
background
#F9F8FE
surface
#F1EFFC
border
#CBCAD5
text
#0D0B15
muted
#7E7C84

Preview Lab

Preview with #4958D4

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

Preview Lab → · Contrast checker → · Palette generator →

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