#4C5FD2#4C5FD2

#4C5FD2 is a mid, vivid blue. Relative luminance 0.144; OKLCH L 53.5% C 0.177 H 272.0°. Best body text is #FFFFFF at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#4C5FD2
RGBrgb(76, 95, 210)
HSLhsl(231, 60%, 56%)
HSVhsv(231, 64%, 82%)
CMYKcmyk(63.8%, 54.8%, 0%, 17.6%)
CIE-LABlab(44.76, 28.91, -61.67)
CIE-LCHlch(44.76, 68.11, 295.11°)
OKLaboklab(53.49% 0.0061 -0.1772)
OKLCHoklch(53.49% 0.177 272)
XYZxyz(18.7017, 14.3724, 62.7489)
Luminance0.1437 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C5FD2 #D2BF4C
analogous
#4CA2D2 #4C5FD2 #7C4CD2
triadic
#4C5FD2 #D24C5F #5FD24C
tetradic
#4C5FD2 #D24CA2 #D2BF4C #4CD27C
square
#4C5FD2 #D24CA2 #D2BF4C #4CD27C
split-complementary
#4C5FD2 #D27C4C #A2D24C
monochromatic
#212F83 #2D40B4 #4C5FD2 #7D8BDE #AEB6EB

Accessibility & contrast

On white

5.42
#4C5FD2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#4C5FD2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C5FD2
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C5FD2#FFFFFF#000000##FFFFFF
##4C5FD21.005.423.875.42
#FFFFFF5.421.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070D6
Deuteranopia (green-blind)
#0064D0
Tritanopia (blue-blind)
#007A8F
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #4c5fd2;
/* rgb */ color: rgb(76, 95, 210);
/* oklch */ color: oklch(53.5% 0.177 272.0);
Tailwind
colors: {
  custom: {
    50: '#8c8ce1',
    500: '#4c5fd2',
    950: '#000000',
  },
}
SCSS
$custom: #4c5fd2;
$custom-light: #8c8ce1;
$custom-dark: #000000;
JSON
{
  "hex": "#4c5fd2",
  "rgb": {
    "r": 76,
    "g": 95,
    "b": 210
  },
  "hsl": {
    "h": 231.493,
    "s": 59.821,
    "l": 56.078
  },
  "oklch": {
    "l": 0.53494,
    "c": 0.1773,
    "h": 272
  },
  "luminance": 0.14374
}

Semantic roles & 50–950 ramp

primary
#4C5FD2
secondary
#D9D1A1
accent
#CD45E3
background
#F9F8FD
surface
#F1F0FB
border
#CBCBD4
text
#0D0C15
muted
#7E7D83

Preview Lab

Preview with #4C5FD2

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

Preview Lab → · Contrast checker → · Palette generator →

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