#4C5291#4C5291

#4C5291 is a mid, moderate blue. Relative luminance 0.096; OKLCH L 46.4% C 0.102 H 277.5°. Best body text is #FFFFFF at 7.18:1 contrast (WCAG AA passes).

Color values

HEX#4C5291
RGBrgb(76, 82, 145)
HSLhsl(235, 31%, 43%)
HSVhsv(235, 48%, 57%)
CMYKcmyk(47.6%, 43.4%, 0%, 43.1%)
CIE-LABlab(37.14, 15.39, -35.64)
CIE-LCHlch(37.14, 38.82, 293.36°)
OKLaboklab(46.4% 0.0134 -0.1008)
OKLCHoklch(46.4% 0.102 277.5)
XYZxyz(11.1071, 9.6148, 28.0532)
Luminance0.0961 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C5291 #918B4C
analogous
#4C7491 #4C5291 #684C91
triadic
#4C5291 #914C52 #52914C
tetradic
#4C5291 #914C74 #918B4C #4C9168
square
#4C5291 #914C74 #918B4C #4C9168
split-complementary
#4C5291 #91684C #74914C
monochromatic
#222541 #373B69 #4C5291 #6A70B1 #9296C6

Accessibility & contrast

On white

7.18
#4C5291 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#4C5291 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C5291
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C5291#FFFFFF#000000##FFFFFF
##4C52911.007.182.927.18
#FFFFFF7.181.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A5A93
Deuteranopia (green-blind)
#345590
Tritanopia (blue-blind)
#335F6A
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #4c5291;
/* rgb */ color: rgb(76, 82, 145);
/* oklch */ color: oklch(46.4% 0.102 277.5);
Tailwind
colors: {
  custom: {
    50: '#8282b1',
    500: '#4c5291',
    950: '#000000',
  },
}
SCSS
$custom: #4c5291;
$custom-light: #8282b1;
$custom-dark: #000000;
JSON
{
  "hex": "#4c5291",
  "rgb": {
    "r": 76,
    "g": 82,
    "b": 145
  },
  "hsl": {
    "h": 234.783,
    "s": 31.222,
    "l": 43.333
  },
  "oklch": {
    "l": 0.46397,
    "c": 0.10172,
    "h": 277.5
  },
  "luminance": 0.09615
}

Semantic roles & 50–950 ramp

primary
#4C5291
secondary
#B2AE87
accent
#BE60C7
background
#F8F7FA
surface
#EFEEF5
border
#CAC9CF
text
#0B0A11
muted
#7C7C80

Preview Lab

Preview with #4C5291

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

Preview Lab → · Contrast checker → · Palette generator →

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