#4958CE#4958CE

#4958CE is a mid, vivid blue. Relative luminance 0.129; OKLCH L 51.7% C 0.181 H 272.8°. Best body text is #FFFFFF at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#4958CE
RGBrgb(73, 88, 206)
HSLhsl(233, 58%, 55%)
HSVhsv(233, 65%, 81%)
CMYKcmyk(64.6%, 57.3%, 0%, 19.2%)
CIE-LABlab(42.54, 31.45, -62.99)
CIE-LCHlch(42.54, 70.41, 296.53°)
OKLaboklab(51.69% 0.009 -0.1812)
OKLCHoklch(51.69% 0.181 272.8)
XYZxyz(17.3742, 12.8506, 59.9454)
Luminance0.1285 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4958CE #CEBF49
analogous
#499BCE #4958CE #7D49CE
triadic
#4958CE #CE4958 #58CE49
tetradic
#4958CE #CE499B #CEBF49 #49CE7D
square
#4958CE #CE499B #CEBF49 #49CE7D
split-complementary
#4958CE #CE7D49 #9BCE49
monochromatic
#212B7B #2E3CAC #4958CE #7984DB #A9B0E8

Accessibility & contrast

On white

5.88
#4958CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#4958CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4958CE
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4958CE#FFFFFF#000000##FFFFFF
##4958CE1.005.883.575.88
#FFFFFF5.881.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BD2
Deuteranopia (green-blind)
#005FCC
Tritanopia (blue-blind)
#00758A
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #4958ce;
/* rgb */ color: rgb(73, 88, 206);
/* oklch */ color: oklch(51.7% 0.181 272.8);
Tailwind
colors: {
  custom: {
    50: '#8a87de',
    500: '#4958ce',
    950: '#000000',
  },
}
SCSS
$custom: #4958ce;
$custom-light: #8a87de;
$custom-dark: #000000;
JSON
{
  "hex": "#4958ce",
  "rgb": {
    "r": 73,
    "g": 88,
    "b": 206
  },
  "hsl": {
    "h": 233.233,
    "s": 57.576,
    "l": 54.706
  },
  "oklch": {
    "l": 0.51694,
    "c": 0.18145,
    "h": 272.8
  },
  "luminance": 0.12852
}

Semantic roles & 50–950 ramp

primary
#4958CE
secondary
#D5CF9D
accent
#CF47E1
background
#F9F8FD
surface
#F1EFFB
border
#CBCAD4
text
#0D0B15
muted
#7E7C83

Preview Lab

Preview with #4958CE

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

Preview Lab → · Contrast checker → · Palette generator →

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