#4C58CC#4C58CC

#4C58CC is a mid, vivid blue. Relative luminance 0.129; OKLCH L 51.7% C 0.178 H 273.9°. Best body text is #FFFFFF at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#4C58CC
RGBrgb(76, 88, 204)
HSLhsl(234, 56%, 55%)
HSVhsv(234, 63%, 80%)
CMYKcmyk(62.7%, 56.9%, 0%, 20%)
CIE-LABlab(42.57, 31.25, -61.77)
CIE-LCHlch(42.57, 69.23, 296.83°)
OKLaboklab(51.72% 0.0122 -0.1776)
OKLCHoklch(51.72% 0.178 273.9)
XYZxyz(17.3657, 12.8741, 58.6849)
Luminance0.1288 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C58CC #CCC04C
analogous
#4C98CC #4C58CC #804CCC
triadic
#4C58CC #CC4C58 #58CC4C
tetradic
#4C58CC #CC4C98 #CCC04C #4CCC80
square
#4C58CC #CC4C98 #CCC04C #4CCC80
split-complementary
#4C58CC #CC804C #98CC4C
monochromatic
#232B7B #313CAA #4C58CC #7C84DA #ABB1E7

Accessibility & contrast

On white

5.87
#4C58CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#4C58CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C58CC
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C58CC#FFFFFF#000000##FFFFFF
##4C58CC1.005.873.585.87
#FFFFFF5.871.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AD0
Deuteranopia (green-blind)
#005FCA
Tritanopia (blue-blind)
#007489
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #4c58cc;
/* rgb */ color: rgb(76, 88, 204);
/* oklch */ color: oklch(51.7% 0.178 273.9);
Tailwind
colors: {
  custom: {
    50: '#8b87dc',
    500: '#4c58cc',
    950: '#000000',
  },
}
SCSS
$custom: #4c58cc;
$custom-light: #8b87dc;
$custom-dark: #000000;
JSON
{
  "hex": "#4c58cc",
  "rgb": {
    "r": 76,
    "g": 88,
    "b": 204
  },
  "hsl": {
    "h": 234.375,
    "s": 55.652,
    "l": 54.902
  },
  "oklch": {
    "l": 0.51722,
    "c": 0.178,
    "h": 273.9
  },
  "luminance": 0.12876
}

Semantic roles & 50–950 ramp

primary
#4C58CC
secondary
#D5D09F
accent
#D149DF
background
#F9F8FD
surface
#F1EFFB
border
#CBCAD4
text
#0D0B15
muted
#7E7C83

Preview Lab

Preview with #4C58CC

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

Preview Lab → · Contrast checker → · Palette generator →

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