#4958BC#4958BC

#4958BC is a mid, vivid blue. Relative luminance 0.120; OKLCH L 50.3% C 0.157 H 273.0°. Best body text is #FFFFFF at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#4958BC
RGBrgb(73, 88, 188)
HSLhsl(232, 46%, 51%)
HSVhsv(232, 61%, 74%)
CMYKcmyk(61.2%, 53.2%, 0%, 26.3%)
CIE-LABlab(41.26, 25.26, -54.63)
CIE-LCHlch(41.26, 60.19, 294.82°)
OKLaboklab(50.33% 0.0083 -0.1566)
OKLCHoklch(50.33% 0.157 273)
XYZxyz(15.3115, 12.0255, 49.0815)
Luminance0.1203 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4958BC #BCAD49
analogous
#4991BC #4958BC #7349BC
triadic
#4958BC #BC4958 #58BC49
tetradic
#4958BC #BC4991 #BCAD49 #49BC73
square
#4958BC #BC4991 #BCAD49 #49BC73
split-complementary
#4958BC #BC7349 #91BC49
monochromatic
#252E65 #364292 #4958BC #7681CC #A2AADD

Accessibility & contrast

On white

6.17
#4958BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#4958BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4958BC
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4958BC#FFFFFF#000000##FFFFFF
##4958BC1.006.173.416.17
#FFFFFF6.171.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1967C0
Deuteranopia (green-blind)
#005CBA
Tritanopia (blue-blind)
#006F81
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #4958bc;
/* rgb */ color: rgb(73, 88, 188);
/* oklch */ color: oklch(50.3% 0.157 273.0);
Tailwind
colors: {
  custom: {
    50: '#8786d1',
    500: '#4958bc',
    950: '#000000',
  },
}
SCSS
$custom: #4958bc;
$custom-light: #8786d1;
$custom-dark: #000000;
JSON
{
  "hex": "#4958bc",
  "rgb": {
    "r": 73,
    "g": 88,
    "b": 188
  },
  "hsl": {
    "h": 232.174,
    "s": 46.185,
    "l": 51.176
  },
  "oklch": {
    "l": 0.5033,
    "c": 0.15686,
    "h": 273
  },
  "luminance": 0.12027
}

Semantic roles & 50–950 ramp

primary
#4958BC
secondary
#CAC397
accent
#C552D6
background
#F8F8FC
surface
#F0EFF9
border
#CBCAD2
text
#0C0B14
muted
#7D7C82

Preview Lab

Preview with #4958BC

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

Preview Lab → · Contrast checker → · Palette generator →

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