#2C81B4#2C81B4

#2C81B4 is a mid, moderate cyan. Relative luminance 0.195; OKLCH L 57.6% C 0.112 H 239.6°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#2C81B4
RGBrgb(44, 129, 180)
HSLhsl(203, 61%, 44%)
HSVhsv(203, 76%, 71%)
CMYKcmyk(75.6%, 28.3%, 0%, 29.4%)
CIE-LABlab(51.30, -7.69, -34.08)
CIE-LCHlch(51.30, 34.93, 257.28°)
OKLaboklab(57.64% -0.0564 -0.0963)
OKLCHoklch(57.64% 0.112 239.6)
XYZxyz(17.1239, 19.5293, 46.0382)
Luminance0.1953 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C81B4 #B45F2C
analogous
#2CB4A3 #2C81B4 #2C3DB4
triadic
#2C81B4 #B42C81 #81B42C
tetradic
#2C81B4 #A32CB4 #B45F2C #3DB42C
square
#2C81B4 #A32CB4 #B45F2C #3DB42C
split-complementary
#2C81B4 #B42C3D #B4A32C
monochromatic
#143B52 #205E83 #2C81B4 #4AA0D3 #7CBADF

Accessibility & contrast

On white

4.28
#2C81B4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##2C81B4#FFFFFF#000000##000000
##2C81B41.004.284.914.91
#FFFFFF4.281.0021.0021.00
#0000004.9121.001.001.00
##0000004.9121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2c81b4;
/* rgb */ color: rgb(44, 129, 180);
/* oklch */ color: oklch(57.6% 0.112 239.6);
Tailwind
colors: {
  custom: {
    50: '#78a5ca',
    500: '#2c81b4',
    950: '#000000',
  },
}
SCSS
$custom: #2c81b4;
$custom-light: #78a5ca;
$custom-dark: #000000;
JSON
{
  "hex": "#2c81b4",
  "rgb": {
    "r": 44,
    "g": 129,
    "b": 180
  },
  "hsl": {
    "h": 202.5,
    "s": 60.714,
    "l": 43.922
  },
  "oklch": {
    "l": 0.57636,
    "c": 0.11162,
    "h": 239.6
  },
  "luminance": 0.19531
}

Semantic roles & 50–950 ramp

primary
#2C81B4
secondary
#C79475
accent
#8044E4
background
#F7FAFC
surface
#EEF4F8
border
#C9CED1
text
#0A0F13
muted
#7C7F82

Preview Lab

Preview with #2C81B4

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

Preview Lab → · Contrast checker → · Palette generator →

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