#4C5ABA#4C5ABA

#4C5ABA is a mid, vivid blue. Relative luminance 0.124; OKLCH L 50.8% C 0.151 H 273.6°. Best body text is #FFFFFF at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#4C5ABA
RGBrgb(76, 90, 186)
HSLhsl(232, 44%, 51%)
HSVhsv(232, 59%, 73%)
CMYKcmyk(59.1%, 51.6%, 0%, 27.1%)
CIE-LABlab(41.83, 23.87, -52.52)
CIE-LCHlch(41.83, 57.69, 294.44°)
OKLaboklab(50.77% 0.0094 -0.1503)
OKLCHoklch(50.77% 0.151 273.6)
XYZxyz(15.4967, 12.3928, 48.0203)
Luminance0.1239 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C5ABA #BAAC4C
analogous
#4C91BA #4C5ABA #754CBA
triadic
#4C5ABA #BA4C5A #5ABA4C
tetradic
#4C5ABA #BA4C91 #BAAC4C #4CBA75
square
#4C5ABA #BA4C91 #BAAC4C #4CBA75
split-complementary
#4C5ABA #BA754C #91BA4C
monochromatic
#272F65 #384391 #4C5ABA #7883CB #A4ABDC

Accessibility & contrast

On white

6.04
#4C5ABA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#4C5ABA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C5ABA
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C5ABA#FFFFFF#000000##FFFFFF
##4C5ABA1.006.043.486.04
#FFFFFF6.041.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2468BD
Deuteranopia (green-blind)
#095EB8
Tritanopia (blue-blind)
#007081
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #4c5aba;
/* rgb */ color: rgb(76, 90, 186);
/* oklch */ color: oklch(50.8% 0.151 273.6);
Tailwind
colors: {
  custom: {
    50: '#8888cf',
    500: '#4c5aba',
    950: '#000000',
  },
}
SCSS
$custom: #4c5aba;
$custom-light: #8888cf;
$custom-dark: #000000;
JSON
{
  "hex": "#4c5aba",
  "rgb": {
    "r": 76,
    "g": 90,
    "b": 186
  },
  "hsl": {
    "h": 232.364,
    "s": 44.355,
    "l": 51.373
  },
  "oklch": {
    "l": 0.50771,
    "c": 0.15063,
    "h": 273.6
  },
  "luminance": 0.12394
}

Semantic roles & 50–950 ramp

primary
#4C5ABA
secondary
#C9C399
accent
#C454D4
background
#F8F8FC
surface
#F0EFF9
border
#CBCAD2
text
#0C0B14
muted
#7D7C82

Preview Lab

Preview with #4C5ABA

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

Preview Lab → · Contrast checker → · Palette generator →

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