#4958DC#4958DC

#4958DC is a mid, vivid blue. Relative luminance 0.136; OKLCH L 52.8% C 0.200 H 272.6°. Best body text is #FFFFFF at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#4958DC
RGBrgb(73, 88, 220)
HSLhsl(234, 68%, 57%)
HSVhsv(234, 67%, 86%)
CMYKcmyk(66.8%, 60%, 0%, 13.7%)
CIE-LABlab(43.60, 36.24, -69.29)
CIE-LCHlch(43.60, 78.19, 297.61°)
OKLaboklab(52.81% 0.009 -0.1997)
OKLCHoklch(52.81% 0.2 272.6)
XYZxyz(19.1513, 13.5615, 69.3046)
Luminance0.1356 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4958DC #DCCD49
analogous
#49A1DC #4958DC #8449DC
triadic
#4958DC #DC4958 #58DC49
tetradic
#4958DC #DC49A1 #DCCD49 #49DC84
square
#4958DC #DC49A1 #DCCD49 #49DC84
split-complementary
#4958DC #DC8449 #A1DC49
monochromatic
#1C278F #2535C2 #4958DC #7C87E6 #B0B6F0

Accessibility & contrast

On white

5.66
#4958DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#4958DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4958DC
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4958DC#FFFFFF#000000##FFFFFF
##4958DC1.005.663.715.66
#FFFFFF5.661.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EE0
Deuteranopia (green-blind)
#0060D9
Tritanopia (blue-blind)
#007991
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #4958dc;
/* rgb */ color: rgb(73, 88, 220);
/* oklch */ color: oklch(52.8% 0.200 272.6);
Tailwind
colors: {
  custom: {
    50: '#8d87e8',
    500: '#4958dc',
    950: '#000000',
  },
}
SCSS
$custom: #4958dc;
$custom-light: #8d87e8;
$custom-dark: #000000;
JSON
{
  "hex": "#4958dc",
  "rgb": {
    "r": 73,
    "g": 88,
    "b": 220
  },
  "hsl": {
    "h": 233.878,
    "s": 67.742,
    "l": 57.451
  },
  "oklch": {
    "l": 0.52813,
    "c": 0.19993,
    "h": 272.6
  },
  "luminance": 0.13563
}

Semantic roles & 50–950 ramp

primary
#4958DC
secondary
#DED8A3
accent
#D93DEB
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0B16
muted
#7E7C84

Preview Lab

Preview with #4958DC

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

Preview Lab → · Contrast checker → · Palette generator →

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