#4C5FC4#4C5FC4

#4C5FC4 is a mid, vivid blue. Relative luminance 0.137; OKLCH L 52.5% C 0.158 H 271.9°. Best body text is #FFFFFF at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#4C5FC4
RGBrgb(76, 95, 196)
HSLhsl(231, 50%, 53%)
HSVhsv(231, 61%, 77%)
CMYKcmyk(61.2%, 51.5%, 0%, 23.1%)
CIE-LABlab(43.81, 24.11, -55.16)
CIE-LCHlch(43.81, 60.20, 293.61°)
OKLaboklab(52.47% 0.0052 -0.158)
OKLCHoklch(52.47% 0.158 271.9)
XYZxyz(17.0332, 13.7050, 53.9616)
Luminance0.1371 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C5FC4 #C4B14C
analogous
#4C9BC4 #4C5FC4 #754CC4
triadic
#4C5FC4 #C44C5F #5FC44C
tetradic
#4C5FC4 #C44C9B #C4B14C #4CC475
square
#4C5FC4 #C44C9B #C4B14C #4CC475
split-complementary
#4C5FC4 #C4754C #9BC44C
monochromatic
#253171 #34459F #4C5FC4 #7A88D3 #A8B1E2

Accessibility & contrast

On white

5.61
#4C5FC4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#4C5FC4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C5FC4
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C5FC4#FFFFFF#000000##FFFFFF
##4C5FC41.005.613.745.61
#FFFFFF5.611.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#256DC8
Deuteranopia (green-blind)
#0062C2
Tritanopia (blue-blind)
#007688
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #4c5fc4;
/* rgb */ color: rgb(76, 95, 196);
/* oklch */ color: oklch(52.5% 0.158 271.9);
Tailwind
colors: {
  custom: {
    50: '#898cd6',
    500: '#4c5fc4',
    950: '#000000',
  },
}
SCSS
$custom: #4c5fc4;
$custom-light: #898cd6;
$custom-dark: #000000;
JSON
{
  "hex": "#4c5fc4",
  "rgb": {
    "r": 76,
    "g": 95,
    "b": 196
  },
  "hsl": {
    "h": 230.5,
    "s": 50.42,
    "l": 53.333
  },
  "oklch": {
    "l": 0.52471,
    "c": 0.15811,
    "h": 271.9
  },
  "luminance": 0.13706
}

Semantic roles & 50–950 ramp

primary
#4C5FC4
secondary
#D0C89C
accent
#C44EDA
background
#F8F8FD
surface
#F0F0FA
border
#CBCBD3
text
#0D0C14
muted
#7D7D83

Preview Lab

Preview with #4C5FC4

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

Preview Lab → · Contrast checker → · Palette generator →

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