#4C58CA#4C58CA

#4C58CA is a mid, vivid blue. Relative luminance 0.128; OKLCH L 51.6% C 0.175 H 274.0°. Best body text is #FFFFFF at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#4C58CA
RGBrgb(76, 88, 202)
HSLhsl(234, 54%, 55%)
HSVhsv(234, 62%, 79%)
CMYKcmyk(62.4%, 56.4%, 0%, 20.8%)
CIE-LABlab(42.43, 30.57, -60.85)
CIE-LCHlch(42.43, 68.10, 296.67°)
OKLaboklab(51.57% 0.0122 -0.1749)
OKLCHoklch(51.57% 0.175 274)
XYZxyz(17.1274, 12.7788, 57.4296)
Luminance0.1278 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C58CA #CABE4C
analogous
#4C97CA #4C58CA #7F4CCA
triadic
#4C58CA #CA4C58 #58CA4C
tetradic
#4C58CA #CA4C97 #CABE4C #4CCA7F
square
#4C58CA #CA4C97 #CABE4C #4CCA7F
split-complementary
#4C58CA #CA7F4C #97CA4C
monochromatic
#242C78 #323DA7 #4C58CA #7B84D8 #AAB0E6

Accessibility & contrast

On white

5.91
#4C58CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#4C58CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C58CA
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C58CA#FFFFFF#000000##FFFFFF
##4C58CA1.005.913.565.91
#FFFFFF5.911.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ACE
Deuteranopia (green-blind)
#005FC8
Tritanopia (blue-blind)
#007388
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #4c58ca;
/* rgb */ color: rgb(76, 88, 202);
/* oklch */ color: oklch(51.6% 0.175 274.0);
Tailwind
colors: {
  custom: {
    50: '#8b87db',
    500: '#4c58ca',
    950: '#000000',
  },
}
SCSS
$custom: #4c58ca;
$custom-light: #8b87db;
$custom-dark: #000000;
JSON
{
  "hex": "#4c58ca",
  "rgb": {
    "r": 76,
    "g": 88,
    "b": 202
  },
  "hsl": {
    "h": 234.286,
    "s": 54.31,
    "l": 54.51
  },
  "oklch": {
    "l": 0.51569,
    "c": 0.17529,
    "h": 274
  },
  "luminance": 0.1278
}

Semantic roles & 50–950 ramp

primary
#4C58CA
secondary
#D4CE9E
accent
#D04ADE
background
#F9F8FD
surface
#F1EFFB
border
#CBCAD4
text
#0D0B15
muted
#7E7C83

Preview Lab

Preview with #4C58CA

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

Preview Lab → · Contrast checker → · Palette generator →

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