#4A71B2#4A71B2

#4A71B2 is a mid, moderate blue. Relative luminance 0.165; OKLCH L 55.0% C 0.111 H 260.1°. Best body text is #FFFFFF at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#4A71B2
RGBrgb(74, 113, 178)
HSLhsl(218, 41%, 49%)
HSVhsv(218, 58%, 70%)
CMYKcmyk(58.4%, 36.5%, 0%, 30.2%)
CIE-LABlab(47.60, 6.27, -38.67)
CIE-LCHlch(47.60, 39.17, 279.21°)
OKLaboklab(55.01% -0.019 -0.1095)
OKLCHoklch(55.01% 0.111 260.1)
XYZxyz(16.7623, 16.4790, 44.4083)
Luminance0.1648 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A71B2 #B28B4A
analogous
#4AA5B2 #4A71B2 #574AB2
triadic
#4A71B2 #B24A71 #71B24A
tetradic
#4A71B2 #B24AA5 #B28B4A #4AB257
square
#4A71B2 #B24AA5 #B28B4A #4AB257
split-complementary
#4A71B2 #B2574A #A5B24A
monochromatic
#263A5C #385687 #4A71B2 #7492C5 #9FB4D7

Accessibility & contrast

On white

4.89
#4A71B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.30
#4A71B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A71B2
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A71B2#FFFFFF#000000##FFFFFF
##4A71B21.004.894.304.89
#FFFFFF4.891.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5676B5
Deuteranopia (green-blind)
#496CB1
Tritanopia (blue-blind)
#008089
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #4a71b2;
/* rgb */ color: rgb(74, 113, 178);
/* oklch */ color: oklch(55.0% 0.111 260.1);
Tailwind
colors: {
  custom: {
    50: '#8599c9',
    500: '#4a71b2',
    950: '#000000',
  },
}
SCSS
$custom: #4a71b2;
$custom-light: #8599c9;
$custom-dark: #000000;
JSON
{
  "hex": "#4a71b2",
  "rgb": {
    "r": 74,
    "g": 113,
    "b": 178
  },
  "hsl": {
    "h": 217.5,
    "s": 41.27,
    "l": 49.412
  },
  "oklch": {
    "l": 0.55005,
    "c": 0.11113,
    "h": 260.1
  },
  "luminance": 0.1648
}

Semantic roles & 50–950 ramp

primary
#4A71B2
secondary
#C4B294
accent
#A357D1
background
#F8F9FC
surface
#F0F2F8
border
#CBCCD1
text
#0C0D13
muted
#7D7E82

Preview Lab

Preview with #4A71B2

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

Preview Lab → · Contrast checker → · Palette generator →

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