#4958D8#4958D8

#4958D8 is a mid, vivid blue. Relative luminance 0.134; OKLCH L 52.5% C 0.195 H 272.7°. Best body text is #FFFFFF at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#4958D8
RGBrgb(73, 88, 216)
HSLhsl(234, 65%, 57%)
HSVhsv(234, 66%, 85%)
CMYKcmyk(66.2%, 59.3%, 0%, 15.3%)
CIE-LABlab(43.29, 34.88, -67.51)
CIE-LCHlch(43.29, 75.98, 297.32°)
OKLaboklab(52.49% 0.009 -0.1945)
OKLCHoklch(52.49% 0.195 272.7)
XYZxyz(18.6279, 13.3521, 66.5480)
Luminance0.1335 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4958D8 #D8C949
analogous
#49A0D8 #4958D8 #8249D8
triadic
#4958D8 #D84958 #58D849
tetradic
#4958D8 #D849A0 #D8C949 #49D882
square
#4958D8 #D849A0 #D8C949 #49D882
split-complementary
#4958D8 #D88249 #A0D849
monochromatic
#1D2989 #2838BC #4958D8 #7B86E3 #AEB4EE

Accessibility & contrast

On white

5.72
#4958D8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#4958D8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4958D8
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4958D8#FFFFFF#000000##FFFFFF
##4958D81.005.723.675.72
#FFFFFF5.721.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DDC
Deuteranopia (green-blind)
#0060D5
Tritanopia (blue-blind)
#00788F
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #4958d8;
/* rgb */ color: rgb(73, 88, 216);
/* oklch */ color: oklch(52.5% 0.195 272.7);
Tailwind
colors: {
  custom: {
    50: '#8c87e5',
    500: '#4958d8',
    950: '#000000',
  },
}
SCSS
$custom: #4958d8;
$custom-light: #8c87e5;
$custom-dark: #000000;
JSON
{
  "hex": "#4958d8",
  "rgb": {
    "r": 73,
    "g": 88,
    "b": 216
  },
  "hsl": {
    "h": 233.706,
    "s": 64.706,
    "l": 56.667
  },
  "oklch": {
    "l": 0.52488,
    "c": 0.19471,
    "h": 272.7
  },
  "luminance": 0.13354
}

Semantic roles & 50–950 ramp

primary
#4958D8
secondary
#DCD6A1
accent
#D640E8
background
#F9F8FE
surface
#F2EFFC
border
#CCCAD5
text
#0D0B16
muted
#7E7C84

Preview Lab

Preview with #4958D8

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

Preview Lab → · Contrast checker → · Palette generator →

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