#2C71B0#2C71B0

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

Color values

HEX#2C71B0
RGBrgb(44, 113, 176)
HSLhsl(209, 60%, 43%)
HSVhsv(209, 75%, 69%)
CMYKcmyk(75%, 35.8%, 0%, 31%)
CIE-LABlab(46.28, 0.40, -39.66)
CIE-LCHlch(46.28, 39.66, 270.57°)
OKLaboklab(53.61% -0.0423 -0.1128)
OKLCHoklch(53.61% 0.12 249.4)
XYZxyz(14.7773, 15.4786, 43.2747)
Luminance0.1548 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C71B0 #B06B2C
analogous
#2CB0AD #2C71B0 #2C2FB0
triadic
#2C71B0 #B02C71 #71B02C
tetradic
#2C71B0 #AD2CB0 #B06B2C #2FB02C
square
#2C71B0 #AD2CB0 #B06B2C #2FB02C
split-complementary
#2C71B0 #B02C2F #B0AD2C
monochromatic
#14324E #20527F #2C71B0 #4890D1 #79ADDD

Accessibility & contrast

On white

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

On black

4.10
#2C71B0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2C71B0#FFFFFF#000000##FFFFFF
##2C71B01.005.134.105.13
#FFFFFF5.131.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2c71b0;
/* rgb */ color: rgb(44, 113, 176);
/* oklch */ color: oklch(53.6% 0.120 249.4);
Tailwind
colors: {
  custom: {
    50: '#7799c8',
    500: '#2c71b0',
    950: '#000000',
  },
}
SCSS
$custom: #2c71b0;
$custom-light: #7799c8;
$custom-dark: #000000;
JSON
{
  "hex": "#2c71b0",
  "rgb": {
    "r": 44,
    "g": 113,
    "b": 176
  },
  "hsl": {
    "h": 208.636,
    "s": 60,
    "l": 43.137
  },
  "oklch": {
    "l": 0.53611,
    "c": 0.12048,
    "h": 249.4
  },
  "luminance": 0.1548
}

Semantic roles & 50–950 ramp

primary
#2C71B0
secondary
#C69A72
accent
#9045E3
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0D13
muted
#7C7E82

Preview Lab

Preview with #2C71B0

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

Preview Lab → · Contrast checker → · Palette generator →

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