#4C58AE#4C58AE

#4C58AE is a mid, vivid blue. Relative luminance 0.116; OKLCH L 49.5% C 0.136 H 274.4°. Best body text is #FFFFFF at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#4C58AE
RGBrgb(76, 88, 174)
HSLhsl(233, 39%, 49%)
HSVhsv(233, 56%, 68%)
CMYKcmyk(56.3%, 49.4%, 0%, 31.8%)
CIE-LABlab(40.53, 21.09, -47.58)
CIE-LCHlch(40.53, 52.04, 293.90°)
OKLaboklab(49.53% 0.0104 -0.1358)
OKLCHoklch(49.53% 0.136 274.4)
XYZxyz(14.1077, 11.5709, 41.5262)
Luminance0.1157 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C58AE #AEA24C
analogous
#4C89AE #4C58AE #714CAE
triadic
#4C58AE #AE4C58 #58AE4C
tetradic
#4C58AE #AE4C89 #AEA24C #4CAE71
square
#4C58AE #AE4C89 #AEA24C #4CAE71
split-complementary
#4C58AE #AE714C #89AE4C
monochromatic
#272D59 #394283 #4C58AE #757EC3 #9FA6D5

Accessibility & contrast

On white

6.34
#4C58AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#4C58AE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C58AE
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C58AE#FFFFFF#000000##FFFFFF
##4C58AE1.006.343.316.34
#FFFFFF6.341.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E64B1
Deuteranopia (green-blind)
#1F5CAC
Tritanopia (blue-blind)
#156B7B
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #4c58ae;
/* rgb */ color: rgb(76, 88, 174);
/* oklch */ color: oklch(49.5% 0.136 274.4);
Tailwind
colors: {
  custom: {
    50: '#8686c7',
    500: '#4c58ae',
    950: '#000000',
  },
}
SCSS
$custom: #4c58ae;
$custom-light: #8686c7;
$custom-dark: #000000;
JSON
{
  "hex": "#4c58ae",
  "rgb": {
    "r": 76,
    "g": 88,
    "b": 174
  },
  "hsl": {
    "h": 232.653,
    "s": 39.2,
    "l": 49.02
  },
  "oklch": {
    "l": 0.49534,
    "c": 0.13621,
    "h": 274.4
  },
  "luminance": 0.11572
}

Semantic roles & 50–950 ramp

primary
#4C58AE
secondary
#C2BC94
accent
#C159CF
background
#F8F8FC
surface
#F0EFF8
border
#CBCAD1
text
#0C0B13
muted
#7D7C82

Preview Lab

Preview with #4C58AE

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

Preview Lab → · Contrast checker → · Palette generator →

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