#4E588F#4E588F

#4E588F is a mid, moderate blue. Relative luminance 0.106; OKLCH L 47.7% C 0.090 H 274.7°. Best body text is #FFFFFF at 6.74:1 contrast (WCAG AA passes).

Color values

HEX#4E588F
RGBrgb(78, 88, 143)
HSLhsl(231, 29%, 43%)
HSVhsv(231, 45%, 56%)
CMYKcmyk(45.5%, 38.5%, 0%, 43.9%)
CIE-LABlab(38.87, 11.43, -31.69)
CIE-LCHlch(38.87, 33.69, 289.84°)
OKLaboklab(47.72% 0.0073 -0.0892)
OKLCHoklch(47.72% 0.09 274.7)
XYZxyz(11.5880, 10.5817, 27.4132)
Luminance0.1058 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E588F #8F854E
analogous
#4E788F #4E588F #644E8F
triadic
#4E588F #8F4E58 #588F4E
tetradic
#4E588F #8F4E78 #8F854E #4E8F64
square
#4E588F #8F4E78 #8F854E #4E8F64
split-complementary
#4E588F #8F644E #788F4E
monochromatic
#232740 #384067 #4E588F #6C76AF #939BC4

Accessibility & contrast

On white

6.74
#4E588F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#4E588F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E588F
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E588F#FFFFFF#000000##FFFFFF
##4E588F1.006.743.126.74
#FFFFFF6.741.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#445E91
Deuteranopia (green-blind)
#3F598E
Tritanopia (blue-blind)
#38636C
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #4e588f;
/* rgb */ color: rgb(78, 88, 143);
/* oklch */ color: oklch(47.7% 0.090 274.7);
Tailwind
colors: {
  custom: {
    50: '#8387b0',
    500: '#4e588f',
    950: '#000000',
  },
}
SCSS
$custom: #4e588f;
$custom-light: #8387b0;
$custom-dark: #000000;
JSON
{
  "hex": "#4e588f",
  "rgb": {
    "r": 78,
    "g": 88,
    "b": 143
  },
  "hsl": {
    "h": 230.769,
    "s": 29.412,
    "l": 43.333
  },
  "oklch": {
    "l": 0.4772,
    "c": 0.08954,
    "h": 274.7
  },
  "luminance": 0.10582
}

Semantic roles & 50–950 ramp

primary
#4E588F
secondary
#B1AA88
accent
#B662C6
background
#F8F8FA
surface
#EFEFF4
border
#CACACE
text
#0B0B10
muted
#7C7C7F

Preview Lab

Preview with #4E588F

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

Preview Lab → · Contrast checker → · Palette generator →

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