#4C558B#4C558B

#4C558B is a mid, moderate blue. Relative luminance 0.099; OKLCH L 46.7% C 0.088 H 275.3°. Best body text is #FFFFFF at 7.05:1 contrast (WCAG AA passes).

Color values

HEX#4C558B
RGBrgb(76, 85, 139)
HSLhsl(231, 29%, 42%)
HSVhsv(231, 45%, 55%)
CMYKcmyk(45.3%, 38.8%, 0%, 45.5%)
CIE-LABlab(37.66, 11.55, -31.18)
CIE-LCHlch(37.66, 33.25, 290.33°)
OKLaboklab(46.68% 0.0081 -0.0878)
OKLCHoklch(46.68% 0.088 275.3)
XYZxyz(10.8878, 9.8970, 25.7577)
Luminance0.0990 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C558B #8B824C
analogous
#4C748B #4C558B #634C8B
triadic
#4C558B #8B4C55 #558B4C
tetradic
#4C558B #8B4C74 #8B824C #4C8B63
square
#4C558B #8B4C74 #8B824C #4C8B63
split-complementary
#4C558B #8B634C #748B4C
monochromatic
#21253C #363D63 #4C558B #6872AC #8F97C2

Accessibility & contrast

On white

7.05
#4C558B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#4C558B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C558B
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C558B#FFFFFF#000000##FFFFFF
##4C558B1.007.052.987.05
#FFFFFF7.051.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#425B8D
Deuteranopia (green-blind)
#3C568A
Tritanopia (blue-blind)
#376069
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #4c558b;
/* rgb */ color: rgb(76, 85, 139);
/* oklch */ color: oklch(46.7% 0.088 275.3);
Tailwind
colors: {
  custom: {
    50: '#8184ad',
    500: '#4c558b',
    950: '#000000',
  },
}
SCSS
$custom: #4c558b;
$custom-light: #8184ad;
$custom-dark: #000000;
JSON
{
  "hex": "#4c558b",
  "rgb": {
    "r": 76,
    "g": 85,
    "b": 139
  },
  "hsl": {
    "h": 231.429,
    "s": 29.302,
    "l": 42.157
  },
  "oklch": {
    "l": 0.46684,
    "c": 0.08818,
    "h": 275.3
  },
  "luminance": 0.09898
}

Semantic roles & 50–950 ramp

primary
#4C558B
secondary
#AEA885
accent
#B762C6
background
#F8F8FA
surface
#EFEFF4
border
#CACACE
text
#0B0B10
muted
#7C7C7F

Preview Lab

Preview with #4C558B

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

Preview Lab → · Contrast checker → · Palette generator →

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