#4E678A#4E678A

#4E678A is a mid, moderate blue. Relative luminance 0.132; OKLCH L 50.8% C 0.064 H 256.9°. Best body text is #FFFFFF at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#4E678A
RGBrgb(78, 103, 138)
HSLhsl(215, 28%, 42%)
HSVhsv(215, 43%, 54%)
CMYKcmyk(43.5%, 25.4%, 0%, 45.9%)
CIE-LABlab(42.99, 0.51, -22.23)
CIE-LCHlch(42.99, 22.24, 271.31°)
OKLaboklab(50.85% -0.0144 -0.0619)
OKLCHoklch(50.85% 0.064 256.9)
XYZxyz(12.5781, 13.1544, 25.9161)
Luminance0.1316 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E678A #8A714E
analogous
#4E858A #4E678A #534E8A
triadic
#4E678A #8A4E67 #678A4E
tetradic
#4E678A #8A4E85 #8A714E #4E8A53
square
#4E678A #8A4E85 #8A714E #4E8A53
split-complementary
#4E678A #8A534E #858A4E
monochromatic
#222D3C #384A63 #4E678A #6A85AB #91A5C1

Accessibility & contrast

On white

5.78
#4E678A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#4E678A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E678A
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E678A#FFFFFF#000000##FFFFFF
##4E678A1.005.783.635.78
#FFFFFF5.781.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A698C
Deuteranopia (green-blind)
#536389
Tritanopia (blue-blind)
#386F73
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #4e678a;
/* rgb */ color: rgb(78, 103, 138);
/* oklch */ color: oklch(50.8% 0.064 256.9);
Tailwind
colors: {
  custom: {
    50: '#8292ac',
    500: '#4e678a',
    950: '#000000',
  },
}
SCSS
$custom: #4e678a;
$custom-light: #8292ac;
$custom-dark: #000000;
JSON
{
  "hex": "#4e678a",
  "rgb": {
    "r": 78,
    "g": 103,
    "b": 138
  },
  "hsl": {
    "h": 215,
    "s": 27.778,
    "l": 42.353
  },
  "oklch": {
    "l": 0.50848,
    "c": 0.06353,
    "h": 256.9
  },
  "luminance": 0.13155
}

Semantic roles & 50–950 ramp

primary
#4E678A
secondary
#AE9D86
accent
#9C64C4
background
#F8F8FA
surface
#EFF0F4
border
#CACBCE
text
#0B0D10
muted
#7C7D7F

Preview Lab

Preview with #4E678A

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

Preview Lab → · Contrast checker → · Palette generator →

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