#4C5FAE#4C5FAE

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

Color values

HEX#4C5FAE
RGBrgb(76, 95, 174)
HSLhsl(228, 39%, 49%)
HSVhsv(228, 56%, 68%)
CMYKcmyk(56.3%, 45.4%, 0%, 31.8%)
CIE-LABlab(42.42, 16.62, -44.54)
CIE-LCHlch(42.42, 47.54, 290.47°)
OKLaboklab(50.98% 0.0025 -0.1268)
OKLCHoklch(50.98% 0.127 271.1)
XYZxyz(14.7102, 12.7758, 41.7270)
Luminance0.1278 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C5FAE #AE9B4C
analogous
#4C90AE #4C5FAE #6A4CAE
triadic
#4C5FAE #AE4C5F #5FAE4C
tetradic
#4C5FAE #AE4C90 #AE9B4C #4CAE6A
square
#4C5FAE #AE4C90 #AE9B4C #4CAE6A
split-complementary
#4C5FAE #AE6A4C #90AE4C
monochromatic
#273059 #394883 #4C5FAE #7584C3 #9FAAD5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4C5FAE#FFFFFF#000000##FFFFFF
##4C5FAE1.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)
#3C69B1
Deuteranopia (green-blind)
#2F60AC
Tritanopia (blue-blind)
#13707E
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #4c5fae;
/* rgb */ color: rgb(76, 95, 174);
/* oklch */ color: oklch(51.0% 0.127 271.1);
Tailwind
colors: {
  custom: {
    50: '#868cc6',
    500: '#4c5fae',
    950: '#000000',
  },
}
SCSS
$custom: #4c5fae;
$custom-light: #868cc6;
$custom-dark: #000000;
JSON
{
  "hex": "#4c5fae",
  "rgb": {
    "r": 76,
    "g": 95,
    "b": 174
  },
  "hsl": {
    "h": 228.367,
    "s": 39.2,
    "l": 49.02
  },
  "oklch": {
    "l": 0.50976,
    "c": 0.12684,
    "h": 271.1
  },
  "luminance": 0.12777
}

Semantic roles & 50–950 ramp

primary
#4C5FAE
secondary
#C2B994
accent
#B859CF
background
#F8F8FC
surface
#F0F0F8
border
#CBCBD1
text
#0C0C13
muted
#7D7D82

Preview Lab

Preview with #4C5FAE

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

Preview Lab → · Contrast checker → · Palette generator →

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