#4C56AE#4C56AE

#4C56AE is a mid, vivid blue. Relative luminance 0.112; OKLCH L 49.1% C 0.139 H 275.2°. Best body text is #FFFFFF at 6.46:1 contrast (WCAG AA passes).

Color values

HEX#4C56AE
RGBrgb(76, 86, 174)
HSLhsl(234, 39%, 49%)
HSVhsv(234, 56%, 68%)
CMYKcmyk(56.3%, 50.6%, 0%, 31.8%)
CIE-LABlab(39.99, 22.37, -48.44)
CIE-LCHlch(39.99, 53.35, 294.79°)
OKLaboklab(49.13% 0.0126 -0.1384)
OKLCHoklch(49.13% 0.139 275.2)
XYZxyz(13.9458, 11.2471, 41.4722)
Luminance0.1125 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C56AE #AEA44C
analogous
#4C87AE #4C56AE #734CAE
triadic
#4C56AE #AE4C56 #56AE4C
tetradic
#4C56AE #AE4C87 #AEA44C #4CAE73
square
#4C56AE #AE4C87 #AEA44C #4CAE73
split-complementary
#4C56AE #AE734C #87AE4C
monochromatic
#272C59 #394183 #4C56AE #757DC3 #9FA5D5

Accessibility & contrast

On white

6.46
#4C56AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#4C56AE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C56AE
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C56AE#FFFFFF#000000##FFFFFF
##4C56AE1.006.463.256.46
#FFFFFF6.461.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2962B1
Deuteranopia (green-blind)
#1A5AAC
Tritanopia (blue-blind)
#166A7A
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #4c56ae;
/* rgb */ color: rgb(76, 86, 174);
/* oklch */ color: oklch(49.1% 0.139 275.2);
Tailwind
colors: {
  custom: {
    50: '#8685c7',
    500: '#4c56ae',
    950: '#000000',
  },
}
SCSS
$custom: #4c56ae;
$custom-light: #8685c7;
$custom-dark: #000000;
JSON
{
  "hex": "#4c56ae",
  "rgb": {
    "r": 76,
    "g": 86,
    "b": 174
  },
  "hsl": {
    "h": 233.878,
    "s": 39.2,
    "l": 49.02
  },
  "oklch": {
    "l": 0.49131,
    "c": 0.13893,
    "h": 275.2
  },
  "luminance": 0.11248
}

Semantic roles & 50–950 ramp

primary
#4C56AE
secondary
#C2BD94
accent
#C359CF
background
#F8F8FC
surface
#F0EFF8
border
#CBCAD1
text
#0C0B13
muted
#7D7C82

Preview Lab

Preview with #4C56AE

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

Preview Lab → · Contrast checker → · Palette generator →

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