#4958C7#4958C7

#4958C7 is a mid, vivid blue. Relative luminance 0.125; OKLCH L 51.2% C 0.172 H 272.9°. Best body text is #FFFFFF at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#4958C7
RGBrgb(73, 88, 199)
HSLhsl(233, 53%, 53%)
HSVhsv(233, 63%, 78%)
CMYKcmyk(63.3%, 55.8%, 0%, 22%)
CIE-LABlab(42.03, 29.04, -59.78)
CIE-LCHlch(42.03, 66.46, 295.91°)
OKLaboklab(51.15% 0.0088 -0.1718)
OKLCHoklch(51.15% 0.172 272.9)
XYZxyz(16.5428, 12.5180, 55.5662)
Luminance0.1252 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4958C7 #C7B849
analogous
#4997C7 #4958C7 #7949C7
triadic
#4958C7 #C74958 #58C749
tetradic
#4958C7 #C74997 #C7B849 #49C779
square
#4958C7 #C74997 #C7B849 #49C779
split-complementary
#4958C7 #C77949 #97C749
monochromatic
#232D72 #323FA1 #4958C7 #7883D5 #A7AEE4

Accessibility & contrast

On white

5.99
#4958C7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#4958C7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4958C7
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4958C7#FFFFFF#000000##FFFFFF
##4958C71.005.993.505.99
#FFFFFF5.991.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF5.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069CB
Deuteranopia (green-blind)
#005EC5
Tritanopia (blue-blind)
#007387
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #4958c7;
/* rgb */ color: rgb(73, 88, 199);
/* oklch */ color: oklch(51.2% 0.172 272.9);
Tailwind
colors: {
  custom: {
    50: '#8987d9',
    500: '#4958c7',
    950: '#000000',
  },
}
SCSS
$custom: #4958c7;
$custom-light: #8987d9;
$custom-dark: #000000;
JSON
{
  "hex": "#4958c7",
  "rgb": {
    "r": 73,
    "g": 88,
    "b": 199
  },
  "hsl": {
    "h": 232.857,
    "s": 52.941,
    "l": 53.333
  },
  "oklch": {
    "l": 0.51153,
    "c": 0.17201,
    "h": 272.9
  },
  "luminance": 0.12519
}

Semantic roles & 50–950 ramp

primary
#4958C7
secondary
#D1CB9B
accent
#CB4BDC
background
#F8F8FD
surface
#F0EFFB
border
#CBCAD4
text
#0D0B15
muted
#7D7C83

Preview Lab

Preview with #4958C7

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

Preview Lab → · Contrast checker → · Palette generator →

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