#4E628C#4E628C

#4E628C is a mid, moderate blue. Relative luminance 0.122; OKLCH L 49.8% C 0.072 H 264.4°. Best body text is #FFFFFF at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#4E628C
RGBrgb(78, 98, 140)
HSLhsl(221, 28%, 43%)
HSVhsv(221, 44%, 55%)
CMYKcmyk(44.3%, 30%, 0%, 45.1%)
CIE-LABlab(41.61, 4.20, -25.59)
CIE-LCHlch(41.61, 25.93, 279.32°)
OKLaboklab(49.79% -0.007 -0.0715)
OKLCHoklch(49.79% 0.072 264.4)
XYZxyz(12.2417, 12.2478, 26.5249)
Luminance0.1225 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E628C #8C784E
analogous
#4E818C #4E628C #594E8C
triadic
#4E628C #8C4E62 #628C4E
tetradic
#4E628C #8C4E81 #8C784E #4E8C59
square
#4E628C #8C4E81 #8C784E #4E8C59
split-complementary
#4E628C #8C594E #818C4E
monochromatic
#222B3D #384665 #4E628C #6B80AC #92A2C2

Accessibility & contrast

On white

6.09
#4E628C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#4E628C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E628C
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E628C#FFFFFF#000000##FFFFFF
##4E628C1.006.093.456.09
#FFFFFF6.091.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#53658E
Deuteranopia (green-blind)
#4D608B
Tritanopia (blue-blind)
#386B71
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #4e628c;
/* rgb */ color: rgb(78, 98, 140);
/* oklch */ color: oklch(49.8% 0.072 264.4);
Tailwind
colors: {
  custom: {
    50: '#828ead',
    500: '#4e628c',
    950: '#000000',
  },
}
SCSS
$custom: #4e628c;
$custom-light: #828ead;
$custom-dark: #000000;
JSON
{
  "hex": "#4e628c",
  "rgb": {
    "r": 78,
    "g": 98,
    "b": 140
  },
  "hsl": {
    "h": 220.645,
    "s": 28.44,
    "l": 42.745
  },
  "oklch": {
    "l": 0.49794,
    "c": 0.07186,
    "h": 264.4
  },
  "luminance": 0.12249
}

Semantic roles & 50–950 ramp

primary
#4E628C
secondary
#AFA287
accent
#A563C5
background
#F8F8FA
surface
#EFF0F4
border
#CACBCE
text
#0B0C10
muted
#7C7D7F

Preview Lab

Preview with #4E628C

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

Preview Lab → · Contrast checker → · Palette generator →

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