#4E628A#4E628A

#4E628A is a mid, moderate blue. Relative luminance 0.122; OKLCH L 49.7% C 0.069 H 263.6°. Best body text is #FFFFFF at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#4E628A
RGBrgb(78, 98, 138)
HSLhsl(220, 28%, 42%)
HSVhsv(220, 43%, 54%)
CMYKcmyk(43.5%, 29%, 0%, 45.9%)
CIE-LABlab(41.52, 3.59, -24.52)
CIE-LCHlch(41.52, 24.79, 278.32°)
OKLaboklab(49.69% -0.0076 -0.0685)
OKLCHoklch(49.69% 0.069 263.6)
XYZxyz(12.0956, 12.1894, 25.7553)
Luminance0.1219 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E628A #8A764E
analogous
#4E808A #4E628A #584E8A
triadic
#4E628A #8A4E62 #628A4E
tetradic
#4E628A #8A4E80 #8A764E #4E8A58
square
#4E628A #8A4E80 #8A764E #4E8A58
split-complementary
#4E628A #8A584E #808A4E
monochromatic
#222A3C #384663 #4E628A #6A80AB #91A1C1

Accessibility & contrast

On white

6.11
#4E628A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#4E628A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E628A
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E628A#FFFFFF#000000##FFFFFF
##4E628A1.006.113.446.11
#FFFFFF6.111.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#54658C
Deuteranopia (green-blind)
#4D5F89
Tritanopia (blue-blind)
#396A70
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #4e628a;
/* rgb */ color: rgb(78, 98, 138);
/* oklch */ color: oklch(49.7% 0.069 263.6);
Tailwind
colors: {
  custom: {
    50: '#828eac',
    500: '#4e628a',
    950: '#000000',
  },
}
SCSS
$custom: #4e628a;
$custom-light: #828eac;
$custom-dark: #000000;
JSON
{
  "hex": "#4e628a",
  "rgb": {
    "r": 78,
    "g": 98,
    "b": 138
  },
  "hsl": {
    "h": 220,
    "s": 27.778,
    "l": 42.353
  },
  "oklch": {
    "l": 0.49692,
    "c": 0.06888,
    "h": 263.6
  },
  "luminance": 0.1219
}

Semantic roles & 50–950 ramp

primary
#4E628A
secondary
#AEA086
accent
#A464C4
background
#F8F8FA
surface
#EFF0F4
border
#CACBCE
text
#0B0C10
muted
#7C7D7F

Preview Lab

Preview with #4E628A

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

Preview Lab → · Contrast checker → · Palette generator →

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