#4C5ACA#4C5ACA

#4C5ACA is a mid, vivid blue. Relative luminance 0.131; OKLCH L 51.9% C 0.173 H 273.4°. Best body text is #FFFFFF at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#4C5ACA
RGBrgb(76, 90, 202)
HSLhsl(233, 54%, 55%)
HSVhsv(233, 62%, 79%)
CMYKcmyk(62.4%, 55.4%, 0%, 20.8%)
CIE-LABlab(42.93, 29.31, -60.04)
CIE-LCHlch(42.93, 66.81, 296.02°)
OKLaboklab(51.94% 0.0103 -0.1724)
OKLCHoklch(51.94% 0.173 273.4)
XYZxyz(17.2938, 13.1117, 57.4851)
Luminance0.1311 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C5ACA #CABC4C
analogous
#4C99CA #4C5ACA #7D4CCA
triadic
#4C5ACA #CA4C5A #5ACA4C
tetradic
#4C5ACA #CA4C99 #CABC4C #4CCA7D
square
#4C5ACA #CA4C99 #CABC4C #4CCA7D
split-complementary
#4C5ACA #CA7D4C #99CA4C
monochromatic
#242D78 #323FA7 #4C5ACA #7B86D8 #AAB1E6

Accessibility & contrast

On white

5.80
#4C5ACA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#4C5ACA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C5ACA
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C5ACA#FFFFFF#000000##FFFFFF
##4C5ACA1.005.803.625.80
#FFFFFF5.801.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BCE
Deuteranopia (green-blind)
#0060C8
Tritanopia (blue-blind)
#007589
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #4c5aca;
/* rgb */ color: rgb(76, 90, 202);
/* oklch */ color: oklch(51.9% 0.173 273.4);
Tailwind
colors: {
  custom: {
    50: '#8a88db',
    500: '#4c5aca',
    950: '#000000',
  },
}
SCSS
$custom: #4c5aca;
$custom-light: #8a88db;
$custom-dark: #000000;
JSON
{
  "hex": "#4c5aca",
  "rgb": {
    "r": 76,
    "g": 90,
    "b": 202
  },
  "hsl": {
    "h": 233.333,
    "s": 54.31,
    "l": 54.51
  },
  "oklch": {
    "l": 0.51944,
    "c": 0.17276,
    "h": 273.4
  },
  "luminance": 0.13113
}

Semantic roles & 50–950 ramp

primary
#4C5ACA
secondary
#D4CE9E
accent
#CD4ADE
background
#F9F8FD
surface
#F1EFFB
border
#CBCAD4
text
#0D0B15
muted
#7E7C83

Preview Lab

Preview with #4C5ACA

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

Preview Lab → · Contrast checker → · Palette generator →

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