#4958D7#4958D7

#4958D7 is a mid, vivid blue. Relative luminance 0.133; OKLCH L 52.4% C 0.193 H 272.7°. Best body text is #FFFFFF at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#4958D7
RGBrgb(73, 88, 215)
HSLhsl(234, 64%, 56%)
HSVhsv(234, 66%, 84%)
CMYKcmyk(66%, 59.1%, 0%, 15.7%)
CIE-LABlab(43.21, 34.53, -67.06)
CIE-LCHlch(43.21, 75.43, 297.25°)
OKLaboklab(52.41% 0.009 -0.1932)
OKLCHoklch(52.41% 0.193 272.7)
XYZxyz(18.4990, 13.3005, 65.8692)
Luminance0.1330 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4958D7 #D7C849
analogous
#499FD7 #4958D7 #8149D7
triadic
#4958D7 #D74958 #58D749
tetradic
#4958D7 #D7499F #D7C849 #49D781
square
#4958D7 #D7499F #D7C849 #49D781
split-complementary
#4958D7 #D78149 #9FD749
monochromatic
#1E2988 #2938BA #4958D7 #7B86E2 #ADB4ED

Accessibility & contrast

On white

5.74
#4958D7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#4958D7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4958D7
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4958D7#FFFFFF#000000##FFFFFF
##4958D71.005.743.665.74
#FFFFFF5.741.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DDB
Deuteranopia (green-blind)
#0060D4
Tritanopia (blue-blind)
#00778F
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #4958d7;
/* rgb */ color: rgb(73, 88, 215);
/* oklch */ color: oklch(52.4% 0.193 272.7);
Tailwind
colors: {
  custom: {
    50: '#8c87e4',
    500: '#4958d7',
    950: '#000000',
  },
}
SCSS
$custom: #4958d7;
$custom-light: #8c87e4;
$custom-dark: #000000;
JSON
{
  "hex": "#4958d7",
  "rgb": {
    "r": 73,
    "g": 88,
    "b": 215
  },
  "hsl": {
    "h": 233.662,
    "s": 63.964,
    "l": 56.471
  },
  "oklch": {
    "l": 0.52408,
    "c": 0.1934,
    "h": 272.7
  },
  "luminance": 0.13302
}

Semantic roles & 50–950 ramp

primary
#4958D7
secondary
#DBD5A1
accent
#D541E7
background
#F9F8FE
surface
#F2EFFC
border
#CCCAD5
text
#0D0B16
muted
#7E7C84

Preview Lab

Preview with #4958D7

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

Preview Lab → · Contrast checker → · Palette generator →

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