#4E5F86#4E5F86

#4E5F86 is a mid, moderate blue. Relative luminance 0.115; OKLCH L 48.8% C 0.066 H 265.9°. Best body text is #FFFFFF at 6.35:1 contrast (WCAG AA passes).

Color values

HEX#4E5F86
RGBrgb(78, 95, 134)
HSLhsl(222, 26%, 42%)
HSVhsv(222, 42%, 53%)
CMYKcmyk(41.8%, 29.1%, 0%, 47.5%)
CIE-LABlab(40.45, 4.23, -23.76)
CIE-LCHlch(40.45, 24.14, 280.10°)
OKLaboklab(48.8% -0.0047 -0.0663)
OKLCHoklch(48.8% 0.066 265.9)
XYZxyz(11.5358, 11.5248, 24.1663)
Luminance0.1153 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E5F86 #86754E
analogous
#4E7B86 #4E5F86 #594E86
triadic
#4E5F86 #864E5F #5F864E
tetradic
#4E5F86 #864E7B #86754E #4E8659
square
#4E5F86 #864E7B #86754E #4E8659
split-complementary
#4E5F86 #86594E #7B864E
monochromatic
#212839 #37445F #4E5F86 #697CA8 #909EBE

Accessibility & contrast

On white

6.35
#4E5F86 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#4E5F86 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E5F86
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E5F86#FFFFFF#000000##FFFFFF
##4E5F861.006.353.316.35
#FFFFFF6.351.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#516288
Deuteranopia (green-blind)
#4C5D85
Tritanopia (blue-blind)
#3B676D
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #4e5f86;
/* rgb */ color: rgb(78, 95, 134);
/* oklch */ color: oklch(48.8% 0.066 265.9);
Tailwind
colors: {
  custom: {
    50: '#828ca9',
    500: '#4e5f86',
    950: '#000000',
  },
}
SCSS
$custom: #4e5f86;
$custom-light: #828ca9;
$custom-dark: #000000;
JSON
{
  "hex": "#4e5f86",
  "rgb": {
    "r": 78,
    "g": 95,
    "b": 134
  },
  "hsl": {
    "h": 221.786,
    "s": 26.415,
    "l": 41.569
  },
  "oklch": {
    "l": 0.48802,
    "c": 0.06644,
    "h": 265.9
  },
  "luminance": 0.11525
}

Semantic roles & 50–950 ramp

primary
#4E5F86
secondary
#AB9F85
accent
#A665C3
background
#F8F8FA
surface
#EFF0F4
border
#CACBCE
text
#0A0C10
muted
#7C7D7F

Preview Lab

Preview with #4E5F86

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

Preview Lab → · Contrast checker → · Palette generator →

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