#4C5BCA#4C5BCA

#4C5BCA is a mid, vivid blue. Relative luminance 0.133; OKLCH L 52.1% C 0.172 H 273.1°. Best body text is #FFFFFF at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#4C5BCA
RGBrgb(76, 91, 202)
HSLhsl(233, 54%, 55%)
HSVhsv(233, 62%, 79%)
CMYKcmyk(62.4%, 55%, 0%, 20.8%)
CIE-LABlab(43.18, 28.68, -59.63)
CIE-LCHlch(43.18, 66.17, 295.69°)
OKLaboklab(52.13% 0.0094 -0.1712)
OKLCHoklch(52.13% 0.172 273.1)
XYZxyz(17.3787, 13.2815, 57.5134)
Luminance0.1328 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C5BCA #CABB4C
analogous
#4C9ACA #4C5BCA #7C4CCA
triadic
#4C5BCA #CA4C5B #5BCA4C
tetradic
#4C5BCA #CA4C9A #CABB4C #4CCA7C
square
#4C5BCA #CA4C9A #CABB4C #4CCA7C
split-complementary
#4C5BCA #CA7C4C #9ACA4C
monochromatic
#242E78 #3240A7 #4C5BCA #7B86D8 #AAB2E6

Accessibility & contrast

On white

5.74
#4C5BCA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#4C5BCA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C5BCA
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C5BCA#FFFFFF#000000##FFFFFF
##4C5BCA1.005.743.665.74
#FFFFFF5.741.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CCE
Deuteranopia (green-blind)
#0061C8
Tritanopia (blue-blind)
#00758A
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #4c5bca;
/* rgb */ color: rgb(76, 91, 202);
/* oklch */ color: oklch(52.1% 0.172 273.1);
Tailwind
colors: {
  custom: {
    50: '#8a89db',
    500: '#4c5bca',
    950: '#000000',
  },
}
SCSS
$custom: #4c5bca;
$custom-light: #8a89db;
$custom-dark: #000000;
JSON
{
  "hex": "#4c5bca",
  "rgb": {
    "r": 76,
    "g": 91,
    "b": 202
  },
  "hsl": {
    "h": 232.857,
    "s": 54.31,
    "l": 54.51
  },
  "oklch": {
    "l": 0.52134,
    "c": 0.1715,
    "h": 273.1
  },
  "luminance": 0.13283
}

Semantic roles & 50–950 ramp

primary
#4C5BCA
secondary
#D4CD9E
accent
#CC4ADE
background
#F9F8FD
surface
#F1F0FB
border
#CBCBD4
text
#0D0B15
muted
#7E7C83

Preview Lab

Preview with #4C5BCA

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

Preview Lab → · Contrast checker → · Palette generator →

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