#4C5ABC#4C5ABC

#4C5ABC is a mid, vivid blue. Relative luminance 0.125; OKLCH L 50.9% C 0.153 H 273.6°. Best body text is #FFFFFF at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#4C5ABC
RGBrgb(76, 90, 188)
HSLhsl(233, 46%, 52%)
HSVhsv(233, 60%, 74%)
CMYKcmyk(59.6%, 52.1%, 0%, 26.3%)
CIE-LABlab(41.97, 24.55, -53.48)
CIE-LCHlch(41.97, 58.84, 294.66°)
OKLaboklab(50.91% 0.0095 -0.1531)
OKLCHoklch(50.91% 0.153 273.6)
XYZxyz(15.7108, 12.4784, 49.1479)
Luminance0.1248 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C5ABC #BCAE4C
analogous
#4C92BC #4C5ABC #764CBC
triadic
#4C5ABC #BC4C5A #5ABC4C
tetradic
#4C5ABC #BC4C92 #BCAE4C #4CBC76
square
#4C5ABC #BC4C92 #BCAE4C #4CBC76
split-complementary
#4C5ABC #BC764C #92BC4C
monochromatic
#272F67 #374394 #4C5ABC #7983CD #A5ACDD

Accessibility & contrast

On white

6.01
#4C5ABC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#4C5ABC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C5ABC
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C5ABC#FFFFFF#000000##FFFFFF
##4C5ABC1.006.013.506.01
#FFFFFF6.011.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2168BF
Deuteranopia (green-blind)
#005EBA
Tritanopia (blue-blind)
#007182
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #4c5abc;
/* rgb */ color: rgb(76, 90, 188);
/* oklch */ color: oklch(50.9% 0.153 273.6);
Tailwind
colors: {
  custom: {
    50: '#8888d1',
    500: '#4c5abc',
    950: '#000000',
  },
}
SCSS
$custom: #4c5abc;
$custom-light: #8888d1;
$custom-dark: #000000;
JSON
{
  "hex": "#4c5abc",
  "rgb": {
    "r": 76,
    "g": 90,
    "b": 188
  },
  "hsl": {
    "h": 232.5,
    "s": 45.528,
    "l": 51.765
  },
  "oklch": {
    "l": 0.50914,
    "c": 0.15344,
    "h": 273.6
  },
  "luminance": 0.1248
}

Semantic roles & 50–950 ramp

primary
#4C5ABC
secondary
#CAC499
accent
#C553D5
background
#F8F8FC
surface
#F0EFF9
border
#CBCAD2
text
#0C0B14
muted
#7D7C82

Preview Lab

Preview with #4C5ABC

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

Preview Lab → · Contrast checker → · Palette generator →

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