#4C58CD#4C58CD

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

Color values

HEX#4C58CD
RGBrgb(76, 88, 205)
HSLhsl(234, 56%, 55%)
HSVhsv(234, 63%, 80%)
CMYKcmyk(62.9%, 57.1%, 0%, 19.6%)
CIE-LABlab(42.65, 31.59, -62.23)
CIE-LCHlch(42.65, 69.79, 296.91°)
OKLaboklab(51.8% 0.0122 -0.1789)
OKLCHoklch(51.8% 0.179 273.9)
XYZxyz(17.4860, 12.9223, 59.3185)
Luminance0.1292 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C58CD #CDC14C
analogous
#4C98CD #4C58CD #814CCD
triadic
#4C58CD #CD4C58 #58CD4C
tetradic
#4C58CD #CD4C98 #CDC14C #4CCD81
square
#4C58CD #CD4C98 #CDC14C #4CCD81
split-complementary
#4C58CD #CD814C #98CD4C
monochromatic
#232B7C #303CAC #4C58CD #7C85DA #ACB1E8

Accessibility & contrast

On white

5.86
#4C58CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #4C58CD
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C58CD#FFFFFF#000000##FFFFFF
##4C58CD1.005.863.585.86
#FFFFFF5.861.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BD1
Deuteranopia (green-blind)
#005FCB
Tritanopia (blue-blind)
#00748A
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #4c58cd;
/* rgb */ color: rgb(76, 88, 205);
/* oklch */ color: oklch(51.8% 0.179 273.9);
Tailwind
colors: {
  custom: {
    50: '#8b87dd',
    500: '#4c58cd',
    950: '#000000',
  },
}
SCSS
$custom: #4c58cd;
$custom-light: #8b87dd;
$custom-dark: #000000;
JSON
{
  "hex": "#4c58cd",
  "rgb": {
    "r": 76,
    "g": 88,
    "b": 205
  },
  "hsl": {
    "h": 234.419,
    "s": 56.332,
    "l": 55.098
  },
  "oklch": {
    "l": 0.518,
    "c": 0.17934,
    "h": 273.9
  },
  "luminance": 0.12924
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4C58CD

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

Preview Lab → · Contrast checker → · Palette generator →

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