#4C58DF#4C58DF

#4C58DF is a mid, highly saturated blue. Relative luminance 0.138; OKLCH L 53.2% C 0.203 H 273.4°. Best body text is #FFFFFF at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#4C58DF
RGBrgb(76, 88, 223)
HSLhsl(235, 70%, 59%)
HSVhsv(235, 66%, 87%)
CMYKcmyk(65.9%, 60.5%, 0%, 12.5%)
CIE-LABlab(44.01, 37.68, -70.32)
CIE-LCHlch(44.01, 79.78, 298.19°)
OKLaboklab(53.23% 0.0121 -0.2027)
OKLCHoklch(53.23% 0.203 273.4)
XYZxyz(19.7851, 13.8419, 71.4268)
Luminance0.1384 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C58DF #DFD34C
analogous
#4CA1DF #4C58DF #894CDF
triadic
#4C58DF #DF4C58 #58DF4C
tetradic
#4C58DF #DF4CA1 #DFD34C #4CDF89
square
#4C58DF #DF4CA1 #DFD34C #4CDF89
split-complementary
#4C58DF #DF894C #A1DF4C
monochromatic
#1B2596 #2432CA #4C58DF #8088E8 #B4B9F2

Accessibility & contrast

On white

5.57
#4C58DF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#4C58DF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C58DF
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C58DF#FFFFFF#000000##FFFFFF
##4C58DF1.005.573.775.57
#FFFFFF5.571.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FE3
Deuteranopia (green-blind)
#0062DC
Tritanopia (blue-blind)
#007A93
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #4c58df;
/* rgb */ color: rgb(76, 88, 223);
/* oklch */ color: oklch(53.2% 0.203 273.4);
Tailwind
colors: {
  custom: {
    50: '#8e87ea',
    500: '#4c58df',
    950: '#000000',
  },
}
SCSS
$custom: #4c58df;
$custom-light: #8e87ea;
$custom-dark: #000000;
JSON
{
  "hex": "#4c58df",
  "rgb": {
    "r": 76,
    "g": 88,
    "b": 223
  },
  "hsl": {
    "h": 235.102,
    "s": 69.668,
    "l": 58.627
  },
  "oklch": {
    "l": 0.53233,
    "c": 0.20306,
    "h": 273.4
  },
  "luminance": 0.13844
}

Semantic roles & 50–950 ramp

primary
#4C58DF
secondary
#E0DCA6
accent
#DE3BEC
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0B16
muted
#7E7C84

Preview Lab

Preview with #4C58DF

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

Preview Lab → · Contrast checker → · Palette generator →

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