#4C71D9#4C71D9

#4C71D9 is a mid, vivid blue. Relative luminance 0.184; OKLCH L 57.5% C 0.164 H 266.5°. Best body text is #000000 at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#4C71D9
RGBrgb(76, 113, 217)
HSLhsl(224, 65%, 57%)
HSVhsv(224, 65%, 85%)
CMYKcmyk(65%, 47.9%, 0%, 14.9%)
CIE-LABlab(49.92, 20.05, -57.33)
CIE-LCHlch(49.92, 60.74, 289.28°)
OKLaboklab(57.55% -0.0099 -0.1642)
OKLCHoklch(57.55% 0.164 266.5)
XYZxyz(21.4057, 18.3545, 68.0469)
Luminance0.1836 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C71D9 #D9B44C
analogous
#4CB8D9 #4C71D9 #6D4CD9
triadic
#4C71D9 #D94C71 #71D94C
tetradic
#4C71D9 #D94CB8 #D9B44C #4CD96D
square
#4C71D9 #D94CB8 #D9B44C #4CD96D
split-complementary
#4C71D9 #D96D4C #B8D94C
monochromatic
#1E3B8D #2950BF #4C71D9 #7E99E4 #B1C1EE

Accessibility & contrast

On white

4.50
#4C71D9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.67
#4C71D9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4C71D9
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C71D9#FFFFFF#000000##000000
##4C71D91.004.504.674.67
#FFFFFF4.501.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3A7EDD
Deuteranopia (green-blind)
#1A71D7
Tritanopia (blue-blind)
#00899A
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #4c71d9;
/* rgb */ color: rgb(76, 113, 217);
/* oklch */ color: oklch(57.5% 0.164 266.5);
Tailwind
colors: {
  custom: {
    50: '#8c99e5',
    500: '#4c71d9',
    950: '#000000',
  },
}
SCSS
$custom: #4c71d9;
$custom-light: #8c99e5;
$custom-dark: #000000;
JSON
{
  "hex": "#4c71d9",
  "rgb": {
    "r": 76,
    "g": 113,
    "b": 217
  },
  "hsl": {
    "h": 224.255,
    "s": 64.977,
    "l": 57.451
  },
  "oklch": {
    "l": 0.57545,
    "c": 0.16449,
    "h": 266.5
  },
  "luminance": 0.18357
}

Semantic roles & 50–950 ramp

primary
#4C71D9
secondary
#DDCEA4
accent
#BC40E8
background
#F9F9FE
surface
#F1F2FC
border
#CBCCD5
text
#0D0D16
muted
#7E7E84

Preview Lab

Preview with #4C71D9

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

Preview Lab → · Contrast checker → · Palette generator →

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