#4E6CA7#4E6CA7

#4E6CA7 is a mid, moderate blue. Relative luminance 0.151; OKLCH L 53.5% C 0.100 H 263.0°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#4E6CA7
RGBrgb(78, 108, 167)
HSLhsl(220, 36%, 48%)
HSVhsv(220, 53%, 65%)
CMYKcmyk(53.3%, 35.3%, 0%, 34.5%)
CIE-LABlab(45.82, 6.59, -35.04)
CIE-LCHlch(45.82, 35.65, 280.64°)
OKLaboklab(53.5% -0.0122 -0.0989)
OKLCHoklch(53.5% 0.1 263)
XYZxyz(15.4772, 15.1337, 38.6572)
Luminance0.1514 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E6CA7 #A7894E
analogous
#4E99A7 #4E6CA7 #5C4EA7
triadic
#4E6CA7 #A74E6C #6CA74E
tetradic
#4E6CA7 #A74E99 #A7894E #4EA75C
square
#4E6CA7 #A74E99 #A7894E #4EA75C
split-complementary
#4E6CA7 #A75C4E #99A74E
monochromatic
#273654 #3B517D #4E6CA7 #748DBE #9EAFD2

Accessibility & contrast

On white

5.21
#4E6CA7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#4E6CA7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E6CA7
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E6CA7#FFFFFF#000000##FFFFFF
##4E6CA71.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5571A9
Deuteranopia (green-blind)
#4A69A6
Tritanopia (blue-blind)
#217982
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #4e6ca7;
/* rgb */ color: rgb(78, 108, 167);
/* oklch */ color: oklch(53.5% 0.100 263.0);
Tailwind
colors: {
  custom: {
    50: '#8595c1',
    500: '#4e6ca7',
    950: '#000000',
  },
}
SCSS
$custom: #4e6ca7;
$custom-light: #8595c1;
$custom-dark: #000000;
JSON
{
  "hex": "#4e6ca7",
  "rgb": {
    "r": 78,
    "g": 108,
    "b": 167
  },
  "hsl": {
    "h": 219.775,
    "s": 36.327,
    "l": 48.039
  },
  "oklch": {
    "l": 0.53497,
    "c": 0.09962,
    "h": 263
  },
  "luminance": 0.15135
}

Semantic roles & 50–950 ramp

primary
#4E6CA7
secondary
#BEB092
accent
#A65BCC
background
#F8F9FB
surface
#F0F1F7
border
#CBCBD0
text
#0B0D12
muted
#7C7E81

Preview Lab

Preview with #4E6CA7

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

Preview Lab → · Contrast checker → · Palette generator →

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