#4B71CF#4B71CF

#4B71CF is a mid, vivid blue. Relative luminance 0.178; OKLCH L 56.8% C 0.151 H 265.3°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#4B71CF
RGBrgb(75, 113, 207)
HSLhsl(223, 58%, 55%)
HSVhsv(223, 64%, 81%)
CMYKcmyk(63.8%, 45.4%, 0%, 18.8%)
CIE-LABlab(49.26, 16.41, -52.71)
CIE-LCHlch(49.26, 55.20, 287.29°)
OKLaboklab(56.83% -0.0123 -0.1506)
OKLCHoklch(56.83% 0.151 265.3)
XYZxyz(20.0654, 17.8093, 61.3995)
Luminance0.1781 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B71CF #CFA94B
analogous
#4BB3CF #4B71CF #674BCF
triadic
#4B71CF #CF4B71 #71CF4B
tetradic
#4B71CF #CF4BB3 #CFA94B #4BCF67
square
#4B71CF #CF4BB3 #CFA94B #4BCF67
split-complementary
#4B71CF #CF674B #B3CF4B
monochromatic
#223C7E #2E53AE #4B71CF #7B97DC #ACBDE9

Accessibility & contrast

On white

4.60
#4B71CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.56
#4B71CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #4B71CF
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B71CF#FFFFFF#000000##FFFFFF
##4B71CF1.004.604.564.60
#FFFFFF4.601.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#437BD3
Deuteranopia (green-blind)
#2D6FCD
Tritanopia (blue-blind)
#008696
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #4b71cf;
/* rgb */ color: rgb(75, 113, 207);
/* oklch */ color: oklch(56.8% 0.151 265.3);
Tailwind
colors: {
  custom: {
    50: '#8a99de',
    500: '#4b71cf',
    950: '#000000',
  },
}
SCSS
$custom: #4b71cf;
$custom-light: #8a99de;
$custom-dark: #000000;
JSON
{
  "hex": "#4b71cf",
  "rgb": {
    "r": 75,
    "g": 113,
    "b": 207
  },
  "hsl": {
    "h": 222.727,
    "s": 57.895,
    "l": 55.294
  },
  "oklch": {
    "l": 0.56831,
    "c": 0.15112,
    "h": 265.3
  },
  "luminance": 0.17811
}

Semantic roles & 50–950 ramp

primary
#4B71CF
secondary
#D6C79F
accent
#B547E1
background
#F9F9FD
surface
#F1F2FB
border
#CBCCD4
text
#0D0D15
muted
#7E7E83

Preview Lab

Preview with #4B71CF

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

Preview Lab → · Contrast checker → · Palette generator →

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