#4E71A2#4E71A2

#4E71A2 is a mid, moderate blue. Relative luminance 0.160; OKLCH L 54.4% C 0.087 H 256.9°. Best body text is #FFFFFF at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#4E71A2
RGBrgb(78, 113, 162)
HSLhsl(215, 35%, 47%)
HSVhsv(215, 52%, 64%)
CMYKcmyk(51.9%, 30.2%, 0%, 36.5%)
CIE-LABlab(47.02, 1.91, -30.21)
CIE-LCHlch(47.02, 30.27, 273.61°)
OKLaboklab(54.36% -0.0197 -0.0848)
OKLCHoklch(54.36% 0.087 256.9)
XYZxyz(15.5664, 16.0375, 36.4507)
Luminance0.1604 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E71A2 #A27F4E
analogous
#4E9BA2 #4E71A2 #554EA2
triadic
#4E71A2 #A24E71 #71A24E
tetradic
#4E71A2 #A24E9B #A27F4E #4EA255
square
#4E71A2 #A24E9B #A27F4E #4EA255
split-complementary
#4E71A2 #A2554E #9BA24E
monochromatic
#26374F #3A5479 #4E71A2 #7291BB #9BB1CF

Accessibility & contrast

On white

4.99
#4E71A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #4E71A2
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E71A2#FFFFFF#000000##FFFFFF
##4E71A21.004.994.214.99
#FFFFFF4.991.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E74A4
Deuteranopia (green-blind)
#546CA1
Tritanopia (blue-blind)
#257C82
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #4e71a2;
/* rgb */ color: rgb(78, 113, 162);
/* oklch */ color: oklch(54.4% 0.087 256.9);
Tailwind
colors: {
  custom: {
    50: '#8599bd',
    500: '#4e71a2',
    950: '#000000',
  },
}
SCSS
$custom: #4e71a2;
$custom-light: #8599bd;
$custom-dark: #000000;
JSON
{
  "hex": "#4e71a2",
  "rgb": {
    "r": 78,
    "g": 113,
    "b": 162
  },
  "hsl": {
    "h": 215,
    "s": 35,
    "l": 47.059
  },
  "oklch": {
    "l": 0.54358,
    "c": 0.08708,
    "h": 256.9
  },
  "luminance": 0.16039
}

Semantic roles & 50–950 ramp

primary
#4E71A2
secondary
#BCAA90
accent
#9D5DCB
background
#F8F9FB
surface
#F0F2F6
border
#CBCCD0
text
#0B0D12
muted
#7C7E81

Preview Lab

Preview with #4E71A2

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

Preview Lab → · Contrast checker → · Palette generator →

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