#4C5FC7#4C5FC7

#4C5FC7 is a mid, vivid blue. Relative luminance 0.138; OKLCH L 52.7% C 0.162 H 271.9°. Best body text is #FFFFFF at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#4C5FC7
RGBrgb(76, 95, 199)
HSLhsl(231, 52%, 54%)
HSVhsv(231, 62%, 78%)
CMYKcmyk(61.8%, 52.3%, 0%, 22%)
CIE-LABlab(44.01, 25.14, -56.57)
CIE-LCHlch(44.01, 61.90, 293.96°)
OKLaboklab(52.69% 0.0054 -0.1622)
OKLCHoklch(52.69% 0.162 271.9)
XYZxyz(17.3781, 13.8430, 55.7779)
Luminance0.1384 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C5FC7 #C7B44C
analogous
#4C9DC7 #4C5FC7 #774CC7
triadic
#4C5FC7 #C74C5F #5FC74C
tetradic
#4C5FC7 #C74C9D #C7B44C #4CC777
square
#4C5FC7 #C74C9D #C7B44C #4CC777
split-complementary
#4C5FC7 #C7774C #9DC74C
monochromatic
#243174 #3344A3 #4C5FC7 #7B89D6 #A9B2E4

Accessibility & contrast

On white

5.57
#4C5FC7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#4C5FC7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C5FC7
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C5FC7#FFFFFF#000000##FFFFFF
##4C5FC71.005.573.775.57
#FFFFFF5.571.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#206ECB
Deuteranopia (green-blind)
#0063C5
Tritanopia (blue-blind)
#00778A
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #4c5fc7;
/* rgb */ color: rgb(76, 95, 199);
/* oklch */ color: oklch(52.7% 0.162 271.9);
Tailwind
colors: {
  custom: {
    50: '#8a8cd9',
    500: '#4c5fc7',
    950: '#000000',
  },
}
SCSS
$custom: #4c5fc7;
$custom-light: #8a8cd9;
$custom-dark: #000000;
JSON
{
  "hex": "#4c5fc7",
  "rgb": {
    "r": 76,
    "g": 95,
    "b": 199
  },
  "hsl": {
    "h": 230.732,
    "s": 52.34,
    "l": 53.922
  },
  "oklch": {
    "l": 0.52686,
    "c": 0.16227,
    "h": 271.9
  },
  "luminance": 0.13844
}

Semantic roles & 50–950 ramp

primary
#4C5FC7
secondary
#D2CA9D
accent
#C64CDC
background
#F9F8FD
surface
#F1F0FA
border
#CBCBD3
text
#0D0C15
muted
#7E7D83

Preview Lab

Preview with #4C5FC7

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

Preview Lab → · Contrast checker → · Palette generator →

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