#4C58DA#4C58DA

#4C58DA is a mid, vivid blue. Relative luminance 0.136; OKLCH L 52.8% C 0.197 H 273.6°. Best body text is #FFFFFF at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#4C58DA
RGBrgb(76, 88, 218)
HSLhsl(235, 66%, 58%)
HSVhsv(235, 65%, 85%)
CMYKcmyk(65.1%, 59.6%, 0%, 14.5%)
CIE-LABlab(43.62, 35.99, -68.10)
CIE-LCHlch(43.62, 77.03, 297.86°)
OKLaboklab(52.83% 0.0122 -0.1962)
OKLCHoklch(52.83% 0.197 273.6)
XYZxyz(19.1209, 13.5762, 67.9289)
Luminance0.1358 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C58DA #DACE4C
analogous
#4C9FDA #4C58DA #874CDA
triadic
#4C58DA #DA4C58 #58DA4C
tetradic
#4C58DA #DA4C9F #DACE4C #4CDA87
square
#4C58DA #DA4C9F #DACE4C #4CDA87
split-complementary
#4C58DA #DA874C #9FDA4C
monochromatic
#1D278E #2835C1 #4C58DA #7F87E4 #B1B7EF

Accessibility & contrast

On white

5.65
#4C58DA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#4C58DA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C58DA
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C58DA#FFFFFF#000000##FFFFFF
##4C58DA1.005.653.725.65
#FFFFFF5.651.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EDE
Deuteranopia (green-blind)
#0061D7
Tritanopia (blue-blind)
#007890
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #4c58da;
/* rgb */ color: rgb(76, 88, 218);
/* oklch */ color: oklch(52.8% 0.197 273.6);
Tailwind
colors: {
  custom: {
    50: '#8d87e6',
    500: '#4c58da',
    950: '#000000',
  },
}
SCSS
$custom: #4c58da;
$custom-light: #8d87e6;
$custom-dark: #000000;
JSON
{
  "hex": "#4c58da",
  "rgb": {
    "r": 76,
    "g": 88,
    "b": 218
  },
  "hsl": {
    "h": 234.93,
    "s": 65.741,
    "l": 57.647
  },
  "oklch": {
    "l": 0.52827,
    "c": 0.19656,
    "h": 273.6
  },
  "luminance": 0.13578
}

Semantic roles & 50–950 ramp

primary
#4C58DA
secondary
#DDD9A4
accent
#DA3FE9
background
#F9F8FE
surface
#F2EFFC
border
#CCCAD5
text
#0E0B16
muted
#7E7C84

Preview Lab

Preview with #4C58DA

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

Preview Lab → · Contrast checker → · Palette generator →

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