#4C58CF#4C58CF

#4C58CF is a mid, vivid blue. Relative luminance 0.130; OKLCH L 52.0% C 0.182 H 273.9°. Best body text is #FFFFFF at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#4C58CF
RGBrgb(76, 88, 207)
HSLhsl(235, 58%, 55%)
HSVhsv(235, 63%, 81%)
CMYKcmyk(63.3%, 57.5%, 0%, 18.8%)
CIE-LABlab(42.79, 32.27, -63.15)
CIE-LCHlch(42.79, 70.91, 297.07°)
OKLaboklab(51.96% 0.0122 -0.1816)
OKLCHoklch(51.96% 0.182 273.9)
XYZxyz(17.7290, 13.0194, 60.5981)
Luminance0.1302 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C58CF #CFC34C
analogous
#4C99CF #4C58CF #814CCF
triadic
#4C58CF #CF4C58 #58CF4C
tetradic
#4C58CF #CF4C99 #CFC34C #4CCF81
square
#4C58CF #CF4C99 #CFC34C #4CCF81
split-complementary
#4C58CF #CF814C #99CF4C
monochromatic
#222A7F #2F3BAF #4C58CF #7C85DC #ADB2E9

Accessibility & contrast

On white

5.83
#4C58CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#4C58CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C58CF
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C58CF#FFFFFF#000000##FFFFFF
##4C58CF1.005.833.605.83
#FFFFFF5.831.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BD3
Deuteranopia (green-blind)
#005FCD
Tritanopia (blue-blind)
#00758B
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #4c58cf;
/* rgb */ color: rgb(76, 88, 207);
/* oklch */ color: oklch(52.0% 0.182 273.9);
Tailwind
colors: {
  custom: {
    50: '#8b87de',
    500: '#4c58cf',
    950: '#000000',
  },
}
SCSS
$custom: #4c58cf;
$custom-light: #8b87de;
$custom-dark: #000000;
JSON
{
  "hex": "#4c58cf",
  "rgb": {
    "r": 76,
    "g": 88,
    "b": 207
  },
  "hsl": {
    "h": 234.504,
    "s": 57.709,
    "l": 55.49
  },
  "oklch": {
    "l": 0.51955,
    "c": 0.18202,
    "h": 273.9
  },
  "luminance": 0.13021
}

Semantic roles & 50–950 ramp

primary
#4C58CF
secondary
#D7D2A0
accent
#D347E1
background
#F9F8FD
surface
#F1EFFB
border
#CBCAD4
text
#0D0B15
muted
#7E7C83

Preview Lab

Preview with #4C58CF

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

Preview Lab → · Contrast checker → · Palette generator →

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