#4E71AA#4E71AA

#4E71AA is a mid, moderate blue. Relative luminance 0.163; OKLCH L 54.8% C 0.098 H 259.8°. Best body text is #FFFFFF at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#4E71AA
RGBrgb(78, 113, 170)
HSLhsl(217, 37%, 49%)
HSVhsv(217, 54%, 67%)
CMYKcmyk(54.1%, 33.5%, 0%, 33.3%)
CIE-LABlab(47.41, 4.49, -34.30)
CIE-LCHlch(47.41, 34.59, 277.46°)
OKLaboklab(54.78% -0.0174 -0.0967)
OKLCHoklch(54.78% 0.098 259.8)
XYZxyz(16.3002, 16.3310, 40.3157)
Luminance0.1633 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E71AA #AA874E
analogous
#4E9FAA #4E71AA #594EAA
triadic
#4E71AA #AA4E71 #71AA4E
tetradic
#4E71AA #AA4E9F #AA874E #4EAA59
square
#4E71AA #AA4E9F #AA874E #4EAA59
split-complementary
#4E71AA #AA594E #9FAA4E
monochromatic
#283956 #3B5580 #4E71AA #7592C0 #9FB3D3

Accessibility & contrast

On white

4.92
#4E71AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.27
#4E71AA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E71AA
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E71AA#FFFFFF#000000##FFFFFF
##4E71AA1.004.924.274.92
#FFFFFF4.921.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A75AC
Deuteranopia (green-blind)
#4F6DA9
Tritanopia (blue-blind)
#1B7E86
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #4e71aa;
/* rgb */ color: rgb(78, 113, 170);
/* oklch */ color: oklch(54.8% 0.098 259.8);
Tailwind
colors: {
  custom: {
    50: '#8699c3',
    500: '#4e71aa',
    950: '#000000',
  },
}
SCSS
$custom: #4e71aa;
$custom-light: #8699c3;
$custom-dark: #000000;
JSON
{
  "hex": "#4e71aa",
  "rgb": {
    "r": 78,
    "g": 113,
    "b": 170
  },
  "hsl": {
    "h": 217.174,
    "s": 37.097,
    "l": 48.627
  },
  "oklch": {
    "l": 0.54782,
    "c": 0.09823,
    "h": 259.8
  },
  "luminance": 0.16332
}

Semantic roles & 50–950 ramp

primary
#4E71AA
secondary
#C0AF94
accent
#A25BCD
background
#F8F9FC
surface
#F0F2F8
border
#CBCCD1
text
#0C0D12
muted
#7D7E81

Preview Lab

Preview with #4E71AA

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

Preview Lab → · Contrast checker → · Palette generator →

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