#4C5ABE#4C5ABE

#4C5ABE is a mid, vivid blue. Relative luminance 0.126; OKLCH L 51.1% C 0.156 H 273.6°. Best body text is #FFFFFF at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#4C5ABE
RGBrgb(76, 90, 190)
HSLhsl(233, 47%, 52%)
HSVhsv(233, 60%, 75%)
CMYKcmyk(60%, 52.6%, 0%, 25.5%)
CIE-LABlab(42.10, 25.23, -54.43)
CIE-LCHlch(42.10, 59.99, 294.87°)
OKLaboklab(51.06% 0.0097 -0.1559)
OKLCHoklch(51.06% 0.156 273.6)
XYZxyz(15.9279, 12.5653, 50.2912)
Luminance0.1257 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C5ABE #BEB04C
analogous
#4C93BE #4C5ABE #774CBE
triadic
#4C5ABE #BE4C5A #5ABE4C
tetradic
#4C5ABE #BE4C93 #BEB04C #4CBE77
square
#4C5ABE #BE4C93 #BEB04C #4CBE77
split-complementary
#4C5ABE #BE774C #93BE4C
monochromatic
#262E69 #374296 #4C5ABE #7983CE #A6ADDF

Accessibility & contrast

On white

5.98
#4C5ABE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#4C5ABE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C5ABE
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C5ABE#FFFFFF#000000##FFFFFF
##4C5ABE1.005.983.515.98
#FFFFFF5.981.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E68C2
Deuteranopia (green-blind)
#005FBC
Tritanopia (blue-blind)
#007183
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #4c5abe;
/* rgb */ color: rgb(76, 90, 190);
/* oklch */ color: oklch(51.1% 0.156 273.6);
Tailwind
colors: {
  custom: {
    50: '#8888d2',
    500: '#4c5abe',
    950: '#000000',
  },
}
SCSS
$custom: #4c5abe;
$custom-light: #8888d2;
$custom-dark: #000000;
JSON
{
  "hex": "#4c5abe",
  "rgb": {
    "r": 76,
    "g": 90,
    "b": 190
  },
  "hsl": {
    "h": 232.632,
    "s": 46.721,
    "l": 52.157
  },
  "oklch": {
    "l": 0.51057,
    "c": 0.15624,
    "h": 273.6
  },
  "luminance": 0.12567
}

Semantic roles & 50–950 ramp

primary
#4C5ABE
secondary
#CCC69A
accent
#C651D6
background
#F8F8FD
surface
#F0EFFA
border
#CBCAD3
text
#0C0B14
muted
#7D7C83

Preview Lab

Preview with #4C5ABE

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

Preview Lab → · Contrast checker → · Palette generator →

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