#4E5181#4E5181

#4E5181 is a mid, moderate blue. Relative luminance 0.091; OKLCH L 45.4% C 0.078 H 280.1°. Best body text is #FFFFFF at 7.45:1 contrast (WCAG AA passes).

Color values

HEX#4E5181
RGBrgb(78, 81, 129)
HSLhsl(236, 25%, 41%)
HSVhsv(236, 40%, 51%)
CMYKcmyk(39.5%, 37.2%, 0%, 49.4%)
CIE-LABlab(36.16, 11.59, -27.42)
CIE-LCHlch(36.16, 29.77, 292.92°)
OKLaboklab(45.4% 0.0137 -0.0768)
OKLCHoklch(45.4% 0.078 280.1)
XYZxyz(10.0456, 9.0892, 21.9897)
Luminance0.0909 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E5181 #817E4E
analogous
#4E6A81 #4E5181 #644E81
triadic
#4E5181 #814E51 #51814E
tetradic
#4E5181 #814E6A #817E4E #4E8164
square
#4E5181 #814E6A #817E4E #4E8164
split-complementary
#4E5181 #81644E #6A814E
monochromatic
#202135 #37395B #4E5181 #686CA4 #8E91BB

Accessibility & contrast

On white

7.45
#4E5181 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#4E5181 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E5181
7.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E5181#FFFFFF#000000##FFFFFF
##4E51811.007.452.827.45
#FFFFFF7.451.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#415783
Deuteranopia (green-blind)
#3E5380
Tritanopia (blue-blind)
#3F5A63
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #4e5181;
/* rgb */ color: rgb(78, 81, 129);
/* oklch */ color: oklch(45.4% 0.078 280.1);
Tailwind
colors: {
  custom: {
    50: '#8281a6',
    500: '#4e5181',
    950: '#000000',
  },
}
SCSS
$custom: #4e5181;
$custom-light: #8281a6;
$custom-dark: #000000;
JSON
{
  "hex": "#4e5181",
  "rgb": {
    "r": 78,
    "g": 81,
    "b": 129
  },
  "hsl": {
    "h": 236.471,
    "s": 24.638,
    "l": 40.588
  },
  "oklch": {
    "l": 0.45399,
    "c": 0.07804,
    "h": 280.1
  },
  "luminance": 0.0909
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4E5181

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

Preview Lab → · Contrast checker → · Palette generator →

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