#4C5FCA#4C5FCA

#4C5FCA is a mid, vivid blue. Relative luminance 0.140; OKLCH L 52.9% C 0.166 H 271.9°. Best body text is #FFFFFF at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#4C5FCA
RGBrgb(76, 95, 202)
HSLhsl(231, 54%, 55%)
HSVhsv(231, 62%, 79%)
CMYKcmyk(62.4%, 53%, 0%, 20.8%)
CIE-LABlab(44.21, 26.16, -57.97)
CIE-LCHlch(44.21, 63.60, 294.29°)
OKLaboklab(52.9% 0.0056 -0.1663)
OKLCHoklch(52.9% 0.166 271.9)
XYZxyz(17.7298, 13.9837, 57.6305)
Luminance0.1399 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C5FCA #CAB74C
analogous
#4C9ECA #4C5FCA #784CCA
triadic
#4C5FCA #CA4C5F #5FCA4C
tetradic
#4C5FCA #CA4C9E #CAB74C #4CCA78
square
#4C5FCA #CA4C9E #CAB74C #4CCA78
split-complementary
#4C5FCA #CA784C #9ECA4C
monochromatic
#243078 #3243A7 #4C5FCA #7B89D8 #AAB3E6

Accessibility & contrast

On white

5.53
#4C5FCA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.80
#4C5FCA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C5FCA
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C5FCA#FFFFFF#000000##FFFFFF
##4C5FCA1.005.533.805.53
#FFFFFF5.531.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A6ECE
Deuteranopia (green-blind)
#0063C8
Tritanopia (blue-blind)
#00788B
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #4c5fca;
/* rgb */ color: rgb(76, 95, 202);
/* oklch */ color: oklch(52.9% 0.166 271.9);
Tailwind
colors: {
  custom: {
    50: '#8a8cdb',
    500: '#4c5fca',
    950: '#000000',
  },
}
SCSS
$custom: #4c5fca;
$custom-light: #8a8cdb;
$custom-dark: #000000;
JSON
{
  "hex": "#4c5fca",
  "rgb": {
    "r": 76,
    "g": 95,
    "b": 202
  },
  "hsl": {
    "h": 230.952,
    "s": 54.31,
    "l": 54.51
  },
  "oklch": {
    "l": 0.52903,
    "c": 0.1664,
    "h": 271.9
  },
  "luminance": 0.13985
}

Semantic roles & 50–950 ramp

primary
#4C5FCA
secondary
#D4CC9E
accent
#C74ADE
background
#F9F8FD
surface
#F1F0FB
border
#CBCBD4
text
#0D0C15
muted
#7E7D83

Preview Lab

Preview with #4C5FCA

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

Preview Lab → · Contrast checker → · Palette generator →

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