#4C58E7#4C58E7

#4C58E7 is a mid, highly saturated blue. Relative luminance 0.143; OKLCH L 53.9% C 0.213 H 273.2°. Best body text is #FFFFFF at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#4C58E7
RGBrgb(76, 88, 231)
HSLhsl(235, 76%, 60%)
HSVhsv(235, 67%, 91%)
CMYKcmyk(67.1%, 61.9%, 0%, 9.4%)
CIE-LABlab(44.64, 40.37, -73.83)
CIE-LCHlch(44.64, 84.14, 298.67°)
OKLaboklab(53.9% 0.0118 -0.213)
OKLCHoklch(53.9% 0.213 273.2)
XYZxyz(20.8892, 14.2835, 77.2420)
Luminance0.1429 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C58E7 #E7DB4C
analogous
#4CA5E7 #4C58E7 #8E4CE7
triadic
#4C58E7 #E74C58 #58E74C
tetradic
#4C58E7 #E74CA5 #E7DB4C #4CE78E
square
#4C58E7 #E74CA5 #E7DB4C #4CE78E
split-complementary
#4C58E7 #E78E4C #A5E74C
monochromatic
#1621A3 #1D2CD9 #4C58E7 #828AEE #B8BDF5

Accessibility & contrast

On white

5.44
#4C58E7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#4C58E7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C58E7
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C58E7#FFFFFF#000000##FFFFFF
##4C58E71.005.443.865.44
#FFFFFF5.441.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071EC
Deuteranopia (green-blind)
#0063E4
Tritanopia (blue-blind)
#007C97
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #4c58e7;
/* rgb */ color: rgb(76, 88, 231);
/* oklch */ color: oklch(53.9% 0.213 273.2);
Tailwind
colors: {
  custom: {
    50: '#9087f0',
    500: '#4c58e7',
    950: '#000000',
  },
}
SCSS
$custom: #4c58e7;
$custom-light: #9087f0;
$custom-dark: #000000;
JSON
{
  "hex": "#4c58e7",
  "rgb": {
    "r": 76,
    "g": 88,
    "b": 231
  },
  "hsl": {
    "h": 235.355,
    "s": 76.355,
    "l": 60.196
  },
  "oklch": {
    "l": 0.53895,
    "c": 0.2133,
    "h": 273.2
  },
  "luminance": 0.14285
}

Semantic roles & 50–950 ramp

primary
#4C58E7
secondary
#E5E1AA
accent
#C90DD9
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0B17
muted
#7E7C85

Preview Lab

Preview with #4C58E7

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

Preview Lab → · Contrast checker → · Palette generator →

#4C58E7 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva