#2B71C5#2B71C5

#2B71C5 is a mid, vivid cyan. Relative luminance 0.164; OKLCH L 54.9% C 0.148 H 255.2°. Best body text is #FFFFFF at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#2B71C5
RGBrgb(43, 113, 197)
HSLhsl(213, 64%, 47%)
HSVhsv(213, 78%, 77%)
CMYKcmyk(78.2%, 42.6%, 0%, 22.7%)
CIE-LABlab(47.43, 8.15, -49.98)
CIE-LCHlch(47.43, 50.64, 279.27°)
OKLaboklab(54.89% -0.0378 -0.1431)
OKLCHoklch(54.89% 0.148 255.2)
XYZxyz(16.9757, 16.3531, 55.0743)
Luminance0.1636 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B71C5 #C57F2B
analogous
#2BBEC5 #2B71C5 #322BC5
triadic
#2B71C5 #C52B71 #71C52B
tetradic
#2B71C5 #C52BBE #C57F2B #2BC532
square
#2B71C5 #C52BBE #C57F2B #2BC532
split-complementary
#2B71C5 #C5322B #BEC52B
monochromatic
#153761 #205493 #2B71C5 #5491DA #86B1E5

Accessibility & contrast

On white

4.92
#2B71C5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.27
#2B71C5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B71C5
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B71C5#FFFFFF#000000##FFFFFF
##2B71C51.004.924.274.92
#FFFFFF4.921.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4778C8
Deuteranopia (green-blind)
#2B6AC3
Tritanopia (blue-blind)
#008591
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #2b71c5;
/* rgb */ color: rgb(43, 113, 197);
/* oklch */ color: oklch(54.9% 0.148 255.2);
Tailwind
colors: {
  custom: {
    50: '#7b99d7',
    500: '#2b71c5',
    950: '#000000',
  },
}
SCSS
$custom: #2b71c5;
$custom-light: #7b99d7;
$custom-dark: #000000;
JSON
{
  "hex": "#2b71c5",
  "rgb": {
    "r": 43,
    "g": 113,
    "b": 197
  },
  "hsl": {
    "h": 212.727,
    "s": 64.167,
    "l": 47.059
  },
  "oklch": {
    "l": 0.54885,
    "c": 0.14801,
    "h": 255.2
  },
  "luminance": 0.16355
}

Semantic roles & 50–950 ramp

primary
#2B71C5
secondary
#CEAA7E
accent
#9B41E7
background
#F8F9FD
surface
#EFF2FA
border
#CACCD3
text
#0B0D14
muted
#7C7E83

Preview Lab

Preview with #2B71C5

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

Preview Lab → · Contrast checker → · Palette generator →

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