#4E71D3#4E71D3

#4E71D3 is a mid, vivid blue. Relative luminance 0.181; OKLCH L 57.2% C 0.156 H 266.7°. Best body text is #000000 at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#4E71D3
RGBrgb(78, 113, 211)
HSLhsl(224, 60%, 57%)
HSVhsv(224, 63%, 83%)
CMYKcmyk(63%, 46.4%, 0%, 17.3%)
CIE-LABlab(49.65, 18.32, -54.35)
CIE-LCHlch(49.65, 57.36, 288.62°)
OKLaboklab(57.25% -0.0089 -0.1554)
OKLCHoklch(57.25% 0.156 266.7)
XYZxyz(20.8008, 18.1312, 64.0189)
Luminance0.1813 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E71D3 #D3B04E
analogous
#4EB3D3 #4E71D3 #6E4ED3
triadic
#4E71D3 #D34E71 #71D34E
tetradic
#4E71D3 #D34EB3 #D3B04E #4ED36E
square
#4E71D3 #D34EB3 #D3B04E #4ED36E
split-complementary
#4E71D3 #D36E4E #B3D34E
monochromatic
#213C85 #2D51B6 #4E71D3 #7F98DF #B0C0EB

Accessibility & contrast

On white

4.54
#4E71D3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.63
#4E71D3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E71D3
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E71D3#FFFFFF#000000##000000
##4E71D31.004.544.634.63
#FFFFFF4.541.0021.0021.00
#0000004.6321.001.001.00
##0000004.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#407CD7
Deuteranopia (green-blind)
#2870D1
Tritanopia (blue-blind)
#008798
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #4e71d3;
/* rgb */ color: rgb(78, 113, 211);
/* oklch */ color: oklch(57.2% 0.156 266.7);
Tailwind
colors: {
  custom: {
    50: '#8c99e1',
    500: '#4e71d3',
    950: '#000000',
  },
}
SCSS
$custom: #4e71d3;
$custom-light: #8c99e1;
$custom-dark: #000000;
JSON
{
  "hex": "#4e71d3",
  "rgb": {
    "r": 78,
    "g": 113,
    "b": 211
  },
  "hsl": {
    "h": 224.211,
    "s": 60.181,
    "l": 56.667
  },
  "oklch": {
    "l": 0.57248,
    "c": 0.15565,
    "h": 266.7
  },
  "luminance": 0.18133
}

Semantic roles & 50–950 ramp

primary
#4E71D3
secondary
#DACBA3
accent
#BA44E3
background
#F9F9FD
surface
#F1F2FB
border
#CBCCD4
text
#0D0D15
muted
#7E7E83

Preview Lab

Preview with #4E71D3

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

Preview Lab → · Contrast checker → · Palette generator →

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