#4E71D6#4E71D6

#4E71D6 is a mid, vivid blue. Relative luminance 0.183; OKLCH L 57.4% C 0.160 H 267.0°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#4E71D6
RGBrgb(78, 113, 214)
HSLhsl(225, 62%, 57%)
HSVhsv(225, 64%, 84%)
CMYKcmyk(63.6%, 47.2%, 0%, 16.1%)
CIE-LABlab(49.84, 19.35, -55.76)
CIE-LCHlch(49.84, 59.03, 289.14°)
OKLaboklab(57.45% -0.0085 -0.1595)
OKLCHoklch(57.45% 0.16 267)
XYZxyz(21.1804, 18.2831, 66.0181)
Luminance0.1829 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E71D6 #D6B34E
analogous
#4EB5D6 #4E71D6 #6F4ED6
triadic
#4E71D6 #D64E71 #71D64E
tetradic
#4E71D6 #D64EB5 #D6B34E #4ED66F
square
#4E71D6 #D64EB5 #D6B34E #4ED66F
split-complementary
#4E71D6 #D66F4E #B5D64E
monochromatic
#203B8A #2B50BB #4E71D6 #8099E2 #B1C1ED

Accessibility & contrast

On white

4.51
#4E71D6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.66
#4E71D6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E71D6
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E71D6#FFFFFF#000000##000000
##4E71D61.004.514.664.66
#FFFFFF4.511.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3E7DDA
Deuteranopia (green-blind)
#2371D4
Tritanopia (blue-blind)
#008899
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #4e71d6;
/* rgb */ color: rgb(78, 113, 214);
/* oklch */ color: oklch(57.4% 0.160 267.0);
Tailwind
colors: {
  custom: {
    50: '#8c99e3',
    500: '#4e71d6',
    950: '#000000',
  },
}
SCSS
$custom: #4e71d6;
$custom-light: #8c99e3;
$custom-dark: #000000;
JSON
{
  "hex": "#4e71d6",
  "rgb": {
    "r": 78,
    "g": 113,
    "b": 214
  },
  "hsl": {
    "h": 224.559,
    "s": 62.385,
    "l": 57.255
  },
  "oklch": {
    "l": 0.57447,
    "c": 0.15977,
    "h": 267
  },
  "luminance": 0.18285
}

Semantic roles & 50–950 ramp

primary
#4E71D6
secondary
#DBCDA4
accent
#BB42E5
background
#F9F9FE
surface
#F1F2FC
border
#CBCCD5
text
#0D0D15
muted
#7E7E84

Preview Lab

Preview with #4E71D6

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

Preview Lab → · Contrast checker → · Palette generator →

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