#2B71BC#2B71BC

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

Color values

HEX#2B71BC
RGBrgb(43, 113, 188)
HSLhsl(211, 63%, 45%)
HSVhsv(211, 77%, 74%)
CMYKcmyk(77.1%, 39.9%, 0%, 26.3%)
CIE-LABlab(46.91, 4.76, -45.63)
CIE-LCHlch(46.91, 45.88, 275.95°)
OKLaboklab(54.31% -0.0398 -0.1303)
OKLCHoklch(54.31% 0.136 253)
XYZxyz(15.9751, 15.9528, 49.8045)
Luminance0.1595 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B71BC #BC762B
analogous
#2BBABC #2B71BC #2D2BBC
triadic
#2B71BC #BC2B71 #71BC2B
tetradic
#2B71BC #BC2BBA #BC762B #2BBC2D
square
#2B71BC #BC2BBA #BC762B #2BBC2D
split-complementary
#2B71BC #BC2D2B #BABC2B
monochromatic
#143558 #20538A #2B71BC #4E90D6 #80AFE2

Accessibility & contrast

On white

5.01
#2B71BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#2B71BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B71BC
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B71BC#FFFFFF#000000##FFFFFF
##2B71BC1.005.014.195.01
#FFFFFF5.011.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.011.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: #2b71bc;
/* rgb */ color: rgb(43, 113, 188);
/* oklch */ color: oklch(54.3% 0.136 253.0);
Tailwind
colors: {
  custom: {
    50: '#7999d0',
    500: '#2b71bc',
    950: '#000000',
  },
}
SCSS
$custom: #2b71bc;
$custom-light: #7999d0;
$custom-dark: #000000;
JSON
{
  "hex": "#2b71bc",
  "rgb": {
    "r": 43,
    "g": 113,
    "b": 188
  },
  "hsl": {
    "h": 211.034,
    "s": 62.771,
    "l": 45.294
  },
  "oklch": {
    "l": 0.5431,
    "c": 0.13626,
    "h": 253
  },
  "luminance": 0.15955
}

Semantic roles & 50–950 ramp

primary
#2B71BC
secondary
#CBA378
accent
#9742E6
background
#F8F9FC
surface
#EFF2F9
border
#CACCD2
text
#0A0D14
muted
#7C7E82

Preview Lab

Preview with #2B71BC

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

Preview Lab → · Contrast checker → · Palette generator →

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