#4C5FCB#4C5FCB

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

Color values

HEX#4C5FCB
RGBrgb(76, 95, 203)
HSLhsl(231, 55%, 55%)
HSVhsv(231, 63%, 80%)
CMYKcmyk(62.6%, 53.2%, 0%, 20.4%)
CIE-LABlab(44.28, 26.51, -58.44)
CIE-LCHlch(44.28, 64.17, 294.40°)
OKLaboklab(52.98% 0.0057 -0.1677)
OKLCHoklch(52.98% 0.168 271.9)
XYZxyz(17.8486, 14.0312, 58.2560)
Luminance0.1403 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C5FCB #CBB84C
analogous
#4C9ECB #4C5FCB #794CCB
triadic
#4C5FCB #CB4C5F #5FCB4C
tetradic
#4C5FCB #CB4C9E #CBB84C #4CCB79
square
#4C5FCB #CB4C9E #CBB84C #4CCB79
split-complementary
#4C5FCB #CB794C #9ECB4C
monochromatic
#233079 #3143A9 #4C5FCB #7B89D9 #ABB4E7

Accessibility & contrast

On white

5.52
#4C5FCB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#4C5FCB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C5FCB
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C5FCB#FFFFFF#000000##FFFFFF
##4C5FCB1.005.523.815.52
#FFFFFF5.521.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#186FCF
Deuteranopia (green-blind)
#0063C9
Tritanopia (blue-blind)
#00788C
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #4c5fcb;
/* rgb */ color: rgb(76, 95, 203);
/* oklch */ color: oklch(53.0% 0.168 271.9);
Tailwind
colors: {
  custom: {
    50: '#8a8cdc',
    500: '#4c5fcb',
    950: '#000000',
  },
}
SCSS
$custom: #4c5fcb;
$custom-light: #8a8cdc;
$custom-dark: #000000;
JSON
{
  "hex": "#4c5fcb",
  "rgb": {
    "r": 76,
    "g": 95,
    "b": 203
  },
  "hsl": {
    "h": 231.024,
    "s": 54.978,
    "l": 54.706
  },
  "oklch": {
    "l": 0.52976,
    "c": 0.16778,
    "h": 271.9
  },
  "luminance": 0.14033
}

Semantic roles & 50–950 ramp

primary
#4C5FCB
secondary
#D4CC9F
accent
#C849DE
background
#F9F8FD
surface
#F1F0FB
border
#CBCBD4
text
#0D0C15
muted
#7E7D83

Preview Lab

Preview with #4C5FCB

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

Preview Lab → · Contrast checker → · Palette generator →

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