#4B71E5#4B71E5

#4B71E5 is a mid, vivid blue. Relative luminance 0.190; OKLCH L 58.3% C 0.181 H 267.0°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#4B71E5
RGBrgb(75, 113, 229)
HSLhsl(225, 75%, 60%)
HSVhsv(225, 67%, 90%)
CMYKcmyk(67.2%, 50.7%, 0%, 10.2%)
CIE-LABlab(50.64, 24.08, -62.95)
CIE-LCHlch(50.64, 67.40, 290.93°)
OKLaboklab(58.32% -0.0095 -0.1807)
OKLCHoklch(58.32% 0.181 267)
XYZxyz(22.9447, 18.9610, 76.5642)
Luminance0.1896 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B71E5 #E5BF4B
analogous
#4BBEE5 #4B71E5 #724BE5
triadic
#4B71E5 #E54B71 #71E54B
tetradic
#4B71E5 #E54BBE #E5BF4B #4BE572
square
#4B71E5 #E54BBE #E5BF4B #4BE572
split-complementary
#4B71E5 #E5724B #BEE54B
monochromatic
#17389F #1F4BD4 #4B71E5 #809BED #B6C5F4

Accessibility & contrast

On white

4.38
#4B71E5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.79
#4B71E5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4B71E5
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B71E5#FFFFFF#000000##000000
##4B71E51.004.384.794.79
#FFFFFF4.381.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#2B80E9
Deuteranopia (green-blind)
#0072E3
Tritanopia (blue-blind)
#008CA0
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #4b71e5;
/* rgb */ color: rgb(75, 113, 229);
/* oklch */ color: oklch(58.3% 0.181 267.0);
Tailwind
colors: {
  custom: {
    50: '#8e99ee',
    500: '#4b71e5',
    950: '#000000',
  },
}
SCSS
$custom: #4b71e5;
$custom-light: #8e99ee;
$custom-dark: #000000;
JSON
{
  "hex": "#4b71e5",
  "rgb": {
    "r": 75,
    "g": 113,
    "b": 229
  },
  "hsl": {
    "h": 225.195,
    "s": 74.757,
    "l": 59.608
  },
  "oklch": {
    "l": 0.58323,
    "c": 0.18099,
    "h": 267
  },
  "luminance": 0.18963
}

Semantic roles & 50–950 ramp

primary
#4B71E5
secondary
#E4D5A8
accent
#C336F1
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0D16
muted
#7E7E84

Preview Lab

Preview with #4B71E5

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

Preview Lab → · Contrast checker → · Palette generator →

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