#2B71D0#2B71D0

#2B71D0 is a mid, vivid cyan. Relative luminance 0.169; OKLCH L 55.6% C 0.162 H 257.3°. Best body text is #FFFFFF at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#2B71D0
RGBrgb(43, 113, 208)
HSLhsl(215, 66%, 49%)
HSVhsv(215, 79%, 82%)
CMYKcmyk(79.3%, 45.7%, 0%, 18.4%)
CIE-LABlab(48.10, 12.32, -55.21)
CIE-LCHlch(48.10, 56.57, 282.58°)
OKLaboklab(55.62% -0.0357 -0.1585)
OKLCHoklch(55.62% 0.162 257.3)
XYZxyz(18.2824, 16.8757, 61.9561)
Luminance0.1688 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B71D0 #D08A2B
analogous
#2BC4D0 #2B71D0 #372BD0
triadic
#2B71D0 #D02B71 #71D02B
tetradic
#2B71D0 #D02BC4 #D08A2B #2BD037
square
#2B71D0 #D02BC4 #D08A2B #2BD037
split-complementary
#2B71D0 #D0372B #C4D02B
monochromatic
#163A6B #21559D #2B71D0 #5B92DD #8EB4E8

Accessibility & contrast

On white

4.80
#2B71D0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.38
#2B71D0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B71D0
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B71D0#FFFFFF#000000##FFFFFF
##2B71D01.004.804.384.80
#FFFFFF4.801.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E7AD4
Deuteranopia (green-blind)
#146BCE
Tritanopia (blue-blind)
#008896
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #2b71d0;
/* rgb */ color: rgb(43, 113, 208);
/* oklch */ color: oklch(55.6% 0.162 257.3);
Tailwind
colors: {
  custom: {
    50: '#7e99df',
    500: '#2b71d0',
    950: '#000000',
  },
}
SCSS
$custom: #2b71d0;
$custom-light: #7e99df;
$custom-dark: #000000;
JSON
{
  "hex": "#2b71d0",
  "rgb": {
    "r": 43,
    "g": 113,
    "b": 208
  },
  "hsl": {
    "h": 214.545,
    "s": 65.737,
    "l": 49.216
  },
  "oklch": {
    "l": 0.55619,
    "c": 0.16244,
    "h": 257.3
  },
  "luminance": 0.16878
}

Semantic roles & 50–950 ramp

primary
#2B71D0
secondary
#D2B185
accent
#A13FE9
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0B0D15
muted
#7C7E83

Preview Lab

Preview with #2B71D0

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

Preview Lab → · Contrast checker → · Palette generator →

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