#4E5F82#4E5F82

#4E5F82 is a mid, moderate blue. Relative luminance 0.114; OKLCH L 48.6% C 0.060 H 264.3°. Best body text is #FFFFFF at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#4E5F82
RGBrgb(78, 95, 130)
HSLhsl(220, 25%, 41%)
HSVhsv(220, 40%, 51%)
CMYKcmyk(40%, 26.9%, 0%, 49%)
CIE-LABlab(40.27, 3.03, -21.61)
CIE-LCHlch(40.27, 21.83, 277.99°)
OKLaboklab(48.6% -0.006 -0.0601)
OKLCHoklch(48.6% 0.06 264.3)
XYZxyz(11.2621, 11.4153, 22.7247)
Luminance0.1142 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E5F82 #82714E
analogous
#4E7982 #4E5F82 #574E82
triadic
#4E5F82 #824E5F #5F824E
tetradic
#4E5F82 #824E79 #82714E #4E8257
square
#4E5F82 #824E79 #82714E #4E8257
split-complementary
#4E5F82 #82574E #79824E
monochromatic
#202735 #37435C #4E5F82 #687CA5 #8F9DBC

Accessibility & contrast

On white

6.40
#4E5F82 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#4E5F82 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E5F82
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E5F82#FFFFFF#000000##FFFFFF
##4E5F821.006.403.286.40
#FFFFFF6.401.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#536284
Deuteranopia (green-blind)
#4E5D81
Tritanopia (blue-blind)
#3D666B
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #4e5f82;
/* rgb */ color: rgb(78, 95, 130);
/* oklch */ color: oklch(48.6% 0.060 264.3);
Tailwind
colors: {
  custom: {
    50: '#818ca6',
    500: '#4e5f82',
    950: '#000000',
  },
}
SCSS
$custom: #4e5f82;
$custom-light: #818ca6;
$custom-dark: #000000;
JSON
{
  "hex": "#4e5f82",
  "rgb": {
    "r": 78,
    "g": 95,
    "b": 130
  },
  "hsl": {
    "h": 220.385,
    "s": 25,
    "l": 40.784
  },
  "oklch": {
    "l": 0.48603,
    "c": 0.06041,
    "h": 264.3
  },
  "luminance": 0.11416
}

Semantic roles & 50–950 ramp

primary
#4E5F82
secondary
#A89C84
accent
#A466C1
background
#F8F8FA
surface
#EFF0F4
border
#CACBCE
text
#0A0C0F
muted
#7C7D7F

Preview Lab

Preview with #4E5F82

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

Preview Lab → · Contrast checker → · Palette generator →

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