#4B71E1#4B71E1

#4B71E1 is a mid, vivid blue. Relative luminance 0.187; OKLCH L 58.0% C 0.176 H 266.8°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#4B71E1
RGBrgb(75, 113, 225)
HSLhsl(225, 71%, 59%)
HSVhsv(225, 67%, 88%)
CMYKcmyk(66.7%, 49.8%, 0%, 11.8%)
CIE-LABlab(50.38, 22.68, -61.12)
CIE-LCHlch(50.38, 65.19, 290.36°)
OKLaboklab(58.04% -0.0099 -0.1753)
OKLCHoklch(58.04% 0.176 266.8)
XYZxyz(22.3927, 18.7402, 73.6567)
Luminance0.1874 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B71E1 #E1BB4B
analogous
#4BBCE1 #4B71E1 #704BE1
triadic
#4B71E1 #E14B71 #71E14B
tetradic
#4B71E1 #E14BBC #E1BB4B #4BE170
square
#4B71E1 #E14BBC #E1BB4B #4BE170
split-complementary
#4B71E1 #E1704B #BCE14B
monochromatic
#193A98 #224DCD #4B71E1 #7F9AEA #B4C4F2

Accessibility & contrast

On white

4.42
#4B71E1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.75
#4B71E1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4B71E1
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B71E1#FFFFFF#000000##000000
##4B71E11.004.424.754.75
#FFFFFF4.421.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#317FE5
Deuteranopia (green-blind)
#0071DF
Tritanopia (blue-blind)
#008B9E
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #4b71e1;
/* rgb */ color: rgb(75, 113, 225);
/* oklch */ color: oklch(58.0% 0.176 266.8);
Tailwind
colors: {
  custom: {
    50: '#8d99eb',
    500: '#4b71e1',
    950: '#000000',
  },
}
SCSS
$custom: #4b71e1;
$custom-light: #8d99eb;
$custom-dark: #000000;
JSON
{
  "hex": "#4b71e1",
  "rgb": {
    "r": 75,
    "g": 113,
    "b": 225
  },
  "hsl": {
    "h": 224.8,
    "s": 71.429,
    "l": 58.824
  },
  "oklch": {
    "l": 0.58043,
    "c": 0.17563,
    "h": 266.8
  },
  "luminance": 0.18742
}

Semantic roles & 50–950 ramp

primary
#4B71E1
secondary
#E1D2A6
accent
#C03AEE
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0D0D16
muted
#7E7E84

Preview Lab

Preview with #4B71E1

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

Preview Lab → · Contrast checker → · Palette generator →

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