#2D71C0#2D71C0

#2D71C0 is a mid, vivid cyan. Relative luminance 0.162; OKLCH L 54.6% C 0.141 H 254.5°. Best body text is #FFFFFF at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#2D71C0
RGBrgb(45, 113, 192)
HSLhsl(212, 62%, 46%)
HSVhsv(212, 77%, 75%)
CMYKcmyk(76.6%, 41.1%, 0%, 24.7%)
CIE-LABlab(47.20, 6.50, -47.48)
CIE-LCHlch(47.20, 47.92, 277.80°)
OKLaboklab(54.62% -0.0377 -0.1357)
OKLCHoklch(54.62% 0.141 254.5)
XYZxyz(16.4982, 16.1720, 52.1109)
Luminance0.1617 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D71C0 #C07C2D
analogous
#2DBBC0 #2D71C0 #332DC0
triadic
#2D71C0 #C02D71 #71C02D
tetradic
#2D71C0 #C02DBB #C07C2D #2DC033
square
#2D71C0 #C02DBB #C07C2D #2DC033
split-complementary
#2D71C0 #C0332D #BBC02D
monochromatic
#16375D #21548E #2D71C0 #5390D7 #85B0E2

Accessibility & contrast

On white

4.96
#2D71C0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#2D71C0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D71C0
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D71C0#FFFFFF#000000##FFFFFF
##2D71C01.004.964.234.96
#FFFFFF4.961.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B77C3
Deuteranopia (green-blind)
#326ABE
Tritanopia (blue-blind)
#00848F
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #2d71c0;
/* rgb */ color: rgb(45, 113, 192);
/* oklch */ color: oklch(54.6% 0.141 254.5);
Tailwind
colors: {
  custom: {
    50: '#7b99d3',
    500: '#2d71c0',
    950: '#000000',
  },
}
SCSS
$custom: #2d71c0;
$custom-light: #7b99d3;
$custom-dark: #000000;
JSON
{
  "hex": "#2d71c0",
  "rgb": {
    "r": 45,
    "g": 113,
    "b": 192
  },
  "hsl": {
    "h": 212.245,
    "s": 62.025,
    "l": 46.471
  },
  "oklch": {
    "l": 0.54624,
    "c": 0.14086,
    "h": 254.5
  },
  "luminance": 0.16174
}

Semantic roles & 50–950 ramp

primary
#2D71C0
secondary
#CCA77D
accent
#9A43E5
background
#F8F9FD
surface
#EFF2FA
border
#CACCD3
text
#0B0D14
muted
#7C7E83

Preview Lab

Preview with #2D71C0

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

Preview Lab → · Contrast checker → · Palette generator →

#2D71C0 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva