#4C56BE#4C56BE

#4C56BE is a mid, vivid blue. Relative luminance 0.119; OKLCH L 50.3% C 0.161 H 274.9°. Best body text is #FFFFFF at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#4C56BE
RGBrgb(76, 86, 190)
HSLhsl(235, 47%, 52%)
HSVhsv(235, 60%, 75%)
CMYKcmyk(60%, 54.7%, 0%, 25.5%)
CIE-LABlab(41.07, 27.76, -56.09)
CIE-LCHlch(41.07, 62.58, 296.33°)
OKLaboklab(50.28% 0.0137 -0.1609)
OKLCHoklch(50.28% 0.161 274.9)
XYZxyz(15.5995, 11.9086, 50.1818)
Luminance0.1191 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C56BE #BEB44C
analogous
#4C8FBE #4C56BE #7B4CBE
triadic
#4C56BE #BE4C56 #56BE4C
tetradic
#4C56BE #BE4C8F #BEB44C #4CBE7B
square
#4C56BE #BE4C8F #BEB44C #4CBE7B
split-complementary
#4C56BE #BE7B4C #8FBE4C
monochromatic
#262C69 #373F96 #4C56BE #7980CE #A6ABDF

Accessibility & contrast

On white

6.21
#4C56BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#4C56BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C56BE
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C56BE#FFFFFF#000000##FFFFFF
##4C56BE1.006.213.386.21
#FFFFFF6.211.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B66C2
Deuteranopia (green-blind)
#005CBC
Tritanopia (blue-blind)
#006E81
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #4c56be;
/* rgb */ color: rgb(76, 86, 190);
/* oklch */ color: oklch(50.3% 0.161 274.9);
Tailwind
colors: {
  custom: {
    50: '#8985d2',
    500: '#4c56be',
    950: '#000000',
  },
}
SCSS
$custom: #4c56be;
$custom-light: #8985d2;
$custom-dark: #000000;
JSON
{
  "hex": "#4c56be",
  "rgb": {
    "r": 76,
    "g": 86,
    "b": 190
  },
  "hsl": {
    "h": 234.737,
    "s": 46.721,
    "l": 52.157
  },
  "oklch": {
    "l": 0.50284,
    "c": 0.16145,
    "h": 274.9
  },
  "luminance": 0.1191
}

Semantic roles & 50–950 ramp

primary
#4C56BE
secondary
#CCC79A
accent
#CB51D6
background
#F8F8FD
surface
#F0EFFA
border
#CBCAD3
text
#0C0B14
muted
#7D7C83

Preview Lab

Preview with #4C56BE

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

Preview Lab → · Contrast checker → · Palette generator →

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