#4C5FCF#4C5FCF

#4C5FCF is a mid, vivid blue. Relative luminance 0.142; OKLCH L 53.3% C 0.173 H 272.0°. Best body text is #FFFFFF at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#4C5FCF
RGBrgb(76, 95, 207)
HSLhsl(231, 58%, 55%)
HSVhsv(231, 63%, 81%)
CMYKcmyk(63.3%, 54.1%, 0%, 18.8%)
CIE-LABlab(44.55, 27.88, -60.29)
CIE-LCHlch(44.55, 66.43, 294.82°)
OKLaboklab(53.27% 0.0059 -0.1731)
OKLCHoklch(53.27% 0.173 272)
XYZxyz(18.3314, 14.2243, 60.7989)
Luminance0.1423 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C5FCF #CFBC4C
analogous
#4CA0CF #4C5FCF #7B4CCF
triadic
#4C5FCF #CF4C5F #5FCF4C
tetradic
#4C5FCF #CF4CA0 #CFBC4C #4CCF7B
square
#4C5FCF #CF4CA0 #CFBC4C #4CCF7B
split-complementary
#4C5FCF #CF7B4C #A0CF4C
monochromatic
#222F7F #2F41AF #4C5FCF #7C8ADC #ADB5E9

Accessibility & contrast

On white

5.46
#4C5FCF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#4C5FCF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C5FCF
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C5FCF#FFFFFF#000000##FFFFFF
##4C5FCF1.005.463.855.46
#FFFFFF5.461.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C6FD3
Deuteranopia (green-blind)
#0064CD
Tritanopia (blue-blind)
#007A8E
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #4c5fcf;
/* rgb */ color: rgb(76, 95, 207);
/* oklch */ color: oklch(53.3% 0.173 272.0);
Tailwind
colors: {
  custom: {
    50: '#8b8cde',
    500: '#4c5fcf',
    950: '#000000',
  },
}
SCSS
$custom: #4c5fcf;
$custom-light: #8b8cde;
$custom-dark: #000000;
JSON
{
  "hex": "#4c5fcf",
  "rgb": {
    "r": 76,
    "g": 95,
    "b": 207
  },
  "hsl": {
    "h": 231.298,
    "s": 57.709,
    "l": 55.49
  },
  "oklch": {
    "l": 0.5327,
    "c": 0.17324,
    "h": 272
  },
  "luminance": 0.14226
}

Semantic roles & 50–950 ramp

primary
#4C5FCF
secondary
#D7CFA0
accent
#CB47E1
background
#F9F8FD
surface
#F1F0FB
border
#CBCBD4
text
#0D0C15
muted
#7E7D83

Preview Lab

Preview with #4C5FCF

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

Preview Lab → · Contrast checker → · Palette generator →

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