#4C5AA5#4C5AA5

#4C5AA5 is a mid, vivid blue. Relative luminance 0.116; OKLCH L 49.3% C 0.120 H 273.3°. Best body text is #FFFFFF at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#4C5AA5
RGBrgb(76, 90, 165)
HSLhsl(231, 37%, 47%)
HSVhsv(231, 54%, 65%)
CMYKcmyk(53.9%, 45.5%, 0%, 35.3%)
CIE-LABlab(40.52, 16.80, -42.27)
CIE-LCHlch(40.52, 45.48, 291.67°)
OKLaboklab(49.35% 0.0068 -0.1202)
OKLCHoklch(49.35% 0.12 273.3)
XYZxyz(13.4260, 11.5645, 37.1147)
Luminance0.1157 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C5AA5 #A5974C
analogous
#4C86A5 #4C5AA5 #6B4CA5
triadic
#4C5AA5 #A54C5A #5AA54C
tetradic
#4C5AA5 #A54C86 #A5974C #4CA56B
square
#4C5AA5 #A54C86 #A5974C #4CA56B
split-complementary
#4C5AA5 #A56B4C #86A54C
monochromatic
#252C51 #39437B #4C5AA5 #717DBD #9BA3D1

Accessibility & contrast

On white

6.34
#4C5AA5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#4C5AA5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C5AA5
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C5AA5#FFFFFF#000000##FFFFFF
##4C5AA51.006.343.316.34
#FFFFFF6.341.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3963A8
Deuteranopia (green-blind)
#2F5CA3
Tritanopia (blue-blind)
#226A77
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #4c5aa5;
/* rgb */ color: rgb(76, 90, 165);
/* oklch */ color: oklch(49.3% 0.120 273.3);
Tailwind
colors: {
  custom: {
    50: '#8488c0',
    500: '#4c5aa5',
    950: '#000000',
  },
}
SCSS
$custom: #4c5aa5;
$custom-light: #8488c0;
$custom-dark: #000000;
JSON
{
  "hex": "#4c5aa5",
  "rgb": {
    "r": 76,
    "g": 90,
    "b": 165
  },
  "hsl": {
    "h": 230.562,
    "s": 36.929,
    "l": 47.255
  },
  "oklch": {
    "l": 0.49347,
    "c": 0.12039,
    "h": 273.3
  },
  "luminance": 0.11565
}

Semantic roles & 50–950 ramp

primary
#4C5AA5
secondary
#BDB68F
accent
#BB5BCD
background
#F8F8FB
surface
#F0EFF7
border
#CBCAD0
text
#0B0B12
muted
#7C7C81

Preview Lab

Preview with #4C5AA5

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

Preview Lab → · Contrast checker → · Palette generator →

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