#4E71A3#4E71A3

#4E71A3 is a mid, moderate blue. Relative luminance 0.161; OKLCH L 54.4% C 0.088 H 257.3°. Best body text is #FFFFFF at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#4E71A3
RGBrgb(78, 113, 163)
HSLhsl(215, 35%, 47%)
HSVhsv(215, 52%, 64%)
CMYKcmyk(52.1%, 30.7%, 0%, 36.1%)
CIE-LABlab(47.07, 2.23, -30.72)
CIE-LCHlch(47.07, 30.80, 274.15°)
OKLaboklab(54.41% -0.0194 -0.0863)
OKLCHoklch(54.41% 0.088 257.3)
XYZxyz(15.6556, 16.0731, 36.9207)
Luminance0.1607 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E71A3 #A3804E
analogous
#4E9CA3 #4E71A3 #554EA3
triadic
#4E71A3 #A34E71 #71A34E
tetradic
#4E71A3 #A34E9C #A3804E #4EA355
square
#4E71A3 #A34E9C #A3804E #4EA355
split-complementary
#4E71A3 #A3554E #9CA34E
monochromatic
#263850 #3A547A #4E71A3 #7291BC #9CB1D0

Accessibility & contrast

On white

4.98
#4E71A3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.21
#4E71A3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E71A3
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E71A3#FFFFFF#000000##FFFFFF
##4E71A31.004.984.214.98
#FFFFFF4.981.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D74A5
Deuteranopia (green-blind)
#536CA2
Tritanopia (blue-blind)
#247C83
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #4e71a3;
/* rgb */ color: rgb(78, 113, 163);
/* oklch */ color: oklch(54.4% 0.088 257.3);
Tailwind
colors: {
  custom: {
    50: '#8599be',
    500: '#4e71a3',
    950: '#000000',
  },
}
SCSS
$custom: #4e71a3;
$custom-light: #8599be;
$custom-dark: #000000;
JSON
{
  "hex": "#4e71a3",
  "rgb": {
    "r": 78,
    "g": 113,
    "b": 163
  },
  "hsl": {
    "h": 215.294,
    "s": 35.27,
    "l": 47.255
  },
  "oklch": {
    "l": 0.5441,
    "c": 0.08847,
    "h": 257.3
  },
  "luminance": 0.16074
}

Semantic roles & 50–950 ramp

primary
#4E71A3
secondary
#BCAA91
accent
#9E5CCB
background
#F8F9FB
surface
#F0F2F7
border
#CBCCD0
text
#0B0D12
muted
#7C7E81

Preview Lab

Preview with #4E71A3

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

Preview Lab → · Contrast checker → · Palette generator →

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