#2B71B2#2B71B2

#2B71B2 is a mid, vivid cyan. Relative luminance 0.155; OKLCH L 53.7% C 0.123 H 249.9°. Best body text is #FFFFFF at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#2B71B2
RGBrgb(43, 113, 178)
HSLhsl(209, 61%, 43%)
HSVhsv(209, 76%, 70%)
CMYKcmyk(75.8%, 36.5%, 0%, 30.2%)
CIE-LABlab(46.36, 1.01, -40.71)
CIE-LCHlch(46.36, 40.72, 271.42°)
OKLaboklab(53.7% -0.0423 -0.1159)
OKLCHoklch(53.7% 0.123 249.9)
XYZxyz(14.9342, 15.5365, 44.3226)
Luminance0.1554 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B71B2 #B26C2B
analogous
#2BB2AF #2B71B2 #2B2DB2
triadic
#2B71B2 #B22B71 #71B22B
tetradic
#2B71B2 #AF2BB2 #B26C2B #2DB22B
square
#2B71B2 #AF2BB2 #B26C2B #2DB22B
split-complementary
#2B71B2 #B22B2D #B2AF2B
monochromatic
#13324F #1F5281 #2B71B2 #4890D3 #79AEDF

Accessibility & contrast

On white

5.11
#2B71B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.11
#2B71B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B71B2
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B71B2#FFFFFF#000000##FFFFFF
##2B71B21.005.114.115.11
#FFFFFF5.111.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5375B5
Deuteranopia (green-blind)
#3F68B1
Tritanopia (blue-blind)
#008089
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #2b71b2;
/* rgb */ color: rgb(43, 113, 178);
/* oklch */ color: oklch(53.7% 0.123 249.9);
Tailwind
colors: {
  custom: {
    50: '#7799c9',
    500: '#2b71b2',
    950: '#000000',
  },
}
SCSS
$custom: #2b71b2;
$custom-light: #7799c9;
$custom-dark: #000000;
JSON
{
  "hex": "#2b71b2",
  "rgb": {
    "r": 43,
    "g": 113,
    "b": 178
  },
  "hsl": {
    "h": 208.889,
    "s": 61.086,
    "l": 43.333
  },
  "oklch": {
    "l": 0.53698,
    "c": 0.12338,
    "h": 249.9
  },
  "luminance": 0.15538
}

Semantic roles & 50–950 ramp

primary
#2B71B2
secondary
#C79B72
accent
#9144E4
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0D13
muted
#7C7E82

Preview Lab

Preview with #2B71B2

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

Preview Lab → · Contrast checker → · Palette generator →

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