#4E71FD#4E71FD

#4E71FD is a mid, highly saturated blue. Relative luminance 0.205; OKLCH L 60.2% C 0.212 H 268.6°. Best body text is #000000 at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#4E71FD
RGBrgb(78, 113, 253)
HSLhsl(228, 98%, 65%)
HSVhsv(228, 69%, 99%)
CMYKcmyk(69.2%, 55.3%, 0%, 0.8%)
CIE-LABlab(52.42, 32.84, -73.45)
CIE-LCHlch(52.42, 80.46, 294.09°)
OKLaboklab(60.22% -0.0051 -0.2116)
OKLCHoklch(60.22% 0.212 268.6)
XYZxyz(26.7705, 20.5191, 95.4592)
Luminance0.2052 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E71FD #FDDA4E
analogous
#4EC8FD #4E71FD #834EFD
triadic
#4E71FD #FD4E71 #71FD4E
tetradic
#4E71FD #FD4EC8 #FDDA4E #4EFD83
square
#4E71FD #FD4EC8 #FDDA4E #4EFD83
split-complementary
#4E71FD #FD834E #C8FD4E
monochromatic
#022BCE #1140FC #4E71FD #8BA2FE #C7D2FE

Accessibility & contrast

On white

4.11
#4E71FD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.10
#4E71FD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E71FD
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E71FD#FFFFFF#000000##000000
##4E71FD1.004.115.105.10
#FFFFFF4.111.0021.0021.00
#0000005.1021.001.001.00
##0000005.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#0085FF
Deuteranopia (green-blind)
#0075FA
Tritanopia (blue-blind)
#0093AC
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #4e71fd;
/* rgb */ color: rgb(78, 113, 253);
/* oklch */ color: oklch(60.2% 0.212 268.6);
Tailwind
colors: {
  custom: {
    50: '#9399ff',
    500: '#4e71fd',
    950: '#000000',
  },
}
SCSS
$custom: #4e71fd;
$custom-light: #9399ff;
$custom-dark: #000000;
JSON
{
  "hex": "#4e71fd",
  "rgb": {
    "r": 78,
    "g": 113,
    "b": 253
  },
  "hsl": {
    "h": 228,
    "s": 97.765,
    "l": 64.902
  },
  "oklch": {
    "l": 0.60221,
    "c": 0.21164,
    "h": 268.6
  },
  "luminance": 0.20522
}

Semantic roles & 50–950 ramp

primary
#4E71FD
secondary
#F1E5B6
accent
#B800E6
background
#FAF9FF
surface
#F3F2FF
border
#CDCCD7
text
#0F0D18
muted
#7F7E86

Preview Lab

Preview with #4E71FD

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

Preview Lab → · Contrast checker → · Palette generator →

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