#4958C6#4958C6

#4958C6 is a mid, vivid blue. Relative luminance 0.125; OKLCH L 51.1% C 0.171 H 273.0°. Best body text is #FFFFFF at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#4958C6
RGBrgb(73, 88, 198)
HSLhsl(233, 52%, 53%)
HSVhsv(233, 63%, 78%)
CMYKcmyk(63.1%, 55.6%, 0%, 22.4%)
CIE-LABlab(41.96, 28.70, -59.31)
CIE-LCHlch(41.96, 65.89, 295.82°)
OKLaboklab(51.08% 0.0088 -0.1704)
OKLCHoklch(51.08% 0.171 273)
XYZxyz(16.4270, 12.4717, 54.9567)
Luminance0.1247 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4958C6 #C6B749
analogous
#4996C6 #4958C6 #7849C6
triadic
#4958C6 #C64958 #58C649
tetradic
#4958C6 #C64996 #C6B749 #49C678
square
#4958C6 #C64996 #C6B749 #49C678
split-complementary
#4958C6 #C67849 #96C649
monochromatic
#232D71 #323FA0 #4958C6 #7883D5 #A6AEE3

Accessibility & contrast

On white

6.01
#4958C6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#4958C6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4958C6
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4958C6#FFFFFF#000000##FFFFFF
##4958C61.006.013.496.01
#FFFFFF6.011.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069CA
Deuteranopia (green-blind)
#005EC4
Tritanopia (blue-blind)
#007286
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #4958c6;
/* rgb */ color: rgb(73, 88, 198);
/* oklch */ color: oklch(51.1% 0.171 273.0);
Tailwind
colors: {
  custom: {
    50: '#8887d8',
    500: '#4958c6',
    950: '#000000',
  },
}
SCSS
$custom: #4958c6;
$custom-light: #8887d8;
$custom-dark: #000000;
JSON
{
  "hex": "#4958c6",
  "rgb": {
    "r": 73,
    "g": 88,
    "b": 198
  },
  "hsl": {
    "h": 232.8,
    "s": 52.301,
    "l": 53.137
  },
  "oklch": {
    "l": 0.51077,
    "c": 0.17065,
    "h": 273
  },
  "luminance": 0.12473
}

Semantic roles & 50–950 ramp

primary
#4958C6
secondary
#D0CA9A
accent
#CA4CDC
background
#F8F8FD
surface
#F0EFFA
border
#CBCAD3
text
#0D0B15
muted
#7D7C83

Preview Lab

Preview with #4958C6

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

Preview Lab → · Contrast checker → · Palette generator →

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