#4C58D8#4C58D8

#4C58D8 is a mid, vivid blue. Relative luminance 0.135; OKLCH L 52.7% C 0.194 H 273.6°. Best body text is #FFFFFF at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#4C58D8
RGBrgb(76, 88, 216)
HSLhsl(235, 64%, 57%)
HSVhsv(235, 65%, 85%)
CMYKcmyk(64.8%, 59.3%, 0%, 15.3%)
CIE-LABlab(43.47, 35.32, -67.21)
CIE-LCHlch(43.47, 75.92, 297.72°)
OKLaboklab(52.67% 0.0122 -0.1936)
OKLCHoklch(52.67% 0.194 273.6)
XYZxyz(18.8608, 13.4722, 66.5589)
Luminance0.1347 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C58D8 #D8CC4C
analogous
#4C9ED8 #4C58D8 #864CD8
triadic
#4C58D8 #D84C58 #58D84C
tetradic
#4C58D8 #D84C9E #D8CC4C #4CD886
square
#4C58D8 #D84C9E #D8CC4C #4CD886
split-complementary
#4C58D8 #D8864C #9ED84C
monochromatic
#1E288B #2936BE #4C58D8 #7E87E3 #B1B6EE

Accessibility & contrast

On white

5.68
#4C58D8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#4C58D8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C58D8
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C58D8#FFFFFF#000000##FFFFFF
##4C58D81.005.683.695.68
#FFFFFF5.681.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DDC
Deuteranopia (green-blind)
#0061D5
Tritanopia (blue-blind)
#00788F
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #4c58d8;
/* rgb */ color: rgb(76, 88, 216);
/* oklch */ color: oklch(52.7% 0.194 273.6);
Tailwind
colors: {
  custom: {
    50: '#8d87e5',
    500: '#4c58d8',
    950: '#000000',
  },
}
SCSS
$custom: #4c58d8;
$custom-light: #8d87e5;
$custom-dark: #000000;
JSON
{
  "hex": "#4c58d8",
  "rgb": {
    "r": 76,
    "g": 88,
    "b": 216
  },
  "hsl": {
    "h": 234.857,
    "s": 64.22,
    "l": 57.255
  },
  "oklch": {
    "l": 0.52666,
    "c": 0.19395,
    "h": 273.6
  },
  "luminance": 0.13474
}

Semantic roles & 50–950 ramp

primary
#4C58D8
secondary
#DCD7A4
accent
#D941E7
background
#F9F8FE
surface
#F2EFFC
border
#CCCAD5
text
#0E0B16
muted
#7E7C84

Preview Lab

Preview with #4C58D8

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

Preview Lab → · Contrast checker → · Palette generator →

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