#2C81B5#2C81B5

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

Color values

HEX#2C81B5
RGBrgb(44, 129, 181)
HSLhsl(203, 61%, 44%)
HSVhsv(203, 76%, 71%)
CMYKcmyk(75.7%, 28.7%, 0%, 29%)
CIE-LABlab(51.35, -7.34, -34.58)
CIE-LCHlch(51.35, 35.35, 258.02°)
OKLaboklab(57.69% -0.0561 -0.0978)
OKLCHoklch(57.69% 0.113 240.2)
XYZxyz(17.2262, 19.5702, 46.5766)
Luminance0.1957 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C81B5 #B5602C
analogous
#2CB5A5 #2C81B5 #2C3CB5
triadic
#2C81B5 #B52C81 #81B52C
tetradic
#2C81B5 #A52CB5 #B5602C #3CB52C
square
#2C81B5 #A52CB5 #B5602C #3CB52C
split-complementary
#2C81B5 #B52C3C #B5A52C
monochromatic
#143B53 #205E84 #2C81B5 #4BA0D3 #7CBADF

Accessibility & contrast

On white

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

On black

4.91
#2C81B5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2C81B5
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C81B5#FFFFFF#000000##000000
##2C81B51.004.274.914.91
#FFFFFF4.271.0021.0021.00
#0000004.9121.001.001.00
##0000004.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6981B7
Deuteranopia (green-blind)
#5675B4
Tritanopia (blue-blind)
#008E93
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #2c81b5;
/* rgb */ color: rgb(44, 129, 181);
/* oklch */ color: oklch(57.7% 0.113 240.2);
Tailwind
colors: {
  custom: {
    50: '#79a5cb',
    500: '#2c81b5',
    950: '#000000',
  },
}
SCSS
$custom: #2c81b5;
$custom-light: #79a5cb;
$custom-dark: #000000;
JSON
{
  "hex": "#2c81b5",
  "rgb": {
    "r": 44,
    "g": 129,
    "b": 181
  },
  "hsl": {
    "h": 202.774,
    "s": 60.889,
    "l": 44.118
  },
  "oklch": {
    "l": 0.57689,
    "c": 0.11272,
    "h": 240.2
  },
  "luminance": 0.19572
}

Semantic roles & 50–950 ramp

primary
#2C81B5
secondary
#C89475
accent
#8144E4
background
#F7FAFC
surface
#EEF4F8
border
#C9CED1
text
#0A0F13
muted
#7C7F82

Preview Lab

Preview with #2C81B5

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

Preview Lab → · Contrast checker → · Palette generator →

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