#4D71A2#4D71A2

#4D71A2 is a mid, moderate cyan. Relative luminance 0.160; OKLCH L 54.3% C 0.088 H 256.4°. Best body text is #FFFFFF at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#4D71A2
RGBrgb(77, 113, 162)
HSLhsl(215, 36%, 47%)
HSVhsv(215, 52%, 64%)
CMYKcmyk(52.5%, 30.2%, 0%, 36.5%)
CIE-LABlab(46.97, 1.67, -30.30)
CIE-LCHlch(46.97, 30.35, 273.15°)
OKLaboklab(54.3% -0.0207 -0.0851)
OKLCHoklch(54.3% 0.088 256.4)
XYZxyz(15.4850, 15.9955, 36.4469)
Luminance0.1600 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D71A2 #A27E4D
analogous
#4D9CA2 #4D71A2 #534DA2
triadic
#4D71A2 #A24D71 #71A24D
tetradic
#4D71A2 #A24D9C #A27E4D #4DA253
square
#4D71A2 #A24D9C #A27E4D #4DA253
split-complementary
#4D71A2 #A2534D #9CA24D
monochromatic
#26374F #395479 #4D71A2 #7190BB #9AB1CF

Accessibility & contrast

On white

5.00
#4D71A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#4D71A2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D71A2
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D71A2#FFFFFF#000000##FFFFFF
##4D71A21.005.004.205.00
#FFFFFF5.001.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E74A4
Deuteranopia (green-blind)
#536CA1
Tritanopia (blue-blind)
#227C82
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #4d71a2;
/* rgb */ color: rgb(77, 113, 162);
/* oklch */ color: oklch(54.3% 0.088 256.4);
Tailwind
colors: {
  custom: {
    50: '#8499bd',
    500: '#4d71a2',
    950: '#000000',
  },
}
SCSS
$custom: #4d71a2;
$custom-light: #8499bd;
$custom-dark: #000000;
JSON
{
  "hex": "#4d71a2",
  "rgb": {
    "r": 77,
    "g": 113,
    "b": 162
  },
  "hsl": {
    "h": 214.588,
    "s": 35.565,
    "l": 46.863
  },
  "oklch": {
    "l": 0.543,
    "c": 0.08757,
    "h": 256.4
  },
  "luminance": 0.15997
}

Semantic roles & 50–950 ramp

primary
#4D71A2
secondary
#BCA98F
accent
#9C5CCC
background
#F8F9FB
surface
#EFF2F6
border
#CACCD0
text
#0B0D12
muted
#7C7E81

Preview Lab

Preview with #4D71A2

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

Preview Lab → · Contrast checker → · Palette generator →

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