#4E589F#4E589F

#4E589F is a mid, moderate blue. Relative luminance 0.111; OKLCH L 48.7% C 0.114 H 275.3°. Best body text is #FFFFFF at 6.52:1 contrast (WCAG AA passes).

Color values

HEX#4E589F
RGBrgb(78, 88, 159)
HSLhsl(233, 34%, 46%)
HSVhsv(233, 51%, 62%)
CMYKcmyk(50.9%, 44.7%, 0%, 37.6%)
CIE-LABlab(39.75, 16.56, -39.91)
CIE-LCHlch(39.75, 43.21, 292.54°)
OKLaboklab(48.69% 0.0105 -0.1132)
OKLCHoklch(48.69% 0.114 275.3)
XYZxyz(12.8876, 11.1016, 34.2579)
Luminance0.1110 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E589F #9F954E
analogous
#4E819F #4E589F #6D4E9F
triadic
#4E589F #9F4E58 #589F4E
tetradic
#4E589F #9F4E81 #9F954E #4E9F6D
square
#4E589F #9F4E81 #9F954E #4E9F6D
split-complementary
#4E589F #9F6D4E #819F4E
monochromatic
#262B4D #3A4176 #4E589F #717AB9 #9AA0CD

Accessibility & contrast

On white

6.52
#4E589F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#4E589F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E589F
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E589F#FFFFFF#000000##FFFFFF
##4E589F1.006.523.226.52
#FFFFFF6.521.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B61A2
Deuteranopia (green-blind)
#335A9D
Tritanopia (blue-blind)
#2D6774
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #4e589f;
/* rgb */ color: rgb(78, 88, 159);
/* oklch */ color: oklch(48.7% 0.114 275.3);
Tailwind
colors: {
  custom: {
    50: '#8587bc',
    500: '#4e589f',
    950: '#000000',
  },
}
SCSS
$custom: #4e589f;
$custom-light: #8587bc;
$custom-dark: #000000;
JSON
{
  "hex": "#4e589f",
  "rgb": {
    "r": 78,
    "g": 88,
    "b": 159
  },
  "hsl": {
    "h": 232.593,
    "s": 34.177,
    "l": 46.471
  },
  "oklch": {
    "l": 0.48686,
    "c": 0.11373,
    "h": 275.3
  },
  "luminance": 0.11102
}

Semantic roles & 50–950 ramp

primary
#4E589F
secondary
#BAB58F
accent
#BD5ECA
background
#F8F8FB
surface
#F0EFF6
border
#CBCAD0
text
#0B0B12
muted
#7C7C81

Preview Lab

Preview with #4E589F

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

Preview Lab → · Contrast checker → · Palette generator →

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