#4C5286#4C5286

#4C5286 is a mid, moderate blue. Relative luminance 0.093; OKLCH L 45.7% C 0.085 H 277.5°. Best body text is #FFFFFF at 7.35:1 contrast (WCAG AA passes).

Color values

HEX#4C5286
RGBrgb(76, 82, 134)
HSLhsl(234, 28%, 41%)
HSVhsv(234, 43%, 53%)
CMYKcmyk(43.3%, 38.8%, 0%, 47.5%)
CIE-LABlab(36.54, 11.91, -29.89)
CIE-LCHlch(36.54, 32.18, 291.73°)
OKLaboklab(45.74% 0.0111 -0.0841)
OKLCHoklch(45.74% 0.085 277.5)
XYZxyz(10.2996, 9.2918, 23.8004)
Luminance0.0929 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C5286 #86804C
analogous
#4C6F86 #4C5286 #634C86
triadic
#4C5286 #864C52 #52864C
tetradic
#4C5286 #864C6F #86804C #4C8663
square
#4C5286 #864C6F #86804C #4C8663
split-complementary
#4C5286 #86634C #6F864C
monochromatic
#202238 #363A5F #4C5286 #676DA9 #8E93BF

Accessibility & contrast

On white

7.35
#4C5286 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#4C5286 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C5286
7.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C5286#FFFFFF#000000##FFFFFF
##4C52861.007.352.867.35
#FFFFFF7.351.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#405888
Deuteranopia (green-blind)
#3C5485
Tritanopia (blue-blind)
#3A5C65
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #4c5286;
/* rgb */ color: rgb(76, 82, 134);
/* oklch */ color: oklch(45.7% 0.085 277.5);
Tailwind
colors: {
  custom: {
    50: '#8182a9',
    500: '#4c5286',
    950: '#000000',
  },
}
SCSS
$custom: #4c5286;
$custom-light: #8182a9;
$custom-dark: #000000;
JSON
{
  "hex": "#4c5286",
  "rgb": {
    "r": 76,
    "g": 82,
    "b": 134
  },
  "hsl": {
    "h": 233.793,
    "s": 27.619,
    "l": 41.176
  },
  "oklch": {
    "l": 0.45739,
    "c": 0.08478,
    "h": 277.5
  },
  "luminance": 0.09292
}

Semantic roles & 50–950 ramp

primary
#4C5286
secondary
#ABA783
accent
#BA64C4
background
#F8F7FA
surface
#EFEEF4
border
#CAC9CE
text
#0A0A10
muted
#7C7C7F

Preview Lab

Preview with #4C5286

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

Preview Lab → · Contrast checker → · Palette generator →

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