#4C58EB#4C58EB

#4C58EB is a mid, highly saturated blue. Relative luminance 0.145; OKLCH L 54.2% C 0.218 H 273.0°. Best body text is #FFFFFF at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#4C58EB
RGBrgb(76, 88, 235)
HSLhsl(235, 80%, 61%)
HSVhsv(235, 68%, 92%)
CMYKcmyk(67.7%, 62.6%, 0%, 7.8%)
CIE-LABlab(44.96, 41.71, -75.56)
CIE-LCHlch(44.96, 86.31, 298.90°)
OKLaboklab(54.23% 0.0116 -0.2181)
OKLCHoklch(54.23% 0.218 273)
XYZxyz(21.4606, 14.5121, 80.2513)
Luminance0.1451 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C58EB #EBDF4C
analogous
#4CA7EB #4C58EB #8F4CEB
triadic
#4C58EB #EB4C58 #58EB4C
tetradic
#4C58EB #EB4CA7 #EBDF4C #4CEB8F
square
#4C58EB #EB4CA7 #EBDF4C #4CEB8F
split-complementary
#4C58EB #EB8F4C #A7EB4C
monochromatic
#131EAA #1928E1 #4C58EB #838BF1 #BABFF7

Accessibility & contrast

On white

5.38
#4C58EB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#4C58EB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C58EB
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C58EB#FFFFFF#000000##FFFFFF
##4C58EB1.005.383.905.38
#FFFFFF5.381.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072F0
Deuteranopia (green-blind)
#0063E8
Tritanopia (blue-blind)
#007E99
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #4c58eb;
/* rgb */ color: rgb(76, 88, 235);
/* oklch */ color: oklch(54.2% 0.218 273.0);
Tailwind
colors: {
  custom: {
    50: '#9187f3',
    500: '#4c58eb',
    950: '#000000',
  },
}
SCSS
$custom: #4c58eb;
$custom-light: #9187f3;
$custom-dark: #000000;
JSON
{
  "hex": "#4c58eb",
  "rgb": {
    "r": 76,
    "g": 88,
    "b": 235
  },
  "hsl": {
    "h": 235.472,
    "s": 79.899,
    "l": 60.98
  },
  "oklch": {
    "l": 0.54231,
    "c": 0.21838,
    "h": 273
  },
  "luminance": 0.14514
}

Semantic roles & 50–950 ramp

primary
#4C58EB
secondary
#E7E3AB
accent
#CC09DC
background
#F9F8FF
surface
#F2EFFE
border
#CCCAD6
text
#0E0B17
muted
#7E7C85

Preview Lab

Preview with #4C58EB

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

Preview Lab → · Contrast checker → · Palette generator →

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