#2B71B3#2B71B3

#2B71B3 is a mid, vivid cyan. Relative luminance 0.156; OKLCH L 53.8% C 0.125 H 250.3°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#2B71B3
RGBrgb(43, 113, 179)
HSLhsl(209, 61%, 44%)
HSVhsv(209, 76%, 70%)
CMYKcmyk(76%, 36.9%, 0%, 29.8%)
CIE-LABlab(46.41, 1.38, -41.20)
CIE-LCHlch(46.41, 41.23, 271.92°)
OKLaboklab(53.76% -0.0421 -0.1173)
OKLCHoklch(53.76% 0.125 250.3)
XYZxyz(15.0350, 15.5768, 44.8533)
Luminance0.1558 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B71B3 #B36D2B
analogous
#2BB3B1 #2B71B3 #2B2DB3
triadic
#2B71B3 #B32B71 #71B32B
tetradic
#2B71B3 #B12BB3 #B36D2B #2DB32B
square
#2B71B3 #B12BB3 #B36D2B #2DB32B
split-complementary
#2B71B3 #B32B2D #B3B12B
monochromatic
#133350 #1F5282 #2B71B3 #4890D3 #79AEDF

Accessibility & contrast

On white

5.10
#2B71B3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#2B71B3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B71B3
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B71B3#FFFFFF#000000##FFFFFF
##2B71B31.005.104.125.10
#FFFFFF5.101.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5275B6
Deuteranopia (green-blind)
#3E68B2
Tritanopia (blue-blind)
#008189
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #2b71b3;
/* rgb */ color: rgb(43, 113, 179);
/* oklch */ color: oklch(53.8% 0.125 250.3);
Tailwind
colors: {
  custom: {
    50: '#7799ca',
    500: '#2b71b3',
    950: '#000000',
  },
}
SCSS
$custom: #2b71b3;
$custom-light: #7799ca;
$custom-dark: #000000;
JSON
{
  "hex": "#2b71b3",
  "rgb": {
    "r": 43,
    "g": 113,
    "b": 179
  },
  "hsl": {
    "h": 209.118,
    "s": 61.261,
    "l": 43.529
  },
  "oklch": {
    "l": 0.53758,
    "c": 0.12465,
    "h": 250.3
  },
  "luminance": 0.15579
}

Semantic roles & 50–950 ramp

primary
#2B71B3
secondary
#C79C73
accent
#9243E4
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0D13
muted
#7C7E82

Preview Lab

Preview with #2B71B3

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

Preview Lab → · Contrast checker → · Palette generator →

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