#4B71E4#4B71E4

#4B71E4 is a mid, vivid blue. Relative luminance 0.189; OKLCH L 58.3% C 0.180 H 266.9°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#4B71E4
RGBrgb(75, 113, 228)
HSLhsl(225, 74%, 59%)
HSVhsv(225, 67%, 89%)
CMYKcmyk(67.1%, 50.4%, 0%, 10.6%)
CIE-LABlab(50.58, 23.73, -62.49)
CIE-LCHlch(50.58, 66.85, 290.79°)
OKLaboklab(58.25% -0.0096 -0.1794)
OKLCHoklch(58.25% 0.18 266.9)
XYZxyz(22.8055, 18.9053, 75.8310)
Luminance0.1891 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B71E4 #E4BE4B
analogous
#4BBEE4 #4B71E4 #724BE4
triadic
#4B71E4 #E44B71 #71E44B
tetradic
#4B71E4 #E44BBE #E4BE4B #4BE472
square
#4B71E4 #E44BBE #E4BE4B #4BE472
split-complementary
#4B71E4 #E4724B #BEE44B
monochromatic
#18399D #204CD2 #4B71E4 #809BEC #B5C5F4

Accessibility & contrast

On white

4.39
#4B71E4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.78
#4B71E4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4B71E4
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B71E4#FFFFFF#000000##000000
##4B71E41.004.394.784.78
#FFFFFF4.391.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#2C80E8
Deuteranopia (green-blind)
#0072E2
Tritanopia (blue-blind)
#008CA0
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #4b71e4;
/* rgb */ color: rgb(75, 113, 228);
/* oklch */ color: oklch(58.3% 0.180 266.9);
Tailwind
colors: {
  custom: {
    50: '#8d99ed',
    500: '#4b71e4',
    950: '#000000',
  },
}
SCSS
$custom: #4b71e4;
$custom-light: #8d99ed;
$custom-dark: #000000;
JSON
{
  "hex": "#4b71e4",
  "rgb": {
    "r": 75,
    "g": 113,
    "b": 228
  },
  "hsl": {
    "h": 225.098,
    "s": 73.913,
    "l": 59.412
  },
  "oklch": {
    "l": 0.58253,
    "c": 0.17965,
    "h": 266.9
  },
  "luminance": 0.18908
}

Semantic roles & 50–950 ramp

primary
#4B71E4
secondary
#E3D4A8
accent
#C337F1
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0D16
muted
#7E7E84

Preview Lab

Preview with #4B71E4

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

Preview Lab → · Contrast checker → · Palette generator →

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