#4E628D#4E628D

#4E628D is a mid, moderate blue. Relative luminance 0.123; OKLCH L 49.8% C 0.073 H 264.8°. Best body text is #FFFFFF at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#4E628D
RGBrgb(78, 98, 141)
HSLhsl(221, 29%, 43%)
HSVhsv(221, 45%, 55%)
CMYKcmyk(44.7%, 30.5%, 0%, 44.7%)
CIE-LABlab(41.65, 4.51, -26.12)
CIE-LCHlch(41.65, 26.50, 279.79°)
OKLaboklab(49.85% -0.0067 -0.073)
OKLCHoklch(49.85% 0.073 264.8)
XYZxyz(12.3158, 12.2775, 26.9150)
Luminance0.1228 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E628D #8D794E
analogous
#4E818D #4E628D #594E8D
triadic
#4E628D #8D4E62 #628D4E
tetradic
#4E628D #8D4E81 #8D794E #4E8D59
square
#4E628D #8D4E81 #8D794E #4E8D59
split-complementary
#4E628D #8D594E #818D4E
monochromatic
#222B3E #384766 #4E628D #6B80AD #92A2C3

Accessibility & contrast

On white

6.08
#4E628D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#4E628D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E628D
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E628D#FFFFFF#000000##FFFFFF
##4E628D1.006.083.466.08
#FFFFFF6.081.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#53658F
Deuteranopia (green-blind)
#4C608C
Tritanopia (blue-blind)
#376B71
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #4e628d;
/* rgb */ color: rgb(78, 98, 141);
/* oklch */ color: oklch(49.8% 0.073 264.8);
Tailwind
colors: {
  custom: {
    50: '#828eae',
    500: '#4e628d',
    950: '#000000',
  },
}
SCSS
$custom: #4e628d;
$custom-light: #828eae;
$custom-dark: #000000;
JSON
{
  "hex": "#4e628d",
  "rgb": {
    "r": 78,
    "g": 98,
    "b": 141
  },
  "hsl": {
    "h": 220.952,
    "s": 28.767,
    "l": 42.941
  },
  "oklch": {
    "l": 0.49845,
    "c": 0.07335,
    "h": 264.8
  },
  "luminance": 0.12278
}

Semantic roles & 50–950 ramp

primary
#4E628D
secondary
#AFA387
accent
#A663C5
background
#F8F8FA
surface
#EFF0F4
border
#CACBCE
text
#0B0C10
muted
#7C7D7F

Preview Lab

Preview with #4E628D

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

Preview Lab → · Contrast checker → · Palette generator →

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