#4E71C3#4E71C3

#4E71C3 is a mid, vivid blue. Relative luminance 0.174; OKLCH L 56.2% C 0.133 H 265.0°. Best body text is #FFFFFF at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#4E71C3
RGBrgb(78, 113, 195)
HSLhsl(222, 49%, 54%)
HSVhsv(222, 60%, 76%)
CMYKcmyk(60%, 42.1%, 0%, 23.5%)
CIE-LABlab(48.72, 12.84, -46.70)
CIE-LCHlch(48.72, 48.43, 285.37°)
OKLaboklab(56.23% -0.0116 -0.1329)
OKLCHoklch(56.23% 0.133 265)
XYZxyz(18.8940, 17.3685, 53.9760)
Luminance0.1737 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E71C3 #C3A04E
analogous
#4EABC3 #4E71C3 #654EC3
triadic
#4E71C3 #C34E71 #71C34E
tetradic
#4E71C3 #C34EAB #C3A04E #4EC365
square
#4E71C3 #C34EAB #C3A04E #4EC365
split-complementary
#4E71C3 #C3654E #ABC34E
monochromatic
#263C70 #36559E #4E71C3 #7C96D2 #A9BAE2

Accessibility & contrast

On white

4.69
#4E71C3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#4E71C3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E71C3
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E71C3#FFFFFF#000000##FFFFFF
##4E71C31.004.694.474.69
#FFFFFF4.691.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D79C6
Deuteranopia (green-blind)
#3C6FC1
Tritanopia (blue-blind)
#008390
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #4e71c3;
/* rgb */ color: rgb(78, 113, 195);
/* oklch */ color: oklch(56.2% 0.133 265.0);
Tailwind
colors: {
  custom: {
    50: '#8999d5',
    500: '#4e71c3',
    950: '#000000',
  },
}
SCSS
$custom: #4e71c3;
$custom-light: #8999d5;
$custom-dark: #000000;
JSON
{
  "hex": "#4e71c3",
  "rgb": {
    "r": 78,
    "g": 113,
    "b": 195
  },
  "hsl": {
    "h": 222.051,
    "s": 49.367,
    "l": 53.529
  },
  "oklch": {
    "l": 0.5623,
    "c": 0.13342,
    "h": 265
  },
  "luminance": 0.1737
}

Semantic roles & 50–950 ramp

primary
#4E71C3
secondary
#CFC09D
accent
#B04FD9
background
#F8F9FD
surface
#F0F2FA
border
#CBCCD3
text
#0C0D14
muted
#7D7E83

Preview Lab

Preview with #4E71C3

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

Preview Lab → · Contrast checker → · Palette generator →

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