#4A71A2#4A71A2

#4A71A2 is a mid, moderate cyan. Relative luminance 0.159; OKLCH L 54.1% C 0.089 H 254.7°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#4A71A2
RGBrgb(74, 113, 162)
HSLhsl(213, 37%, 46%)
HSVhsv(213, 54%, 64%)
CMYKcmyk(54.3%, 30.2%, 0%, 36.5%)
CIE-LABlab(46.81, 0.96, -30.56)
CIE-LCHlch(46.81, 30.58, 271.80°)
OKLaboklab(54.13% -0.0235 -0.0859)
OKLCHoklch(54.13% 0.089 254.7)
XYZxyz(15.2485, 15.8735, 36.4358)
Luminance0.1588 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A71A2 #A27B4A
analogous
#4A9DA2 #4A71A2 #4F4AA2
triadic
#4A71A2 #A24A71 #71A24A
tetradic
#4A71A2 #A24A9D #A27B4A #4AA24F
square
#4A71A2 #A24A9D #A27B4A #4AA24F
split-complementary
#4A71A2 #A24F4A #9DA24A
monochromatic
#24364E #375478 #4A71A2 #6D90BC #97B0CF

Accessibility & contrast

On white

5.03
#4A71A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#4A71A2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A71A2
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A71A2#FFFFFF#000000##FFFFFF
##4A71A21.005.034.185.03
#FFFFFF5.031.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D74A4
Deuteranopia (green-blind)
#526BA1
Tritanopia (blue-blind)
#177C82
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #4a71a2;
/* rgb */ color: rgb(74, 113, 162);
/* oklch */ color: oklch(54.1% 0.089 254.7);
Tailwind
colors: {
  custom: {
    50: '#8399bd',
    500: '#4a71a2',
    950: '#000000',
  },
}
SCSS
$custom: #4a71a2;
$custom-light: #8399bd;
$custom-dark: #000000;
JSON
{
  "hex": "#4a71a2",
  "rgb": {
    "r": 74,
    "g": 113,
    "b": 162
  },
  "hsl": {
    "h": 213.409,
    "s": 37.288,
    "l": 46.275
  },
  "oklch": {
    "l": 0.54131,
    "c": 0.08905,
    "h": 254.7
  },
  "luminance": 0.15875
}

Semantic roles & 50–950 ramp

primary
#4A71A2
secondary
#BCA78C
accent
#9A5BCD
background
#F8F9FB
surface
#EFF2F6
border
#CACCD0
text
#0B0D12
muted
#7C7E81

Preview Lab

Preview with #4A71A2

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

Preview Lab → · Contrast checker → · Palette generator →

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