#4958CC#4958CC

#4958CC is a mid, vivid blue. Relative luminance 0.128; OKLCH L 51.5% C 0.179 H 272.9°. Best body text is #FFFFFF at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#4958CC
RGBrgb(73, 88, 204)
HSLhsl(233, 56%, 54%)
HSVhsv(233, 64%, 80%)
CMYKcmyk(64.2%, 56.9%, 0%, 20%)
CIE-LABlab(42.39, 30.76, -62.08)
CIE-LCHlch(42.39, 69.28, 296.36°)
OKLaboklab(51.54% 0.009 -0.1785)
OKLCHoklch(51.54% 0.179 272.9)
XYZxyz(17.1328, 12.7541, 58.6739)
Luminance0.1276 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4958CC #CCBD49
analogous
#499ACC #4958CC #7C49CC
triadic
#4958CC #CC4958 #58CC49
tetradic
#4958CC #CC499A #CCBD49 #49CC7C
square
#4958CC #CC499A #CCBD49 #49CC7C
split-complementary
#4958CC #CC7C49 #9ACC49
monochromatic
#222C79 #2F3DA9 #4958CC #7984D9 #A9B0E7

Accessibility & contrast

On white

5.91
#4958CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#4958CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4958CC
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4958CC#FFFFFF#000000##FFFFFF
##4958CC1.005.913.555.91
#FFFFFF5.911.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AD0
Deuteranopia (green-blind)
#005ECA
Tritanopia (blue-blind)
#007489
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #4958cc;
/* rgb */ color: rgb(73, 88, 204);
/* oklch */ color: oklch(51.5% 0.179 272.9);
Tailwind
colors: {
  custom: {
    50: '#8987dc',
    500: '#4958cc',
    950: '#000000',
  },
}
SCSS
$custom: #4958cc;
$custom-light: #8987dc;
$custom-dark: #000000;
JSON
{
  "hex": "#4958cc",
  "rgb": {
    "r": 73,
    "g": 88,
    "b": 204
  },
  "hsl": {
    "h": 233.13,
    "s": 56.223,
    "l": 54.314
  },
  "oklch": {
    "l": 0.51538,
    "c": 0.17877,
    "h": 272.9
  },
  "luminance": 0.12756
}

Semantic roles & 50–950 ramp

primary
#4958CC
secondary
#D4CE9D
accent
#CE48E0
background
#F9F8FD
surface
#F1EFFB
border
#CBCAD4
text
#0D0B15
muted
#7E7C83

Preview Lab

Preview with #4958CC

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

Preview Lab → · Contrast checker → · Palette generator →

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