#4C5684#4C5684

#4C5684 is a mid, moderate blue. Relative luminance 0.099; OKLCH L 46.5% C 0.076 H 273.8°. Best body text is #FFFFFF at 7.07:1 contrast (WCAG AA passes).

Color values

HEX#4C5684
RGBrgb(76, 86, 132)
HSLhsl(229, 27%, 41%)
HSVhsv(229, 42%, 52%)
CMYKcmyk(42.4%, 34.8%, 0%, 48.2%)
CIE-LABlab(37.59, 8.73, -27.03)
CIE-LCHlch(37.59, 28.40, 287.90°)
OKLaboklab(46.51% 0.005 -0.0757)
OKLCHoklch(46.51% 0.076 273.8)
XYZxyz(10.4719, 9.8575, 23.1762)
Luminance0.0986 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C5684 #847A4C
analogous
#4C7284 #4C5684 #5E4C84
triadic
#4C5684 #844C56 #56844C
tetradic
#4C5684 #844C72 #847A4C #4C845E
square
#4C5684 #844C72 #847A4C #4C845E
split-complementary
#4C5684 #845E4C #72844C
monochromatic
#1F2336 #363D5D #4C5684 #6672A7 #8D96BD

Accessibility & contrast

On white

7.07
#4C5684 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#4C5684 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C5684
7.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C5684#FFFFFF#000000##FFFFFF
##4C56841.007.072.977.07
#FFFFFF7.071.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#465B86
Deuteranopia (green-blind)
#425683
Tritanopia (blue-blind)
#3A5F67
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #4c5684;
/* rgb */ color: rgb(76, 86, 132);
/* oklch */ color: oklch(46.5% 0.076 273.8);
Tailwind
colors: {
  custom: {
    50: '#8085a8',
    500: '#4c5684',
    950: '#000000',
  },
}
SCSS
$custom: #4c5684;
$custom-light: #8085a8;
$custom-dark: #000000;
JSON
{
  "hex": "#4c5684",
  "rgb": {
    "r": 76,
    "g": 86,
    "b": 132
  },
  "hsl": {
    "h": 229.286,
    "s": 26.923,
    "l": 40.784
  },
  "oklch": {
    "l": 0.46511,
    "c": 0.0759,
    "h": 273.8
  },
  "luminance": 0.09858
}

Semantic roles & 50–950 ramp

primary
#4C5684
secondary
#AAA382
accent
#B265C3
background
#F8F8FA
surface
#EFEFF4
border
#CACACE
text
#0A0B0F
muted
#7C7C7F

Preview Lab

Preview with #4C5684

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

Preview Lab → · Contrast checker → · Palette generator →

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