#4B71CC#4B71CC

#4B71CC is a mid, vivid blue. Relative luminance 0.177; OKLCH L 56.6% C 0.147 H 265.0°. Best body text is #FFFFFF at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#4B71CC
RGBrgb(75, 113, 204)
HSLhsl(222, 56%, 55%)
HSVhsv(222, 63%, 80%)
CMYKcmyk(63.2%, 44.6%, 0%, 20%)
CIE-LABlab(49.09, 15.37, -51.28)
CIE-LCHlch(49.09, 53.53, 286.68°)
OKLaboklab(56.64% -0.0128 -0.1464)
OKLCHoklch(56.64% 0.147 265)
XYZxyz(19.7021, 17.6640, 59.4862)
Luminance0.1767 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B71CC #CCA64B
analogous
#4BB1CC #4B71CC #664BCC
triadic
#4B71CC #CC4B71 #71CC4B
tetradic
#4B71CC #CC4BB1 #CCA64B #4BCC66
square
#4B71CC #CC4BB1 #CCA64B #4BCC66
split-complementary
#4B71CC #CC664B #B1CC4B
monochromatic
#233C7A #3054AA #4B71CC #7B97DA #AABCE7

Accessibility & contrast

On white

4.63
#4B71CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.53
#4B71CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #4B71CC
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B71CC#FFFFFF#000000##FFFFFF
##4B71CC1.004.634.534.63
#FFFFFF4.631.0021.001.00
#0000004.5321.001.0021.00
##FFFFFF4.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#467BCF
Deuteranopia (green-blind)
#316FCA
Tritanopia (blue-blind)
#008694
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #4b71cc;
/* rgb */ color: rgb(75, 113, 204);
/* oklch */ color: oklch(56.6% 0.147 265.0);
Tailwind
colors: {
  custom: {
    50: '#8999dc',
    500: '#4b71cc',
    950: '#000000',
  },
}
SCSS
$custom: #4b71cc;
$custom-light: #8999dc;
$custom-dark: #000000;
JSON
{
  "hex": "#4b71cc",
  "rgb": {
    "r": 75,
    "g": 113,
    "b": 204
  },
  "hsl": {
    "h": 222.326,
    "s": 55.844,
    "l": 54.706
  },
  "oklch": {
    "l": 0.56637,
    "c": 0.14697,
    "h": 265
  },
  "luminance": 0.17666
}

Semantic roles & 50–950 ramp

primary
#4B71CC
secondary
#D5C59E
accent
#B349DF
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0D0D15
muted
#7D7E83

Preview Lab

Preview with #4B71CC

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

Preview Lab → · Contrast checker → · Palette generator →

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