#2B71B6#2B71B6

#2B71B6 is a mid, vivid cyan. Relative luminance 0.157; OKLCH L 53.9% C 0.129 H 251.2°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#2B71B6
RGBrgb(43, 113, 182)
HSLhsl(210, 62%, 44%)
HSVhsv(210, 76%, 71%)
CMYKcmyk(76.4%, 37.9%, 0%, 28.6%)
CIE-LABlab(46.58, 2.51, -42.69)
CIE-LCHlch(46.58, 42.76, 273.36°)
OKLaboklab(53.94% -0.0413 -0.1217)
OKLCHoklch(53.94% 0.129 251.2)
XYZxyz(15.3417, 15.6995, 46.4686)
Luminance0.1570 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B71B6 #B6702B
analogous
#2BB6B6 #2B71B6 #2B2CB6
triadic
#2B71B6 #B62B71 #71B62B
tetradic
#2B71B6 #B62BB6 #B6702B #2CB62B
square
#2B71B6 #B62BB6 #B6702B #2CB62B
split-complementary
#2B71B6 #B62B2C #B6B62B
monochromatic
#143453 #1F5284 #2B71B6 #4A90D4 #7BAEE0

Accessibility & contrast

On white

5.07
#2B71B6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#2B71B6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B71B6
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B71B6#FFFFFF#000000##FFFFFF
##2B71B61.005.074.145.07
#FFFFFF5.071.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5175B9
Deuteranopia (green-blind)
#3B69B5
Tritanopia (blue-blind)
#00818B
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #2b71b6;
/* rgb */ color: rgb(43, 113, 182);
/* oklch */ color: oklch(53.9% 0.129 251.2);
Tailwind
colors: {
  custom: {
    50: '#7899cc',
    500: '#2b71b6',
    950: '#000000',
  },
}
SCSS
$custom: #2b71b6;
$custom-light: #7899cc;
$custom-dark: #000000;
JSON
{
  "hex": "#2b71b6",
  "rgb": {
    "r": 43,
    "g": 113,
    "b": 182
  },
  "hsl": {
    "h": 209.784,
    "s": 61.778,
    "l": 44.118
  },
  "oklch": {
    "l": 0.5394,
    "c": 0.1285,
    "h": 251.2
  },
  "luminance": 0.15701
}

Semantic roles & 50–950 ramp

primary
#2B71B6
secondary
#C89E75
accent
#9343E5
background
#F7F9FC
surface
#EEF2F9
border
#C9CCD2
text
#0A0D13
muted
#7C7E82

Preview Lab

Preview with #2B71B6

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

Preview Lab → · Contrast checker → · Palette generator →

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