#4C5FD1#4C5FD1

#4C5FD1 is a mid, vivid blue. Relative luminance 0.143; OKLCH L 53.4% C 0.176 H 272.0°. Best body text is #FFFFFF at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#4C5FD1
RGBrgb(76, 95, 209)
HSLhsl(231, 59%, 56%)
HSVhsv(231, 64%, 82%)
CMYKcmyk(63.6%, 54.5%, 0%, 18%)
CIE-LABlab(44.69, 28.57, -61.21)
CIE-LCHlch(44.69, 67.55, 295.02°)
OKLaboklab(53.42% 0.006 -0.1758)
OKLCHoklch(53.42% 0.176 272)
XYZxyz(18.5775, 14.3228, 62.0948)
Luminance0.1432 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C5FD1 #D1BE4C
analogous
#4CA1D1 #4C5FD1 #7B4CD1
triadic
#4C5FD1 #D14C5F #5FD14C
tetradic
#4C5FD1 #D14CA1 #D1BE4C #4CD17B
square
#4C5FD1 #D14CA1 #D1BE4C #4CD17B
split-complementary
#4C5FD1 #D17B4C #A1D14C
monochromatic
#212F81 #2E41B2 #4C5FD1 #7D8BDE #ADB6EA

Accessibility & contrast

On white

5.43
#4C5FD1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#4C5FD1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C5FD1
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C5FD1#FFFFFF#000000##FFFFFF
##4C5FD11.005.433.865.43
#FFFFFF5.431.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0370D5
Deuteranopia (green-blind)
#0064CF
Tritanopia (blue-blind)
#007A8F
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #4c5fd1;
/* rgb */ color: rgb(76, 95, 209);
/* oklch */ color: oklch(53.4% 0.176 272.0);
Tailwind
colors: {
  custom: {
    50: '#8b8ce0',
    500: '#4c5fd1',
    950: '#000000',
  },
}
SCSS
$custom: #4c5fd1;
$custom-light: #8b8ce0;
$custom-dark: #000000;
JSON
{
  "hex": "#4c5fd1",
  "rgb": {
    "r": 76,
    "g": 95,
    "b": 209
  },
  "hsl": {
    "h": 231.429,
    "s": 59.111,
    "l": 55.882
  },
  "oklch": {
    "l": 0.53419,
    "c": 0.17595,
    "h": 272
  },
  "luminance": 0.14324
}

Semantic roles & 50–950 ramp

primary
#4C5FD1
secondary
#D8D0A1
accent
#CC46E2
background
#F9F8FD
surface
#F1F0FB
border
#CBCBD4
text
#0D0C15
muted
#7E7D83

Preview Lab

Preview with #4C5FD1

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

Preview Lab → · Contrast checker → · Palette generator →

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