#4E5282#4E5282

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

Color values

HEX#4E5282
RGBrgb(78, 82, 130)
HSLhsl(235, 25%, 41%)
HSVhsv(235, 40%, 51%)
CMYKcmyk(40%, 36.9%, 0%, 49%)
CIE-LABlab(36.49, 11.25, -27.51)
CIE-LCHlch(36.49, 29.72, 292.25°)
OKLaboklab(45.67% 0.0125 -0.0771)
OKLCHoklch(45.67% 0.078 279.2)
XYZxyz(10.1873, 9.2656, 22.3664)
Luminance0.0927 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E5282 #827E4E
analogous
#4E6C82 #4E5282 #644E82
triadic
#4E5282 #824E52 #52824E
tetradic
#4E5282 #824E6C #827E4E #4E8264
square
#4E5282 #824E6C #827E4E #4E8264
split-complementary
#4E5282 #82644E #6C824E
monochromatic
#202235 #373A5C #4E5282 #686DA5 #8F92BC

Accessibility & contrast

On white

7.36
#4E5282 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#4E5282 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E5282
7.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E5282#FFFFFF#000000##FFFFFF
##4E52821.007.362.857.36
#FFFFFF7.361.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#425884
Deuteranopia (green-blind)
#3F5481
Tritanopia (blue-blind)
#3F5B64
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #4e5282;
/* rgb */ color: rgb(78, 82, 130);
/* oklch */ color: oklch(45.7% 0.078 279.2);
Tailwind
colors: {
  custom: {
    50: '#8282a6',
    500: '#4e5282',
    950: '#000000',
  },
}
SCSS
$custom: #4e5282;
$custom-light: #8282a6;
$custom-dark: #000000;
JSON
{
  "hex": "#4e5282",
  "rgb": {
    "r": 78,
    "g": 82,
    "b": 130
  },
  "hsl": {
    "h": 235.385,
    "s": 25,
    "l": 40.784
  },
  "oklch": {
    "l": 0.45673,
    "c": 0.0781,
    "h": 279.2
  },
  "luminance": 0.09266
}

Semantic roles & 50–950 ramp

primary
#4E5282
secondary
#A8A584
accent
#BA66C1
background
#F8F7FA
surface
#EFEEF4
border
#CAC9CE
text
#0A0A0F
muted
#7C7C7F

Preview Lab

Preview with #4E5282

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

Preview Lab → · Contrast checker → · Palette generator →

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