#4C58E6#4C58E6

#4C58E6 is a mid, highly saturated blue. Relative luminance 0.142; OKLCH L 53.8% C 0.212 H 273.2°. Best body text is #FFFFFF at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#4C58E6
RGBrgb(76, 88, 230)
HSLhsl(235, 75%, 60%)
HSVhsv(235, 67%, 90%)
CMYKcmyk(67%, 61.7%, 0%, 9.8%)
CIE-LABlab(44.56, 40.04, -73.39)
CIE-LCHlch(44.56, 83.60, 298.61°)
OKLaboklab(53.81% 0.0118 -0.2117)
OKLCHoklch(53.81% 0.212 273.2)
XYZxyz(20.7484, 14.2272, 76.5003)
Luminance0.1423 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C58E6 #E6DA4C
analogous
#4CA5E6 #4C58E6 #8D4CE6
triadic
#4C58E6 #E64C58 #58E64C
tetradic
#4C58E6 #E64CA5 #E6DA4C #4CE68D
square
#4C58E6 #E64CA5 #E6DA4C #4CE68D
split-complementary
#4C58E6 #E68D4C #A5E64C
monochromatic
#1721A1 #1E2CD7 #4C58E6 #828AED #B7BCF5

Accessibility & contrast

On white

5.46
#4C58E6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#4C58E6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C58E6
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C58E6#FFFFFF#000000##FFFFFF
##4C58E61.005.463.855.46
#FFFFFF5.461.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070EB
Deuteranopia (green-blind)
#0062E3
Tritanopia (blue-blind)
#007C97
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #4c58e6;
/* rgb */ color: rgb(76, 88, 230);
/* oklch */ color: oklch(53.8% 0.212 273.2);
Tailwind
colors: {
  custom: {
    50: '#9087ef',
    500: '#4c58e6',
    950: '#000000',
  },
}
SCSS
$custom: #4c58e6;
$custom-light: #9087ef;
$custom-dark: #000000;
JSON
{
  "hex": "#4c58e6",
  "rgb": {
    "r": 76,
    "g": 88,
    "b": 230
  },
  "hsl": {
    "h": 235.325,
    "s": 75.49,
    "l": 60
  },
  "oklch": {
    "l": 0.53811,
    "c": 0.21204,
    "h": 273.2
  },
  "luminance": 0.14229
}

Semantic roles & 50–950 ramp

primary
#4C58E6
secondary
#E5E0A9
accent
#E336F2
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0B17
muted
#7E7C85

Preview Lab

Preview with #4C58E6

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

Preview Lab → · Contrast checker → · Palette generator →

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