#4E5286#4E5286

#4E5286 is a mid, moderate blue. Relative luminance 0.094; OKLCH L 45.9% C 0.084 H 279.2°. Best body text is #FFFFFF at 7.30:1 contrast (WCAG AA passes).

Color values

HEX#4E5286
RGBrgb(78, 82, 134)
HSLhsl(236, 26%, 42%)
HSVhsv(236, 42%, 53%)
CMYKcmyk(41.8%, 38.8%, 0%, 47.5%)
CIE-LABlab(36.70, 12.47, -29.63)
CIE-LCHlch(36.70, 32.15, 292.83°)
OKLaboklab(45.9% 0.0134 -0.0833)
OKLCHoklch(45.9% 0.084 279.2)
XYZxyz(10.4610, 9.3751, 23.8080)
Luminance0.0938 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E5286 #86824E
analogous
#4E6E86 #4E5286 #664E86
triadic
#4E5286 #864E52 #52864E
tetradic
#4E5286 #864E6E #86824E #4E8666
square
#4E5286 #864E6E #86824E #4E8666
split-complementary
#4E5286 #86664E #6E864E
monochromatic
#212339 #373A5F #4E5286 #696EA8 #9093BE

Accessibility & contrast

On white

7.30
#4E5286 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#4E5286 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E5286
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E5286#FFFFFF#000000##FFFFFF
##4E52861.007.302.887.30
#FFFFFF7.301.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#405888
Deuteranopia (green-blind)
#3D5485
Tritanopia (blue-blind)
#3D5C65
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #4e5286;
/* rgb */ color: rgb(78, 82, 134);
/* oklch */ color: oklch(45.9% 0.084 279.2);
Tailwind
colors: {
  custom: {
    50: '#8282a9',
    500: '#4e5286',
    950: '#000000',
  },
}
SCSS
$custom: #4e5286;
$custom-light: #8282a9;
$custom-dark: #000000;
JSON
{
  "hex": "#4e5286",
  "rgb": {
    "r": 78,
    "g": 82,
    "b": 134
  },
  "hsl": {
    "h": 235.714,
    "s": 26.415,
    "l": 41.569
  },
  "oklch": {
    "l": 0.45899,
    "c": 0.08435,
    "h": 279.2
  },
  "luminance": 0.09376
}

Semantic roles & 50–950 ramp

primary
#4E5286
secondary
#ABA885
accent
#BC65C3
background
#F8F7FA
surface
#EFEEF4
border
#CAC9CE
text
#0B0A10
muted
#7C7C7F

Preview Lab

Preview with #4E5286

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

Preview Lab → · Contrast checker → · Palette generator →

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