#2C81B6#2C81B6

#2C81B6 is a mid, moderate cyan. Relative luminance 0.196; OKLCH L 57.7% C 0.114 H 240.7°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#2C81B6
RGBrgb(44, 129, 182)
HSLhsl(203, 61%, 44%)
HSVhsv(203, 76%, 71%)
CMYKcmyk(75.8%, 29.1%, 0%, 28.6%)
CIE-LABlab(51.40, -6.98, -35.08)
CIE-LCHlch(51.40, 35.77, 258.75°)
OKLaboklab(57.74% -0.0558 -0.0992)
OKLCHoklch(57.74% 0.114 240.7)
XYZxyz(17.3292, 19.6114, 47.1190)
Luminance0.1961 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C81B6 #B6612C
analogous
#2CB6A6 #2C81B6 #2C3CB6
triadic
#2C81B6 #B62C81 #81B62C
tetradic
#2C81B6 #A62CB6 #B6612C #3CB62C
square
#2C81B6 #A62CB6 #B6612C #3CB62C
split-complementary
#2C81B6 #B62C3C #B6A62C
monochromatic
#143B53 #205E85 #2C81B6 #4C9FD4 #7DBAE0

Accessibility & contrast

On white

4.27
#2C81B6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.92
#2C81B6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2C81B6
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C81B6#FFFFFF#000000##000000
##2C81B61.004.274.924.92
#FFFFFF4.271.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6882B8
Deuteranopia (green-blind)
#5575B5
Tritanopia (blue-blind)
#008E94
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #2c81b6;
/* rgb */ color: rgb(44, 129, 182);
/* oklch */ color: oklch(57.7% 0.114 240.7);
Tailwind
colors: {
  custom: {
    50: '#79a5cc',
    500: '#2c81b6',
    950: '#000000',
  },
}
SCSS
$custom: #2c81b6;
$custom-light: #79a5cc;
$custom-dark: #000000;
JSON
{
  "hex": "#2c81b6",
  "rgb": {
    "r": 44,
    "g": 129,
    "b": 182
  },
  "hsl": {
    "h": 203.043,
    "s": 61.062,
    "l": 44.314
  },
  "oklch": {
    "l": 0.57742,
    "c": 0.11383,
    "h": 240.7
  },
  "luminance": 0.19613
}

Semantic roles & 50–950 ramp

primary
#2C81B6
secondary
#C89576
accent
#8144E4
background
#F8FAFC
surface
#EFF4F8
border
#CACED1
text
#0A0F13
muted
#7C7F82

Preview Lab

Preview with #2C81B6

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

Preview Lab → · Contrast checker → · Palette generator →

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