#4E5285#4E5285

#4E5285 is a mid, moderate blue. Relative luminance 0.093; OKLCH L 45.8% C 0.083 H 279.2°. Best body text is #FFFFFF at 7.32:1 contrast (WCAG AA passes).

Color values

HEX#4E5285
RGBrgb(78, 82, 133)
HSLhsl(236, 26%, 41%)
HSVhsv(236, 41%, 52%)
CMYKcmyk(41.4%, 38.3%, 0%, 47.8%)
CIE-LABlab(36.64, 12.17, -29.10)
CIE-LCHlch(36.64, 31.55, 292.69°)
OKLaboklab(45.84% 0.0132 -0.0817)
OKLCHoklch(45.84% 0.083 279.2)
XYZxyz(10.3916, 9.3473, 23.4424)
Luminance0.0935 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E5285 #85814E
analogous
#4E6E85 #4E5285 #664E85
triadic
#4E5285 #854E52 #52854E
tetradic
#4E5285 #854E6E #85814E #4E8566
square
#4E5285 #854E6E #85814E #4E8566
split-complementary
#4E5285 #85664E #6E854E
monochromatic
#212238 #373A5E #4E5285 #696EA7 #9093BE

Accessibility & contrast

On white

7.32
#4E5285 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#4E5285 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E5285
7.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E5285#FFFFFF#000000##FFFFFF
##4E52851.007.322.877.32
#FFFFFF7.321.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.321.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4e5285;
/* rgb */ color: rgb(78, 82, 133);
/* oklch */ color: oklch(45.8% 0.083 279.2);
Tailwind
colors: {
  custom: {
    50: '#8282a9',
    500: '#4e5285',
    950: '#000000',
  },
}
SCSS
$custom: #4e5285;
$custom-light: #8282a9;
$custom-dark: #000000;
JSON
{
  "hex": "#4e5285",
  "rgb": {
    "r": 78,
    "g": 82,
    "b": 133
  },
  "hsl": {
    "h": 235.636,
    "s": 26.066,
    "l": 41.373
  },
  "oklch": {
    "l": 0.45842,
    "c": 0.08279,
    "h": 279.2
  },
  "luminance": 0.09348
}

Semantic roles & 50–950 ramp

primary
#4E5285
secondary
#AAA884
accent
#BC65C2
background
#F8F7FA
surface
#EFEEF4
border
#CAC9CE
text
#0B0A10
muted
#7C7C7F

Preview Lab

Preview with #4E5285

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

Preview Lab → · Contrast checker → · Palette generator →

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