#4E508E#4E508E

#4E508E is a mid, moderate blue. Relative luminance 0.093; OKLCH L 45.9% C 0.100 H 280.3°. Best body text is #FFFFFF at 7.34:1 contrast (WCAG AA passes).

Color values

HEX#4E508E
RGBrgb(78, 80, 142)
HSLhsl(238, 29%, 43%)
HSVhsv(238, 45%, 56%)
CMYKcmyk(45.1%, 43.7%, 0%, 44.3%)
CIE-LABlab(36.57, 16.25, -34.71)
CIE-LCHlch(36.57, 38.33, 295.09°)
OKLaboklab(45.95% 0.0179 -0.0981)
OKLCHoklch(45.95% 0.1 280.3)
XYZxyz(10.8916, 9.3095, 26.8090)
Luminance0.0931 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E508E #8E8C4E
analogous
#4E708E #4E508E #6C4E8E
triadic
#4E508E #8E4E50 #508E4E
tetradic
#4E508E #8E4E70 #8E8C4E #4E8E6C
square
#4E508E #8E4E70 #8E8C4E #4E8E6C
split-complementary
#4E508E #8E6C4E #708E4E
monochromatic
#23233F #383A66 #4E508E #6B6DAE #9394C4

Accessibility & contrast

On white

7.34
#4E508E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#4E508E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E508E
7.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E508E#FFFFFF#000000##FFFFFF
##4E508E1.007.342.867.34
#FFFFFF7.341.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#395890
Deuteranopia (green-blind)
#35548D
Tritanopia (blue-blind)
#395D68
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #4e508e;
/* rgb */ color: rgb(78, 80, 142);
/* oklch */ color: oklch(45.9% 0.100 280.3);
Tailwind
colors: {
  custom: {
    50: '#8381af',
    500: '#4e508e',
    950: '#000000',
  },
}
SCSS
$custom: #4e508e;
$custom-light: #8381af;
$custom-dark: #000000;
JSON
{
  "hex": "#4e508e",
  "rgb": {
    "r": 78,
    "g": 80,
    "b": 142
  },
  "hsl": {
    "h": 238.125,
    "s": 29.091,
    "l": 43.137
  },
  "oklch": {
    "l": 0.45947,
    "c": 0.09969,
    "h": 280.3
  },
  "luminance": 0.0931
}

Semantic roles & 50–950 ramp

primary
#4E508E
secondary
#B0AF88
accent
#C262C5
background
#F8F7FA
surface
#EFEEF4
border
#CAC9CE
text
#0B0A10
muted
#7C7C7F

Preview Lab

Preview with #4E508E

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

Preview Lab → · Contrast checker → · Palette generator →

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