#4E71FE#4E71FE

#4E71FE is a mid, highly saturated blue. Relative luminance 0.206; OKLCH L 60.3% C 0.213 H 268.6°. Best body text is #000000 at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#4E71FE
RGBrgb(78, 113, 254)
HSLhsl(228, 99%, 65%)
HSVhsv(228, 69%, 100%)
CMYKcmyk(69.3%, 55.5%, 0%, 0.4%)
CIE-LABlab(52.49, 33.18, -73.89)
CIE-LCHlch(52.49, 81.00, 294.18°)
OKLaboklab(60.3% -0.0051 -0.2129)
OKLCHoklch(60.3% 0.213 268.6)
XYZxyz(26.9302, 20.5830, 96.3004)
Luminance0.2059 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E71FE #FEDB4E
analogous
#4EC9FE #4E71FE #834EFE
triadic
#4E71FE #FE4E71 #71FE4E
tetradic
#4E71FE #FE4EC9 #FEDB4E #4EFE83
square
#4E71FE #FE4EC9 #FEDB4E #4EFE83
split-complementary
#4E71FE #FE834E #C9FE4E
monochromatic
#012AD0 #1140FE #4E71FE #8BA2FE #C8D3FF

Accessibility & contrast

On white

4.10
#4E71FE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.12
#4E71FE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E71FE
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E71FE#FFFFFF#000000##000000
##4E71FE1.004.105.125.12
#FFFFFF4.101.0021.0021.00
#0000005.1221.001.001.00
##0000005.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#0086FF
Deuteranopia (green-blind)
#0075FB
Tritanopia (blue-blind)
#0094AD
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #4e71fe;
/* rgb */ color: rgb(78, 113, 254);
/* oklch */ color: oklch(60.3% 0.213 268.6);
Tailwind
colors: {
  custom: {
    50: '#9499ff',
    500: '#4e71fe',
    950: '#000000',
  },
}
SCSS
$custom: #4e71fe;
$custom-light: #9499ff;
$custom-dark: #000000;
JSON
{
  "hex": "#4e71fe",
  "rgb": {
    "r": 78,
    "g": 113,
    "b": 254
  },
  "hsl": {
    "h": 228.068,
    "s": 98.876,
    "l": 65.098
  },
  "oklch": {
    "l": 0.60296,
    "c": 0.21293,
    "h": 268.6
  },
  "luminance": 0.20586
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4E71FE

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

Preview Lab → · Contrast checker → · Palette generator →

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