#4E71FC#4E71FC

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

Color values

HEX#4E71FC
RGBrgb(78, 113, 252)
HSLhsl(228, 97%, 65%)
HSVhsv(228, 69%, 99%)
CMYKcmyk(69%, 55.2%, 0%, 1.2%)
CIE-LABlab(52.35, 32.50, -73.01)
CIE-LCHlch(52.35, 79.92, 293.99°)
OKLaboklab(60.15% -0.0052 -0.2103)
OKLCHoklch(60.15% 0.21 268.6)
XYZxyz(26.6117, 20.4556, 94.6224)
Luminance0.2046 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E71FC #FCD94E
analogous
#4EC8FC #4E71FC #824EFC
triadic
#4E71FC #FC4E71 #71FC4E
tetradic
#4E71FC #FC4EC8 #FCD94E #4EFC82
square
#4E71FC #FC4EC8 #FCD94E #4EFC82
split-complementary
#4E71FC #FC824E #C8FC4E
monochromatic
#032CCC #1241FB #4E71FC #8AA1FD #C6D2FE

Accessibility & contrast

On white

4.12
#4E71FC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.09
#4E71FC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E71FC
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E71FC#FFFFFF#000000##000000
##4E71FC1.004.125.095.09
#FFFFFF4.121.0021.0021.00
#0000005.0921.001.001.00
##0000005.0921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4e71fc;
/* rgb */ color: rgb(78, 113, 252);
/* oklch */ color: oklch(60.1% 0.210 268.6);
Tailwind
colors: {
  custom: {
    50: '#9399fe',
    500: '#4e71fc',
    950: '#000000',
  },
}
SCSS
$custom: #4e71fc;
$custom-light: #9399fe;
$custom-dark: #000000;
JSON
{
  "hex": "#4e71fc",
  "rgb": {
    "r": 78,
    "g": 113,
    "b": 252
  },
  "hsl": {
    "h": 227.931,
    "s": 96.667,
    "l": 64.706
  },
  "oklch": {
    "l": 0.60145,
    "c": 0.21035,
    "h": 268.6
  },
  "luminance": 0.20458
}

Semantic roles & 50–950 ramp

primary
#4E71FC
secondary
#F1E5B5
accent
#B700E6
background
#F9F9FF
surface
#F2F2FF
border
#CCCCD7
text
#0F0D18
muted
#7E7E86

Preview Lab

Preview with #4E71FC

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

Preview Lab → · Contrast checker → · Palette generator →

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