#2B71AC#2B71AC

#2B71AC is a mid, moderate cyan. Relative luminance 0.153; OKLCH L 53.3% C 0.116 H 247.7°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#2B71AC
RGBrgb(43, 113, 172)
HSLhsl(207, 60%, 42%)
HSVhsv(207, 75%, 67%)
CMYKcmyk(75%, 34.3%, 0%, 32.5%)
CIE-LABlab(46.04, -1.22, -37.71)
CIE-LCHlch(46.04, 37.73, 268.15°)
OKLaboklab(53.35% -0.044 -0.1071)
OKLCHoklch(53.35% 0.116 247.7)
XYZxyz(14.3449, 15.3008, 41.2190)
Luminance0.1530 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B71AC #AC662B
analogous
#2BACA7 #2B71AC #2B30AC
triadic
#2B71AC #AC2B71 #71AC2B
tetradic
#2B71AC #A72BAC #AC662B #30AC2B
square
#2B71AC #A72BAC #AC662B #30AC2B
split-complementary
#2B71AC #AC2B30 #ACA72B
monochromatic
#13314A #1F517B #2B71AC #4490D0 #75ADDC

Accessibility & contrast

On white

5.17
#2B71AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#2B71AC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B71AC
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B71AC#FFFFFF#000000##FFFFFF
##2B71AC1.005.174.065.17
#FFFFFF5.171.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5674AE
Deuteranopia (green-blind)
#4368AB
Tritanopia (blue-blind)
#007F86
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #2b71ac;
/* rgb */ color: rgb(43, 113, 172);
/* oklch */ color: oklch(53.3% 0.116 247.7);
Tailwind
colors: {
  custom: {
    50: '#7699c5',
    500: '#2b71ac',
    950: '#000000',
  },
}
SCSS
$custom: #2b71ac;
$custom-light: #7699c5;
$custom-dark: #000000;
JSON
{
  "hex": "#2b71ac",
  "rgb": {
    "r": 43,
    "g": 113,
    "b": 172
  },
  "hsl": {
    "h": 207.442,
    "s": 60,
    "l": 42.157
  },
  "oklch": {
    "l": 0.53346,
    "c": 0.1158,
    "h": 247.7
  },
  "luminance": 0.15302
}

Semantic roles & 50–950 ramp

primary
#2B71AC
secondary
#C4966F
accent
#8D45E3
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0D13
muted
#7C7E82

Preview Lab

Preview with #2B71AC

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

Preview Lab → · Contrast checker → · Palette generator →

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