#4958D2#4958D2

#4958D2 is a mid, vivid blue. Relative luminance 0.130; OKLCH L 52.0% C 0.187 H 272.8°. Best body text is #FFFFFF at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#4958D2
RGBrgb(73, 88, 210)
HSLhsl(233, 60%, 55%)
HSVhsv(233, 65%, 82%)
CMYKcmyk(65.2%, 58.1%, 0%, 17.6%)
CIE-LABlab(42.83, 32.82, -64.81)
CIE-LCHlch(42.83, 72.65, 296.86°)
OKLaboklab(52.01% 0.009 -0.1866)
OKLCHoklch(52.01% 0.187 272.8)
XYZxyz(17.8664, 13.0475, 62.5371)
Luminance0.1305 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4958D2 #D2C349
analogous
#499CD2 #4958D2 #7F49D2
triadic
#4958D2 #D24958 #58D249
tetradic
#4958D2 #D2499C #D2C349 #49D27F
square
#4958D2 #D2499C #D2C349 #49D27F
split-complementary
#4958D2 #D27F49 #9CD249
monochromatic
#202A81 #2C3BB2 #4958D2 #7A85DE #ABB2EA

Accessibility & contrast

On white

5.82
#4958D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#4958D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4958D2
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4958D2#FFFFFF#000000##FFFFFF
##4958D21.005.823.615.82
#FFFFFF5.821.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BD6
Deuteranopia (green-blind)
#005FD0
Tritanopia (blue-blind)
#00768C
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #4958d2;
/* rgb */ color: rgb(73, 88, 210);
/* oklch */ color: oklch(52.0% 0.187 272.8);
Tailwind
colors: {
  custom: {
    50: '#8b87e1',
    500: '#4958d2',
    950: '#000000',
  },
}
SCSS
$custom: #4958d2;
$custom-light: #8b87e1;
$custom-dark: #000000;
JSON
{
  "hex": "#4958d2",
  "rgb": {
    "r": 73,
    "g": 88,
    "b": 210
  },
  "hsl": {
    "h": 233.431,
    "s": 60.352,
    "l": 55.49
  },
  "oklch": {
    "l": 0.52009,
    "c": 0.18679,
    "h": 272.8
  },
  "luminance": 0.13049
}

Semantic roles & 50–950 ramp

primary
#4958D2
secondary
#D8D29F
accent
#D244E3
background
#F9F8FD
surface
#F1EFFB
border
#CBCAD4
text
#0D0B15
muted
#7E7C83

Preview Lab

Preview with #4958D2

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

Preview Lab → · Contrast checker → · Palette generator →

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