#4C58D7#4C58D7

#4C58D7 is a mid, vivid blue. Relative luminance 0.134; OKLCH L 52.6% C 0.193 H 273.6°. Best body text is #FFFFFF at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#4C58D7
RGBrgb(76, 88, 215)
HSLhsl(235, 63%, 57%)
HSVhsv(235, 65%, 84%)
CMYKcmyk(64.7%, 59.1%, 0%, 15.7%)
CIE-LABlab(43.39, 34.98, -66.76)
CIE-LCHlch(43.39, 75.37, 297.65°)
OKLaboklab(52.59% 0.0122 -0.1922)
OKLCHoklch(52.59% 0.193 273.6)
XYZxyz(18.7319, 13.4206, 65.8801)
Luminance0.1342 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C58D7 #D7CB4C
analogous
#4C9ED7 #4C58D7 #864CD7
triadic
#4C58D7 #D74C58 #58D74C
tetradic
#4C58D7 #D74C9E #D7CB4C #4CD786
square
#4C58D7 #D74C9E #D7CB4C #4CD786
split-complementary
#4C58D7 #D7864C #9ED74C
monochromatic
#1F288A #2A37BC #4C58D7 #7E87E2 #B0B5ED

Accessibility & contrast

On white

5.70
#4C58D7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#4C58D7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C58D7
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C58D7#FFFFFF#000000##FFFFFF
##4C58D71.005.703.685.70
#FFFFFF5.701.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DDB
Deuteranopia (green-blind)
#0060D4
Tritanopia (blue-blind)
#00778F
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #4c58d7;
/* rgb */ color: rgb(76, 88, 215);
/* oklch */ color: oklch(52.6% 0.193 273.6);
Tailwind
colors: {
  custom: {
    50: '#8d87e4',
    500: '#4c58d7',
    950: '#000000',
  },
}
SCSS
$custom: #4c58d7;
$custom-light: #8d87e4;
$custom-dark: #000000;
JSON
{
  "hex": "#4c58d7",
  "rgb": {
    "r": 76,
    "g": 88,
    "b": 215
  },
  "hsl": {
    "h": 234.82,
    "s": 63.47,
    "l": 57.059
  },
  "oklch": {
    "l": 0.52586,
    "c": 0.19263,
    "h": 273.6
  },
  "luminance": 0.13422
}

Semantic roles & 50–950 ramp

primary
#4C58D7
secondary
#DCD7A3
accent
#D841E6
background
#F9F8FE
surface
#F2EFFC
border
#CCCAD5
text
#0D0B16
muted
#7E7C84

Preview Lab

Preview with #4C58D7

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

Preview Lab → · Contrast checker → · Palette generator →

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