#4E628F#4E628F

#4E628F is a mid, moderate blue. Relative luminance 0.123; OKLCH L 49.9% C 0.076 H 265.4°. Best body text is #FFFFFF at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#4E628F
RGBrgb(78, 98, 143)
HSLhsl(222, 29%, 43%)
HSVhsv(222, 45%, 56%)
CMYKcmyk(45.5%, 31.5%, 0%, 43.9%)
CIE-LABlab(41.75, 5.13, -27.17)
CIE-LCHlch(41.75, 27.65, 280.68°)
OKLaboklab(49.95% -0.0061 -0.0761)
OKLCHoklch(49.95% 0.076 265.4)
XYZxyz(12.4659, 12.3375, 27.7058)
Luminance0.1234 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E628F #8F7B4E
analogous
#4E828F #4E628F #5A4E8F
triadic
#4E628F #8F4E62 #628F4E
tetradic
#4E628F #8F4E82 #8F7B4E #4E8F5A
square
#4E628F #8F4E82 #8F7B4E #4E8F5A
split-complementary
#4E628F #8F5A4E #828F4E
monochromatic
#232C40 #384767 #4E628F #6C80AF #93A2C4

Accessibility & contrast

On white

6.06
#4E628F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#4E628F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E628F
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E628F#FFFFFF#000000##FFFFFF
##4E628F1.006.063.476.06
#FFFFFF6.061.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#526691
Deuteranopia (green-blind)
#4B608E
Tritanopia (blue-blind)
#366B72
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #4e628f;
/* rgb */ color: rgb(78, 98, 143);
/* oklch */ color: oklch(49.9% 0.076 265.4);
Tailwind
colors: {
  custom: {
    50: '#838eb0',
    500: '#4e628f',
    950: '#000000',
  },
}
SCSS
$custom: #4e628f;
$custom-light: #838eb0;
$custom-dark: #000000;
JSON
{
  "hex": "#4e628f",
  "rgb": {
    "r": 78,
    "g": 98,
    "b": 143
  },
  "hsl": {
    "h": 221.538,
    "s": 29.412,
    "l": 43.333
  },
  "oklch": {
    "l": 0.49949,
    "c": 0.07633,
    "h": 265.4
  },
  "luminance": 0.12338
}

Semantic roles & 50–950 ramp

primary
#4E628F
secondary
#B1A488
accent
#A762C6
background
#F8F8FA
surface
#EFF0F4
border
#CACBCE
text
#0B0C10
muted
#7C7D7F

Preview Lab

Preview with #4E628F

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

Preview Lab → · Contrast checker → · Palette generator →

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