#4C5FD7#4C5FD7

#4C5FD7 is a mid, vivid blue. Relative luminance 0.146; OKLCH L 53.9% C 0.184 H 271.9°. Best body text is #FFFFFF at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#4C5FD7
RGBrgb(76, 95, 215)
HSLhsl(232, 63%, 57%)
HSVhsv(232, 65%, 84%)
CMYKcmyk(64.7%, 55.8%, 0%, 15.7%)
CIE-LABlab(45.12, 30.62, -63.96)
CIE-LCHlch(45.12, 70.91, 295.59°)
OKLaboklab(53.87% 0.0063 -0.1839)
OKLCHoklch(53.87% 0.184 271.9)
XYZxyz(19.3343, 14.6255, 66.0809)
Luminance0.1463 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C5FD7 #D7C44C
analogous
#4CA4D7 #4C5FD7 #7F4CD7
triadic
#4C5FD7 #D74C5F #5FD74C
tetradic
#4C5FD7 #D74CA4 #D7C44C #4CD77F
square
#4C5FD7 #D74CA4 #D7C44C #4CD77F
split-complementary
#4C5FD7 #D77F4C #A4D74C
monochromatic
#1F2D8A #2A3EBC #4C5FD7 #7E8CE2 #B0B8ED

Accessibility & contrast

On white

5.35
#4C5FD7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#4C5FD7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C5FD7
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C5FD7#FFFFFF#000000##FFFFFF
##4C5FD71.005.353.935.35
#FFFFFF5.351.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071DB
Deuteranopia (green-blind)
#0065D5
Tritanopia (blue-blind)
#007C92
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #4c5fd7;
/* rgb */ color: rgb(76, 95, 215);
/* oklch */ color: oklch(53.9% 0.184 271.9);
Tailwind
colors: {
  custom: {
    50: '#8c8ce4',
    500: '#4c5fd7',
    950: '#000000',
  },
}
SCSS
$custom: #4c5fd7;
$custom-light: #8c8ce4;
$custom-dark: #000000;
JSON
{
  "hex": "#4c5fd7",
  "rgb": {
    "r": 76,
    "g": 95,
    "b": 215
  },
  "hsl": {
    "h": 231.799,
    "s": 63.47,
    "l": 57.059
  },
  "oklch": {
    "l": 0.53871,
    "c": 0.18403,
    "h": 271.9
  },
  "luminance": 0.14627
}

Semantic roles & 50–950 ramp

primary
#4C5FD7
secondary
#DCD4A3
accent
#D041E6
background
#F9F8FE
surface
#F2F0FC
border
#CCCBD5
text
#0D0C16
muted
#7E7D84

Preview Lab

Preview with #4C5FD7

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

Preview Lab → · Contrast checker → · Palette generator →

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