#4E71A9#4E71A9

#4E71A9 is a mid, moderate blue. Relative luminance 0.163; OKLCH L 54.7% C 0.097 H 259.5°. Best body text is #FFFFFF at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#4E71A9
RGBrgb(78, 113, 169)
HSLhsl(217, 37%, 48%)
HSVhsv(217, 54%, 66%)
CMYKcmyk(53.8%, 33.1%, 0%, 33.7%)
CIE-LABlab(47.36, 4.17, -33.79)
CIE-LCHlch(47.36, 34.04, 277.03°)
OKLaboklab(54.73% -0.0177 -0.0952)
OKLCHoklch(54.73% 0.097 259.5)
XYZxyz(16.2060, 16.2933, 39.8194)
Luminance0.1630 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E71A9 #A9864E
analogous
#4E9EA9 #4E71A9 #584EA9
triadic
#4E71A9 #A94E71 #71A94E
tetradic
#4E71A9 #A94E9E #A9864E #4EA958
square
#4E71A9 #A94E9E #A9864E #4EA958
split-complementary
#4E71A9 #A9584E #9EA94E
monochromatic
#273955 #3B557F #4E71A9 #7592BF #9FB3D3

Accessibility & contrast

On white

4.93
#4E71A9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.26
#4E71A9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E71A9
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E71A9#FFFFFF#000000##FFFFFF
##4E71A91.004.934.264.93
#FFFFFF4.931.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B75AB
Deuteranopia (green-blind)
#506CA8
Tritanopia (blue-blind)
#1D7D85
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #4e71a9;
/* rgb */ color: rgb(78, 113, 169);
/* oklch */ color: oklch(54.7% 0.097 259.5);
Tailwind
colors: {
  custom: {
    50: '#8699c3',
    500: '#4e71a9',
    950: '#000000',
  },
}
SCSS
$custom: #4e71a9;
$custom-light: #8699c3;
$custom-dark: #000000;
JSON
{
  "hex": "#4e71a9",
  "rgb": {
    "r": 78,
    "g": 113,
    "b": 169
  },
  "hsl": {
    "h": 216.923,
    "s": 36.842,
    "l": 48.431
  },
  "oklch": {
    "l": 0.54728,
    "c": 0.09682,
    "h": 259.5
  },
  "luminance": 0.16295
}

Semantic roles & 50–950 ramp

primary
#4E71A9
secondary
#BFAE93
accent
#A15BCD
background
#F8F9FC
surface
#F0F2F8
border
#CBCCD1
text
#0C0D12
muted
#7D7E81

Preview Lab

Preview with #4E71A9

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

Preview Lab → · Contrast checker → · Palette generator →

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