#2B71B9#2B71B9

#2B71B9 is a mid, vivid cyan. Relative luminance 0.158; OKLCH L 54.1% C 0.132 H 252.2°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#2B71B9
RGBrgb(43, 113, 185)
HSLhsl(210, 62%, 45%)
HSVhsv(210, 77%, 73%)
CMYKcmyk(76.8%, 38.9%, 0%, 27.5%)
CIE-LABlab(46.74, 3.63, -44.16)
CIE-LCHlch(46.74, 44.31, 274.70°)
OKLaboklab(54.12% -0.0405 -0.126)
OKLCHoklch(54.12% 0.132 252.2)
XYZxyz(15.6551, 15.8248, 48.1189)
Luminance0.1583 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B71B9 #B9732B
analogous
#2BB8B9 #2B71B9 #2C2BB9
triadic
#2B71B9 #B92B71 #71B92B
tetradic
#2B71B9 #B92BB8 #B9732B #2BB92C
square
#2B71B9 #B92BB8 #B9732B #2BB92C
split-complementary
#2B71B9 #B92C2B #B8B92B
monochromatic
#143456 #1F5387 #2B71B9 #4C90D5 #7EAEE1

Accessibility & contrast

On white

5.04
#2B71B9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#2B71B9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B71B9
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B71B9#FFFFFF#000000##FFFFFF
##2B71B91.005.044.175.04
#FFFFFF5.041.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F76BC
Deuteranopia (green-blind)
#3969B8
Tritanopia (blue-blind)
#00828C
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #2b71b9;
/* rgb */ color: rgb(43, 113, 185);
/* oklch */ color: oklch(54.1% 0.132 252.2);
Tailwind
colors: {
  custom: {
    50: '#7999ce',
    500: '#2b71b9',
    950: '#000000',
  },
}
SCSS
$custom: #2b71b9;
$custom-light: #7999ce;
$custom-dark: #000000;
JSON
{
  "hex": "#2b71b9",
  "rgb": {
    "r": 43,
    "g": 113,
    "b": 185
  },
  "hsl": {
    "h": 210.423,
    "s": 62.281,
    "l": 44.706
  },
  "oklch": {
    "l": 0.54123,
    "c": 0.13236,
    "h": 252.2
  },
  "luminance": 0.15827
}

Semantic roles & 50–950 ramp

primary
#2B71B9
secondary
#C9A076
accent
#9542E5
background
#F8F9FC
surface
#EFF2F9
border
#CACCD2
text
#0A0D14
muted
#7C7E82

Preview Lab

Preview with #2B71B9

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

Preview Lab → · Contrast checker → · Palette generator →

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