#4E508F#4E508F

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

Color values

HEX#4E508F
RGBrgb(78, 80, 143)
HSLhsl(238, 29%, 43%)
HSVhsv(238, 45%, 56%)
CMYKcmyk(45.5%, 44.1%, 0%, 43.9%)
CIE-LABlab(36.63, 16.56, -35.23)
CIE-LCHlch(36.63, 38.93, 295.18°)
OKLaboklab(46.01% 0.018 -0.0996)
OKLCHoklch(46.01% 0.101 280.3)
XYZxyz(10.9670, 9.3397, 27.2061)
Luminance0.0934 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E508F #8F8D4E
analogous
#4E708F #4E508F #6C4E8F
triadic
#4E508F #8F4E50 #508F4E
tetradic
#4E508F #8F4E70 #8F8D4E #4E8F6C
square
#4E508F #8F4E70 #8F8D4E #4E8F6C
split-complementary
#4E508F #8F6C4E #708F4E
monochromatic
#232440 #383A67 #4E508F #6C6EAF #9395C4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4E508F#FFFFFF#000000##FFFFFF
##4E508F1.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)
#385991
Deuteranopia (green-blind)
#34548E
Tritanopia (blue-blind)
#395D68
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #4e508f;
/* rgb */ color: rgb(78, 80, 143);
/* oklch */ color: oklch(46.0% 0.101 280.3);
Tailwind
colors: {
  custom: {
    50: '#8381b0',
    500: '#4e508f',
    950: '#000000',
  },
}
SCSS
$custom: #4e508f;
$custom-light: #8381b0;
$custom-dark: #000000;
JSON
{
  "hex": "#4e508f",
  "rgb": {
    "r": 78,
    "g": 80,
    "b": 143
  },
  "hsl": {
    "h": 238.154,
    "s": 29.412,
    "l": 43.333
  },
  "oklch": {
    "l": 0.46009,
    "c": 0.10122,
    "h": 280.3
  },
  "luminance": 0.0934
}

Semantic roles & 50–950 ramp

primary
#4E508F
secondary
#B1AF88
accent
#C362C6
background
#F8F7FA
surface
#EFEEF5
border
#CAC9CF
text
#0B0A10
muted
#7C7C7F

Preview Lab

Preview with #4E508F

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

Preview Lab → · Contrast checker → · Palette generator →

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