#2B71A6#2B71A6

#2B71A6 is a mid, moderate cyan. Relative luminance 0.151; OKLCH L 53.0% C 0.108 H 245.0°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#2B71A6
RGBrgb(43, 113, 166)
HSLhsl(206, 59%, 41%)
HSVhsv(206, 74%, 65%)
CMYKcmyk(74.1%, 31.9%, 0%, 34.9%)
CIE-LABlab(45.74, -3.43, -34.68)
CIE-LCHlch(45.74, 34.85, 264.35°)
OKLaboklab(53.01% -0.0458 -0.0983)
OKLCHoklch(53.01% 0.108 245)
XYZxyz(13.7817, 15.0755, 38.2525)
Luminance0.1508 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B71A6 #A6602B
analogous
#2BA69D #2B71A6 #2B33A6
triadic
#2B71A6 #A62B71 #71A62B
tetradic
#2B71A6 #9D2BA6 #A6602B #33A62B
square
#2B71A6 #9D2BA6 #A6602B #33A62B
split-complementary
#2B71A6 #A62B33 #A69D2B
monochromatic
#122F45 #1E5075 #2B71A6 #4191CE #71ADDA

Accessibility & contrast

On white

5.23
#2B71A6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#2B71A6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B71A6
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B71A6#FFFFFF#000000##FFFFFF
##2B71A61.005.234.025.23
#FFFFFF5.231.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5973A8
Deuteranopia (green-blind)
#4867A5
Tritanopia (blue-blind)
#007E84
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #2b71a6;
/* rgb */ color: rgb(43, 113, 166);
/* oklch */ color: oklch(53.0% 0.108 245.0);
Tailwind
colors: {
  custom: {
    50: '#7599c0',
    500: '#2b71a6',
    950: '#000000',
  },
}
SCSS
$custom: #2b71a6;
$custom-light: #7599c0;
$custom-dark: #000000;
JSON
{
  "hex": "#2b71a6",
  "rgb": {
    "r": 43,
    "g": 113,
    "b": 166
  },
  "hsl": {
    "h": 205.854,
    "s": 58.852,
    "l": 40.98
  },
  "oklch": {
    "l": 0.53005,
    "c": 0.10842,
    "h": 245
  },
  "luminance": 0.15077
}

Semantic roles & 50–950 ramp

primary
#2B71A6
secondary
#C1906B
accent
#8946E2
background
#F7F9FB
surface
#EEF2F7
border
#C9CCD0
text
#090D12
muted
#7B7E81

Preview Lab

Preview with #2B71A6

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

Preview Lab → · Contrast checker → · Palette generator →

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