#4C5AAA#4C5AAA

#4C5AAA is a mid, vivid blue. Relative luminance 0.118; OKLCH L 49.7% C 0.128 H 273.4°. Best body text is #FFFFFF at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#4C5AAA
RGBrgb(76, 90, 170)
HSLhsl(231, 38%, 48%)
HSVhsv(231, 55%, 67%)
CMYKcmyk(55.3%, 47.1%, 0%, 33.3%)
CIE-LABlab(40.82, 18.47, -44.75)
CIE-LCHlch(40.82, 48.41, 292.42°)
OKLaboklab(49.67% 0.0076 -0.1275)
OKLCHoklch(49.67% 0.128 273.4)
XYZxyz(13.8900, 11.7501, 39.5585)
Luminance0.1175 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C5AAA #AA9C4C
analogous
#4C89AA #4C5AAA #6D4CAA
triadic
#4C5AAA #AA4C5A #5AAA4C
tetradic
#4C5AAA #AA4C89 #AA9C4C #4CAA6D
square
#4C5AAA #AA4C89 #AA9C4C #4CAA6D
split-complementary
#4C5AAA #AA6D4C #89AA4C
monochromatic
#262D55 #394480 #4C5AAA #737EC0 #9DA5D3

Accessibility & contrast

On white

6.27
#4C5AAA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#4C5AAA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C5AAA
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C5AAA#FFFFFF#000000##FFFFFF
##4C5AAA1.006.273.356.27
#FFFFFF6.271.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3664AD
Deuteranopia (green-blind)
#2A5CA8
Tritanopia (blue-blind)
#1B6C7A
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #4c5aaa;
/* rgb */ color: rgb(76, 90, 170);
/* oklch */ color: oklch(49.7% 0.128 273.4);
Tailwind
colors: {
  custom: {
    50: '#8588c4',
    500: '#4c5aaa',
    950: '#000000',
  },
}
SCSS
$custom: #4c5aaa;
$custom-light: #8588c4;
$custom-dark: #000000;
JSON
{
  "hex": "#4c5aaa",
  "rgb": {
    "r": 76,
    "g": 90,
    "b": 170
  },
  "hsl": {
    "h": 231.064,
    "s": 38.211,
    "l": 48.235
  },
  "oklch": {
    "l": 0.49674,
    "c": 0.12772,
    "h": 273.4
  },
  "luminance": 0.11751
}

Semantic roles & 50–950 ramp

primary
#4C5AAA
secondary
#C0B992
accent
#BD5ACE
background
#F8F8FC
surface
#F0EFF8
border
#CBCAD1
text
#0C0B13
muted
#7D7C82

Preview Lab

Preview with #4C5AAA

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

Preview Lab → · Contrast checker → · Palette generator →

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