#2B71B0#2B71B0

#2B71B0 is a mid, vivid cyan. Relative luminance 0.155; OKLCH L 53.6% C 0.121 H 249.2°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#2B71B0
RGBrgb(43, 113, 176)
HSLhsl(208, 61%, 43%)
HSVhsv(208, 76%, 69%)
CMYKcmyk(75.6%, 35.8%, 0%, 31%)
CIE-LABlab(46.25, 0.27, -39.71)
CIE-LCHlch(46.25, 39.71, 270.38°)
OKLaboklab(53.58% -0.0429 -0.113)
OKLCHoklch(53.58% 0.121 249.2)
XYZxyz(14.7349, 15.4567, 43.2727)
Luminance0.1546 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B71B0 #B06A2B
analogous
#2BB0AC #2B71B0 #2B2EB0
triadic
#2B71B0 #B02B71 #71B02B
tetradic
#2B71B0 #AC2BB0 #B06A2B #2EB02B
square
#2B71B0 #AC2BB0 #B06A2B #2EB02B
split-complementary
#2B71B0 #B02B2E #B0AC2B
monochromatic
#13324E #1F517F #2B71B0 #4690D2 #78ADDE

Accessibility & contrast

On white

5.13
#2B71B0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#2B71B0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B71B0
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B71B0#FFFFFF#000000##FFFFFF
##2B71B01.005.134.095.13
#FFFFFF5.131.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5474B3
Deuteranopia (green-blind)
#4068AF
Tritanopia (blue-blind)
#008088
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #2b71b0;
/* rgb */ color: rgb(43, 113, 176);
/* oklch */ color: oklch(53.6% 0.121 249.2);
Tailwind
colors: {
  custom: {
    50: '#7799c8',
    500: '#2b71b0',
    950: '#000000',
  },
}
SCSS
$custom: #2b71b0;
$custom-light: #7799c8;
$custom-dark: #000000;
JSON
{
  "hex": "#2b71b0",
  "rgb": {
    "r": 43,
    "g": 113,
    "b": 176
  },
  "hsl": {
    "h": 208.421,
    "s": 60.731,
    "l": 42.941
  },
  "oklch": {
    "l": 0.5358,
    "c": 0.12083,
    "h": 249.2
  },
  "luminance": 0.15458
}

Semantic roles & 50–950 ramp

primary
#2B71B0
secondary
#C69971
accent
#9044E4
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0D13
muted
#7C7E82

Preview Lab

Preview with #2B71B0

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

Preview Lab → · Contrast checker → · Palette generator →

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