#2B71B5#2B71B5

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

Color values

HEX#2B71B5
RGBrgb(43, 113, 181)
HSLhsl(210, 62%, 44%)
HSVhsv(210, 76%, 71%)
CMYKcmyk(76.2%, 37.6%, 0%, 29%)
CIE-LABlab(46.52, 2.13, -42.19)
CIE-LCHlch(46.52, 42.25, 272.89°)
OKLaboklab(53.88% -0.0416 -0.1202)
OKLCHoklch(53.88% 0.127 250.9)
XYZxyz(15.2387, 15.6583, 45.9263)
Luminance0.1566 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B71B5 #B56F2B
analogous
#2BB5B4 #2B71B5 #2B2CB5
triadic
#2B71B5 #B52B71 #71B52B
tetradic
#2B71B5 #B42BB5 #B56F2B #2CB52B
square
#2B71B5 #B42BB5 #B56F2B #2CB52B
split-complementary
#2B71B5 #B52B2C #B5B42B
monochromatic
#143352 #1F5284 #2B71B5 #4990D4 #7BAEE0

Accessibility & contrast

On white

5.08
#2B71B5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#2B71B5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B71B5
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B71B5#FFFFFF#000000##FFFFFF
##2B71B51.005.084.135.08
#FFFFFF5.081.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5175B8
Deuteranopia (green-blind)
#3C68B4
Tritanopia (blue-blind)
#00818A
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #2b71b5;
/* rgb */ color: rgb(43, 113, 181);
/* oklch */ color: oklch(53.9% 0.127 250.9);
Tailwind
colors: {
  custom: {
    50: '#7899cb',
    500: '#2b71b5',
    950: '#000000',
  },
}
SCSS
$custom: #2b71b5;
$custom-light: #7899cb;
$custom-dark: #000000;
JSON
{
  "hex": "#2b71b5",
  "rgb": {
    "r": 43,
    "g": 113,
    "b": 181
  },
  "hsl": {
    "h": 209.565,
    "s": 61.607,
    "l": 43.922
  },
  "oklch": {
    "l": 0.53879,
    "c": 0.12721,
    "h": 250.9
  },
  "luminance": 0.1566
}

Semantic roles & 50–950 ramp

primary
#2B71B5
secondary
#C89D74
accent
#9343E5
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0D13
muted
#7C7E82

Preview Lab

Preview with #2B71B5

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

Preview Lab → · Contrast checker → · Palette generator →

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