#4E5985#4E5985

#4E5985 is a mid, moderate blue. Relative luminance 0.105; OKLCH L 47.4% C 0.073 H 272.6°. Best body text is #FFFFFF at 6.79:1 contrast (WCAG AA passes).

Color values

HEX#4E5985
RGBrgb(78, 89, 133)
HSLhsl(228, 26%, 41%)
HSVhsv(228, 41%, 52%)
CMYKcmyk(41.4%, 33.1%, 0%, 47.8%)
CIE-LABlab(38.65, 7.70, -25.96)
CIE-LCHlch(38.65, 27.08, 286.53°)
OKLaboklab(47.39% 0.0034 -0.0726)
OKLCHoklch(47.39% 0.073 272.6)
XYZxyz(10.9466, 10.4574, 23.6274)
Luminance0.1046 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E5985 #857A4E
analogous
#4E7585 #4E5985 #5F4E85
triadic
#4E5985 #854E59 #59854E
tetradic
#4E5985 #854E75 #857A4E #4E855F
square
#4E5985 #854E75 #857A4E #4E855F
split-complementary
#4E5985 #855F4E #75854E
monochromatic
#212538 #373F5E #4E5985 #6976A7 #9099BE

Accessibility & contrast

On white

6.79
#4E5985 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#4E5985 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E5985
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E5985#FFFFFF#000000##FFFFFF
##4E59851.006.793.096.79
#FFFFFF6.791.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A5D87
Deuteranopia (green-blind)
#465984
Tritanopia (blue-blind)
#3D6269
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #4e5985;
/* rgb */ color: rgb(78, 89, 133);
/* oklch */ color: oklch(47.4% 0.073 272.6);
Tailwind
colors: {
  custom: {
    50: '#8287a8',
    500: '#4e5985',
    950: '#000000',
  },
}
SCSS
$custom: #4e5985;
$custom-light: #8287a8;
$custom-dark: #000000;
JSON
{
  "hex": "#4e5985",
  "rgb": {
    "r": 78,
    "g": 89,
    "b": 133
  },
  "hsl": {
    "h": 228,
    "s": 26.066,
    "l": 41.373
  },
  "oklch": {
    "l": 0.47389,
    "c": 0.07269,
    "h": 272.6
  },
  "luminance": 0.10458
}

Semantic roles & 50–950 ramp

primary
#4E5985
secondary
#AAA384
accent
#B065C2
background
#F8F8FA
surface
#EFEFF4
border
#CACACE
text
#0A0B0F
muted
#7C7C7F

Preview Lab

Preview with #4E5985

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

Preview Lab → · Contrast checker → · Palette generator →

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