#4C5FCC#4C5FCC

#4C5FCC is a mid, vivid blue. Relative luminance 0.141; OKLCH L 53.0% C 0.169 H 271.9°. Best body text is #FFFFFF at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#4C5FCC
RGBrgb(76, 95, 204)
HSLhsl(231, 56%, 55%)
HSVhsv(231, 63%, 80%)
CMYKcmyk(62.7%, 53.4%, 0%, 20%)
CIE-LABlab(44.35, 26.85, -58.90)
CIE-LCHlch(44.35, 64.73, 294.51°)
OKLaboklab(53.05% 0.0057 -0.169)
OKLCHoklch(53.05% 0.169 271.9)
XYZxyz(17.9681, 14.0790, 58.8857)
Luminance0.1408 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C5FCC #CCB94C
analogous
#4C9FCC #4C5FCC #794CCC
triadic
#4C5FCC #CC4C5F #5FCC4C
tetradic
#4C5FCC #CC4C9F #CCB94C #4CCC79
square
#4C5FCC #CC4C9F #CCB94C #4CCC79
split-complementary
#4C5FCC #CC794C #9FCC4C
monochromatic
#23307B #3143AA #4C5FCC #7C8ADA #ABB4E7

Accessibility & contrast

On white

5.50
#4C5FCC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.82
#4C5FCC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C5FCC
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C5FCC#FFFFFF#000000##FFFFFF
##4C5FCC1.005.503.825.50
#FFFFFF5.501.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#156FD0
Deuteranopia (green-blind)
#0063CA
Tritanopia (blue-blind)
#00798C
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #4c5fcc;
/* rgb */ color: rgb(76, 95, 204);
/* oklch */ color: oklch(53.0% 0.169 271.9);
Tailwind
colors: {
  custom: {
    50: '#8b8cdc',
    500: '#4c5fcc',
    950: '#000000',
  },
}
SCSS
$custom: #4c5fcc;
$custom-light: #8b8cdc;
$custom-dark: #000000;
JSON
{
  "hex": "#4c5fcc",
  "rgb": {
    "r": 76,
    "g": 95,
    "b": 204
  },
  "hsl": {
    "h": 231.094,
    "s": 55.652,
    "l": 54.902
  },
  "oklch": {
    "l": 0.53049,
    "c": 0.16915,
    "h": 271.9
  },
  "luminance": 0.14081
}

Semantic roles & 50–950 ramp

primary
#4C5FCC
secondary
#D5CD9F
accent
#C949DF
background
#F9F8FD
surface
#F1F0FB
border
#CBCBD4
text
#0D0C15
muted
#7E7D83

Preview Lab

Preview with #4C5FCC

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

Preview Lab → · Contrast checker → · Palette generator →

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