#4C71DA#4C71DA

#4C71DA is a mid, vivid blue. Relative luminance 0.184; OKLCH L 57.6% C 0.166 H 266.6°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#4C71DA
RGBrgb(76, 113, 218)
HSLhsl(224, 66%, 58%)
HSVhsv(224, 65%, 85%)
CMYKcmyk(65.1%, 48.2%, 0%, 14.5%)
CIE-LABlab(49.99, 20.40, -57.80)
CIE-LCHlch(49.99, 61.29, 289.44°)
OKLaboklab(57.61% -0.0098 -0.1656)
OKLCHoklch(57.61% 0.166 266.6)
XYZxyz(21.5361, 18.4067, 68.7340)
Luminance0.1841 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C71DA #DAB54C
analogous
#4CB8DA #4C71DA #6E4CDA
triadic
#4C71DA #DA4C71 #71DA4C
tetradic
#4C71DA #DA4CB8 #DAB54C #4CDA6E
square
#4C71DA #DA4CB8 #DAB54C #4CDA6E
split-complementary
#4C71DA #DA6E4C #B8DA4C
monochromatic
#1D3B8E #2850C1 #4C71DA #7F99E4 #B1C1EF

Accessibility & contrast

On white

4.49
#4C71DA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.68
#4C71DA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4C71DA
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C71DA#FFFFFF#000000##000000
##4C71DA1.004.494.684.68
#FFFFFF4.491.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#397EDE
Deuteranopia (green-blind)
#1771D8
Tritanopia (blue-blind)
#00899B
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #4c71da;
/* rgb */ color: rgb(76, 113, 218);
/* oklch */ color: oklch(57.6% 0.166 266.6);
Tailwind
colors: {
  custom: {
    50: '#8c99e6',
    500: '#4c71da',
    950: '#000000',
  },
}
SCSS
$custom: #4c71da;
$custom-light: #8c99e6;
$custom-dark: #000000;
JSON
{
  "hex": "#4c71da",
  "rgb": {
    "r": 76,
    "g": 113,
    "b": 218
  },
  "hsl": {
    "h": 224.366,
    "s": 65.741,
    "l": 57.647
  },
  "oklch": {
    "l": 0.57612,
    "c": 0.16585,
    "h": 266.6
  },
  "luminance": 0.18409
}

Semantic roles & 50–950 ramp

primary
#4C71DA
secondary
#DDCFA4
accent
#BD3FE9
background
#F9F9FE
surface
#F1F2FC
border
#CBCCD5
text
#0D0D16
muted
#7E7E84

Preview Lab

Preview with #4C71DA

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

Preview Lab → · Contrast checker → · Palette generator →

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