#4E5182#4E5182

#4E5182 is a mid, moderate blue. Relative luminance 0.091; OKLCH L 45.5% C 0.080 H 280.0°. Best body text is #FFFFFF at 7.44:1 contrast (WCAG AA passes).

Color values

HEX#4E5182
RGBrgb(78, 81, 130)
HSLhsl(237, 25%, 41%)
HSVhsv(237, 40%, 51%)
CMYKcmyk(40%, 37.7%, 0%, 49%)
CIE-LABlab(36.21, 11.90, -27.95)
CIE-LCHlch(36.21, 30.38, 293.05°)
OKLaboklab(45.46% 0.0139 -0.0784)
OKLCHoklch(45.46% 0.08 280)
XYZxyz(10.1124, 9.1159, 22.3415)
Luminance0.0912 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E5182 #827F4E
analogous
#4E6B82 #4E5182 #654E82
triadic
#4E5182 #824E51 #51824E
tetradic
#4E5182 #824E6B #827F4E #4E8265
square
#4E5182 #824E6B #827F4E #4E8265
split-complementary
#4E5182 #82654E #6B824E
monochromatic
#202135 #37395C #4E5182 #686CA5 #8F91BC

Accessibility & contrast

On white

7.44
#4E5182 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E5182
7.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E5182#FFFFFF#000000##FFFFFF
##4E51821.007.442.827.44
#FFFFFF7.441.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#415784
Deuteranopia (green-blind)
#3E5381
Tritanopia (blue-blind)
#3F5B63
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #4e5182;
/* rgb */ color: rgb(78, 81, 130);
/* oklch */ color: oklch(45.5% 0.080 280.0);
Tailwind
colors: {
  custom: {
    50: '#8281a6',
    500: '#4e5182',
    950: '#000000',
  },
}
SCSS
$custom: #4e5182;
$custom-light: #8281a6;
$custom-dark: #000000;
JSON
{
  "hex": "#4e5182",
  "rgb": {
    "r": 78,
    "g": 81,
    "b": 130
  },
  "hsl": {
    "h": 236.538,
    "s": 25,
    "l": 40.784
  },
  "oklch": {
    "l": 0.45455,
    "c": 0.07961,
    "h": 280
  },
  "luminance": 0.09116
}

Semantic roles & 50–950 ramp

primary
#4E5182
secondary
#A8A684
accent
#BC66C1
background
#F8F7FA
surface
#EFEEF4
border
#CAC9CE
text
#0A0A0F
muted
#7C7C7F

Preview Lab

Preview with #4E5182

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

Preview Lab → · Contrast checker → · Palette generator →

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