#4E5281#4E5281

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

Color values

HEX#4E5281
RGBrgb(78, 82, 129)
HSLhsl(235, 25%, 41%)
HSVhsv(235, 40%, 51%)
CMYKcmyk(39.5%, 36.4%, 0%, 49.4%)
CIE-LABlab(36.44, 10.95, -26.97)
CIE-LCHlch(36.44, 29.11, 292.10°)
OKLaboklab(45.62% 0.0122 -0.0756)
OKLCHoklch(45.62% 0.077 279.2)
XYZxyz(10.1205, 9.2389, 22.0147)
Luminance0.0924 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E5281 #817D4E
analogous
#4E6B81 #4E5281 #634E81
triadic
#4E5281 #814E52 #52814E
tetradic
#4E5281 #814E6B #817D4E #4E8163
square
#4E5281 #814E6B #817D4E #4E8163
split-complementary
#4E5281 #81634E #6B814E
monochromatic
#202235 #373A5B #4E5281 #686DA4 #8E92BB

Accessibility & contrast

On white

7.37
#4E5281 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E5281
7.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E5281#FFFFFF#000000##FFFFFF
##4E52811.007.372.857.37
#FFFFFF7.371.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#435883
Deuteranopia (green-blind)
#405480
Tritanopia (blue-blind)
#3F5B63
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #4e5281;
/* rgb */ color: rgb(78, 82, 129);
/* oklch */ color: oklch(45.6% 0.077 279.2);
Tailwind
colors: {
  custom: {
    50: '#8282a6',
    500: '#4e5281',
    950: '#000000',
  },
}
SCSS
$custom: #4e5281;
$custom-light: #8282a6;
$custom-dark: #000000;
JSON
{
  "hex": "#4e5281",
  "rgb": {
    "r": 78,
    "g": 82,
    "b": 129
  },
  "hsl": {
    "h": 235.294,
    "s": 24.638,
    "l": 40.588
  },
  "oklch": {
    "l": 0.45618,
    "c": 0.07653,
    "h": 279.2
  },
  "luminance": 0.09239
}

Semantic roles & 50–950 ramp

primary
#4E5281
secondary
#A8A583
accent
#BA67C1
background
#F8F7FA
surface
#EFEEF4
border
#CAC9CE
text
#0A0A0F
muted
#7C7C7F

Preview Lab

Preview with #4E5281

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

Preview Lab → · Contrast checker → · Palette generator →

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