#4E508B#4E508B

#4E508B is a mid, moderate blue. Relative luminance 0.092; OKLCH L 45.8% C 0.095 H 280.5°. Best body text is #FFFFFF at 7.38:1 contrast (WCAG AA passes).

Color values

HEX#4E508B
RGBrgb(78, 80, 139)
HSLhsl(238, 28%, 43%)
HSVhsv(238, 44%, 55%)
CMYKcmyk(43.9%, 42.4%, 0%, 45.5%)
CIE-LABlab(36.41, 15.31, -33.15)
CIE-LCHlch(36.41, 36.51, 294.79°)
OKLaboklab(45.76% 0.0173 -0.0935)
OKLCHoklch(45.76% 0.095 280.5)
XYZxyz(10.6694, 9.2206, 25.6387)
Luminance0.0922 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E508B #8B894E
analogous
#4E6E8B #4E508B #6B4E8B
triadic
#4E508B #8B4E50 #508B4E
tetradic
#4E508B #8B4E6E #8B894E #4E8B6B
square
#4E508B #8B4E6E #8B894E #4E8B6B
split-complementary
#4E508B #8B6B4E #6E8B4E
monochromatic
#22233D #383964 #4E508B #6B6DAC #9293C2

Accessibility & contrast

On white

7.38
#4E508B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#4E508B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E508B
7.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E508B#FFFFFF#000000##FFFFFF
##4E508B1.007.382.847.38
#FFFFFF7.381.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B588D
Deuteranopia (green-blind)
#37538A
Tritanopia (blue-blind)
#3B5C67
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #4e508b;
/* rgb */ color: rgb(78, 80, 139);
/* oklch */ color: oklch(45.8% 0.095 280.5);
Tailwind
colors: {
  custom: {
    50: '#8381ad',
    500: '#4e508b',
    950: '#000000',
  },
}
SCSS
$custom: #4e508b;
$custom-light: #8381ad;
$custom-dark: #000000;
JSON
{
  "hex": "#4e508b",
  "rgb": {
    "r": 78,
    "g": 80,
    "b": 139
  },
  "hsl": {
    "h": 238.033,
    "s": 28.111,
    "l": 42.549
  },
  "oklch": {
    "l": 0.45764,
    "c": 0.0951,
    "h": 280.5
  },
  "luminance": 0.09221
}

Semantic roles & 50–950 ramp

primary
#4E508B
secondary
#AEAD87
accent
#C163C4
background
#F8F7FA
surface
#EFEEF4
border
#CAC9CE
text
#0B0A10
muted
#7C7C7F

Preview Lab

Preview with #4E508B

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

Preview Lab → · Contrast checker → · Palette generator →

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