#4C58D2#4C58D2

#4C58D2 is a mid, vivid blue. Relative luminance 0.132; OKLCH L 52.2% C 0.186 H 273.8°. Best body text is #FFFFFF at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#4C58D2
RGBrgb(76, 88, 210)
HSLhsl(235, 60%, 56%)
HSVhsv(235, 64%, 82%)
CMYKcmyk(63.8%, 58.1%, 0%, 17.6%)
CIE-LABlab(43.01, 33.29, -64.51)
CIE-LCHlch(43.01, 72.59, 297.29°)
OKLaboklab(52.19% 0.0123 -0.1856)
OKLCHoklch(52.19% 0.186 273.8)
XYZxyz(18.0992, 13.1675, 62.5481)
Luminance0.1317 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C58D2 #D2C64C
analogous
#4C9BD2 #4C58D2 #834CD2
triadic
#4C58D2 #D24C58 #58D24C
tetradic
#4C58D2 #D24C9B #D2C64C #4CD283
square
#4C58D2 #D24C9B #D2C64C #4CD283
split-complementary
#4C58D2 #D2834C #9BD24C
monochromatic
#212A83 #2D39B4 #4C58D2 #7D86DE #AEB3EB

Accessibility & contrast

On white

5.78
#4C58D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#4C58D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C58D2
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C58D2#FFFFFF#000000##FFFFFF
##4C58D21.005.783.635.78
#FFFFFF5.781.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CD6
Deuteranopia (green-blind)
#0060D0
Tritanopia (blue-blind)
#00768C
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #4c58d2;
/* rgb */ color: rgb(76, 88, 210);
/* oklch */ color: oklch(52.2% 0.186 273.8);
Tailwind
colors: {
  custom: {
    50: '#8c87e1',
    500: '#4c58d2',
    950: '#000000',
  },
}
SCSS
$custom: #4c58d2;
$custom-light: #8c87e1;
$custom-dark: #000000;
JSON
{
  "hex": "#4c58d2",
  "rgb": {
    "r": 76,
    "g": 88,
    "b": 210
  },
  "hsl": {
    "h": 234.627,
    "s": 59.821,
    "l": 56.078
  },
  "oklch": {
    "l": 0.5219,
    "c": 0.18602,
    "h": 273.8
  },
  "luminance": 0.13169
}

Semantic roles & 50–950 ramp

primary
#4C58D2
secondary
#D9D4A1
accent
#D545E3
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0D0B15
muted
#7E7C83

Preview Lab

Preview with #4C58D2

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

Preview Lab → · Contrast checker → · Palette generator →

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