#2D71C2#2D71C2

#2D71C2 is a mid, vivid cyan. Relative luminance 0.163; OKLCH L 54.8% C 0.143 H 254.9°. Best body text is #FFFFFF at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#2D71C2
RGBrgb(45, 113, 194)
HSLhsl(213, 62%, 47%)
HSVhsv(213, 77%, 76%)
CMYKcmyk(76.8%, 41.8%, 0%, 23.9%)
CIE-LABlab(47.32, 7.25, -48.44)
CIE-LCHlch(47.32, 48.98, 278.52°)
OKLaboklab(54.75% -0.0373 -0.1385)
OKLCHoklch(54.75% 0.143 254.9)
XYZxyz(16.7213, 16.2612, 53.2859)
Luminance0.1626 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D71C2 #C27E2D
analogous
#2DBCC2 #2D71C2 #332DC2
triadic
#2D71C2 #C22D71 #71C22D
tetradic
#2D71C2 #C22DBC #C27E2D #2DC233
square
#2D71C2 #C22DBC #C27E2D #2DC233
split-complementary
#2D71C2 #C2332D #BCC22D
monochromatic
#16375F #215490 #2D71C2 #5590D7 #86B1E3

Accessibility & contrast

On white

4.94
#2D71C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.25
#2D71C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D71C2
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D71C2#FFFFFF#000000##FFFFFF
##2D71C21.004.944.254.94
#FFFFFF4.941.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4978C5
Deuteranopia (green-blind)
#2F6AC0
Tritanopia (blue-blind)
#008490
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #2d71c2;
/* rgb */ color: rgb(45, 113, 194);
/* oklch */ color: oklch(54.8% 0.143 254.9);
Tailwind
colors: {
  custom: {
    50: '#7b99d5',
    500: '#2d71c2',
    950: '#000000',
  },
}
SCSS
$custom: #2d71c2;
$custom-light: #7b99d5;
$custom-dark: #000000;
JSON
{
  "hex": "#2d71c2",
  "rgb": {
    "r": 45,
    "g": 113,
    "b": 194
  },
  "hsl": {
    "h": 212.617,
    "s": 62.343,
    "l": 46.863
  },
  "oklch": {
    "l": 0.54752,
    "c": 0.14349,
    "h": 254.9
  },
  "luminance": 0.16263
}

Semantic roles & 50–950 ramp

primary
#2D71C2
secondary
#CDA97E
accent
#9B42E5
background
#F8F9FD
surface
#EFF2FA
border
#CACCD3
text
#0B0D14
muted
#7C7E83

Preview Lab

Preview with #2D71C2

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

Preview Lab → · Contrast checker → · Palette generator →

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