#4E529F#4E529F

#4E529F is a mid, vivid blue. Relative luminance 0.102; OKLCH L 47.4% C 0.122 H 278.4°. Best body text is #FFFFFF at 6.93:1 contrast (WCAG AA passes).

Color values

HEX#4E529F
RGBrgb(78, 82, 159)
HSLhsl(237, 34%, 46%)
HSVhsv(237, 51%, 62%)
CMYKcmyk(50.9%, 48.4%, 0%, 37.6%)
CIE-LABlab(38.12, 20.41, -42.51)
CIE-LCHlch(38.12, 47.15, 295.65°)
OKLaboklab(47.45% 0.0179 -0.1209)
OKLCHoklch(47.45% 0.122 278.4)
XYZxyz(12.4152, 10.1568, 34.1004)
Luminance0.1016 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E529F #9F9B4E
analogous
#4E7B9F #4E529F #734E9F
triadic
#4E529F #9F4E52 #529F4E
tetradic
#4E529F #9F4E7B #9F9B4E #4E9F73
square
#4E529F #9F4E7B #9F9B4E #4E9F73
split-complementary
#4E529F #9F734E #7B9F4E
monochromatic
#26284D #3A3D76 #4E529F #7174B9 #9A9DCD

Accessibility & contrast

On white

6.93
#4E529F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#4E529F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E529F
6.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E529F#FFFFFF#000000##FFFFFF
##4E529F1.006.933.036.93
#FFFFFF6.931.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#305DA2
Deuteranopia (green-blind)
#28579D
Tritanopia (blue-blind)
#2E6371
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #4e529f;
/* rgb */ color: rgb(78, 82, 159);
/* oklch */ color: oklch(47.4% 0.122 278.4);
Tailwind
colors: {
  custom: {
    50: '#8582bc',
    500: '#4e529f',
    950: '#000000',
  },
}
SCSS
$custom: #4e529f;
$custom-light: #8582bc;
$custom-dark: #000000;
JSON
{
  "hex": "#4e529f",
  "rgb": {
    "r": 78,
    "g": 82,
    "b": 159
  },
  "hsl": {
    "h": 237.037,
    "s": 34.177,
    "l": 46.471
  },
  "oklch": {
    "l": 0.47449,
    "c": 0.12222,
    "h": 278.4
  },
  "luminance": 0.10157
}

Semantic roles & 50–950 ramp

primary
#4E529F
secondary
#BAB88F
accent
#C55ECA
background
#F8F7FB
surface
#F0EEF6
border
#CBC9D0
text
#0B0A12
muted
#7C7C81

Preview Lab

Preview with #4E529F

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

Preview Lab → · Contrast checker → · Palette generator →

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