#4E71AD#4E71AD

#4E71AD is a mid, moderate blue. Relative luminance 0.164; OKLCH L 54.9% C 0.102 H 260.7°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#4E71AD
RGBrgb(78, 113, 173)
HSLhsl(218, 38%, 49%)
HSVhsv(218, 55%, 68%)
CMYKcmyk(54.9%, 34.7%, 0%, 32.2%)
CIE-LABlab(47.55, 5.47, -35.81)
CIE-LCHlch(47.55, 36.23, 278.69°)
OKLaboklab(54.95% -0.0166 -0.1011)
OKLCHoklch(54.95% 0.102 260.7)
XYZxyz(16.5873, 16.4458, 41.8273)
Luminance0.1645 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E71AD #AD8A4E
analogous
#4EA1AD #4E71AD #5B4EAD
triadic
#4E71AD #AD4E71 #71AD4E
tetradic
#4E71AD #AD4EA1 #AD8A4E #4EAD5B
square
#4E71AD #AD4EA1 #AD8A4E #4EAD5B
split-complementary
#4E71AD #AD5B4E #A1AD4E
monochromatic
#283A59 #3B5583 #4E71AD #7792C2 #A1B4D5

Accessibility & contrast

On white

4.90
#4E71AD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#4E71AD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E71AD
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E71AD#FFFFFF#000000##FFFFFF
##4E71AD1.004.904.294.90
#FFFFFF4.901.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5976AF
Deuteranopia (green-blind)
#4D6DAC
Tritanopia (blue-blind)
#167E87
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #4e71ad;
/* rgb */ color: rgb(78, 113, 173);
/* oklch */ color: oklch(54.9% 0.102 260.7);
Tailwind
colors: {
  custom: {
    50: '#8699c5',
    500: '#4e71ad',
    950: '#000000',
  },
}
SCSS
$custom: #4e71ad;
$custom-light: #8699c5;
$custom-dark: #000000;
JSON
{
  "hex": "#4e71ad",
  "rgb": {
    "r": 78,
    "g": 113,
    "b": 173
  },
  "hsl": {
    "h": 217.895,
    "s": 37.849,
    "l": 49.216
  },
  "oklch": {
    "l": 0.54946,
    "c": 0.10244,
    "h": 260.7
  },
  "luminance": 0.16447
}

Semantic roles & 50–950 ramp

primary
#4E71AD
secondary
#C2B195
accent
#A35ACE
background
#F8F9FC
surface
#F0F2F8
border
#CBCCD1
text
#0C0D13
muted
#7D7E82

Preview Lab

Preview with #4E71AD

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

Preview Lab → · Contrast checker → · Palette generator →

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