#4E71AF#4E71AF

#4E71AF is a mid, moderate blue. Relative luminance 0.165; OKLCH L 55.1% C 0.105 H 261.2°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#4E71AF
RGBrgb(78, 113, 175)
HSLhsl(218, 38%, 50%)
HSVhsv(218, 55%, 69%)
CMYKcmyk(55.4%, 35.4%, 0%, 31.4%)
CIE-LABlab(47.65, 6.13, -36.82)
CIE-LCHlch(47.65, 37.33, 279.46°)
OKLaboklab(55.06% -0.0161 -0.104)
OKLCHoklch(55.06% 0.105 261.2)
XYZxyz(16.7822, 16.5238, 42.8542)
Luminance0.1653 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E71AF #AF8C4E
analogous
#4EA1AF #4E71AF #5C4EAF
triadic
#4E71AF #AF4E71 #71AF4E
tetradic
#4E71AF #AF4EA1 #AF8C4E #4EAF5C
square
#4E71AF #AF4EA1 #AF8C4E #4EAF5C
split-complementary
#4E71AF #AF5C4E #A1AF4E
monochromatic
#283A5A #3B5685 #4E71AF #7893C3 #A2B5D6

Accessibility & contrast

On white

4.88
#4E71AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#4E71AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E71AF
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E71AF#FFFFFF#000000##FFFFFF
##4E71AF1.004.884.314.88
#FFFFFF4.881.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5876B2
Deuteranopia (green-blind)
#4C6DAE
Tritanopia (blue-blind)
#137F88
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #4e71af;
/* rgb */ color: rgb(78, 113, 175);
/* oklch */ color: oklch(55.1% 0.105 261.2);
Tailwind
colors: {
  custom: {
    50: '#8699c7',
    500: '#4e71af',
    950: '#000000',
  },
}
SCSS
$custom: #4e71af;
$custom-light: #8699c7;
$custom-dark: #000000;
JSON
{
  "hex": "#4e71af",
  "rgb": {
    "r": 78,
    "g": 113,
    "b": 175
  },
  "hsl": {
    "h": 218.351,
    "s": 38.34,
    "l": 49.608
  },
  "oklch": {
    "l": 0.55057,
    "c": 0.10526,
    "h": 261.2
  },
  "luminance": 0.16525
}

Semantic roles & 50–950 ramp

primary
#4E71AF
secondary
#C3B396
accent
#A45ACE
background
#F8F9FC
surface
#F0F2F8
border
#CBCCD1
text
#0C0D13
muted
#7D7E82

Preview Lab

Preview with #4E71AF

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

Preview Lab → · Contrast checker → · Palette generator →

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