#2D71BC#2D71BC

#2D71BC is a mid, vivid cyan. Relative luminance 0.160; OKLCH L 54.4% C 0.136 H 253.4°. Best body text is #FFFFFF at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#2D71BC
RGBrgb(45, 113, 188)
HSLhsl(211, 61%, 46%)
HSVhsv(211, 76%, 74%)
CMYKcmyk(76.1%, 39.9%, 0%, 26.3%)
CIE-LABlab(46.97, 5.00, -45.53)
CIE-LCHlch(46.97, 45.81, 276.27°)
OKLaboklab(54.37% -0.0387 -0.13)
OKLCHoklch(54.37% 0.136 253.4)
XYZxyz(16.0610, 15.9971, 49.8085)
Luminance0.1600 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D71BC #BC782D
analogous
#2DB8BC #2D71BC #312DBC
triadic
#2D71BC #BC2D71 #71BC2D
tetradic
#2D71BC #BC2DB8 #BC782D #2DBC31
square
#2D71BC #BC2DB8 #BC782D #2DBC31
split-complementary
#2D71BC #BC312D #B8BC2D
monochromatic
#153659 #21538B #2D71BC #5190D5 #82AFE1

Accessibility & contrast

On white

5.00
#2D71BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#2D71BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D71BC
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D71BC#FFFFFF#000000##FFFFFF
##2D71BC1.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)
#4D76BF
Deuteranopia (green-blind)
#3669BB
Tritanopia (blue-blind)
#00838D
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #2d71bc;
/* rgb */ color: rgb(45, 113, 188);
/* oklch */ color: oklch(54.4% 0.136 253.4);
Tailwind
colors: {
  custom: {
    50: '#7a99d0',
    500: '#2d71bc',
    950: '#000000',
  },
}
SCSS
$custom: #2d71bc;
$custom-light: #7a99d0;
$custom-dark: #000000;
JSON
{
  "hex": "#2d71bc",
  "rgb": {
    "r": 45,
    "g": 113,
    "b": 188
  },
  "hsl": {
    "h": 211.469,
    "s": 61.373,
    "l": 45.686
  },
  "oklch": {
    "l": 0.54372,
    "c": 0.13563,
    "h": 253.4
  },
  "luminance": 0.15999
}

Semantic roles & 50–950 ramp

primary
#2D71BC
secondary
#CAA47B
accent
#9843E4
background
#F8F9FC
surface
#EFF2F9
border
#CACCD2
text
#0B0D14
muted
#7C7E82

Preview Lab

Preview with #2D71BC

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

Preview Lab → · Contrast checker → · Palette generator →

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