#4C71EF#4C71EF

#4C71EF is a mid, vivid blue. Relative luminance 0.196; OKLCH L 59.1% C 0.194 H 267.7°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#4C71EF
RGBrgb(76, 113, 239)
HSLhsl(226, 84%, 62%)
HSVhsv(226, 68%, 94%)
CMYKcmyk(68.2%, 52.7%, 0%, 6.3%)
CIE-LABlab(51.35, 27.71, -67.40)
CIE-LCHlch(51.35, 72.87, 292.35°)
OKLaboklab(59.09% -0.0077 -0.1938)
OKLCHoklch(59.09% 0.194 267.7)
XYZxyz(24.4602, 19.5763, 84.1342)
Luminance0.1958 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C71EF #EFCA4C
analogous
#4CC3EF #4C71EF #784CEF
triadic
#4C71EF #EF4C71 #71EF4C
tetradic
#4C71EF #EF4CC3 #EFCA4C #4CEF78
square
#4C71EF #EF4CC3 #EFCA4C #4CEF78
split-complementary
#4C71EF #EF784C #C3EF4C
monochromatic
#1034B1 #1545E9 #4C71EF #849EF4 #BCCAF9

Accessibility & contrast

On white

4.27
#4C71EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.92
#4C71EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4C71EF
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C71EF#FFFFFF#000000##000000
##4C71EF1.004.274.924.92
#FFFFFF4.271.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#1682F3
Deuteranopia (green-blind)
#0073EC
Tritanopia (blue-blind)
#008FA5
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #4c71ef;
/* rgb */ color: rgb(76, 113, 239);
/* oklch */ color: oklch(59.1% 0.194 267.7);
Tailwind
colors: {
  custom: {
    50: '#9099f5',
    500: '#4c71ef',
    950: '#000000',
  },
}
SCSS
$custom: #4c71ef;
$custom-light: #9099f5;
$custom-dark: #000000;
JSON
{
  "hex": "#4c71ef",
  "rgb": {
    "r": 76,
    "g": 113,
    "b": 239
  },
  "hsl": {
    "h": 226.38,
    "s": 83.59,
    "l": 61.765
  },
  "oklch": {
    "l": 0.59088,
    "c": 0.19396,
    "h": 267.7
  },
  "luminance": 0.19579
}

Semantic roles & 50–950 ramp

primary
#4C71EF
secondary
#EADCAD
accent
#AE05E0
background
#F9F9FF
surface
#F2F2FE
border
#CCCCD6
text
#0E0D17
muted
#7E7E85

Preview Lab

Preview with #4C71EF

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

Preview Lab → · Contrast checker → · Palette generator →

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