#4E527F#4E527F

#4E527F is a mid, moderate blue. Relative luminance 0.092; OKLCH L 45.5% C 0.073 H 279.2°. Best body text is #FFFFFF at 7.40:1 contrast (WCAG AA passes).

Color values

HEX#4E527F
RGBrgb(78, 82, 127)
HSLhsl(235, 24%, 40%)
HSVhsv(235, 39%, 50%)
CMYKcmyk(38.6%, 35.4%, 0%, 50.2%)
CIE-LABlab(36.34, 10.35, -25.90)
CIE-LCHlch(36.34, 27.89, 291.78°)
OKLaboklab(45.51% 0.0117 -0.0724)
OKLCHoklch(45.51% 0.073 279.2)
XYZxyz(9.9888, 9.1862, 21.3214)
Luminance0.0919 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E527F #7F7B4E
analogous
#4E6A7F #4E527F #624E7F
triadic
#4E527F #7F4E52 #527F4E
tetradic
#4E527F #7F4E6A #7F7B4E #4E7F62
square
#4E527F #7F4E6A #7F7B4E #4E7F62
split-complementary
#4E527F #7F624E #6A7F4E
monochromatic
#1F2133 #373A59 #4E527F #686DA2 #8E91BA

Accessibility & contrast

On white

7.40
#4E527F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#4E527F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E527F
7.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E527F#FFFFFF#000000##FFFFFF
##4E527F1.007.402.847.40
#FFFFFF7.401.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#435781
Deuteranopia (green-blind)
#41547E
Tritanopia (blue-blind)
#405B62
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #4e527f;
/* rgb */ color: rgb(78, 82, 127);
/* oklch */ color: oklch(45.5% 0.073 279.2);
Tailwind
colors: {
  custom: {
    50: '#8182a4',
    500: '#4e527f',
    950: '#000000',
  },
}
SCSS
$custom: #4e527f;
$custom-light: #8182a4;
$custom-dark: #000000;
JSON
{
  "hex": "#4e527f",
  "rgb": {
    "r": 78,
    "g": 82,
    "b": 127
  },
  "hsl": {
    "h": 235.102,
    "s": 23.902,
    "l": 40.196
  },
  "oklch": {
    "l": 0.45508,
    "c": 0.07338,
    "h": 279.2
  },
  "luminance": 0.09187
}

Semantic roles & 50–950 ramp

primary
#4E527F
secondary
#A6A383
accent
#B967C0
background
#F8F7FA
surface
#EFEEF4
border
#CAC9CE
text
#0A0A0F
muted
#7C7C7F

Preview Lab

Preview with #4E527F

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

Preview Lab → · Contrast checker → · Palette generator →

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