#2C81B3#2C81B3

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

Color values

HEX#2C81B3
RGBrgb(44, 129, 179)
HSLhsl(202, 61%, 44%)
HSVhsv(202, 75%, 70%)
CMYKcmyk(75.4%, 27.9%, 0%, 29.8%)
CIE-LABlab(51.25, -8.05, -33.57)
CIE-LCHlch(51.25, 34.53, 256.51°)
OKLaboklab(57.58% -0.0568 -0.0948)
OKLCHoklch(57.58% 0.111 239.1)
XYZxyz(17.0224, 19.4887, 45.5036)
Luminance0.1949 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C81B3 #B35E2C
analogous
#2CB3A1 #2C81B3 #2C3DB3
triadic
#2C81B3 #B32C81 #81B32C
tetradic
#2C81B3 #A12CB3 #B35E2C #3DB32C
square
#2C81B3 #A12CB3 #B35E2C #3DB32C
split-complementary
#2C81B3 #B32C3D #B3A12C
monochromatic
#143A51 #205E82 #2C81B3 #4AA0D2 #7BBADF

Accessibility & contrast

On white

4.29
#2C81B3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.90
#2C81B3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2C81B3
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C81B3#FFFFFF#000000##000000
##2C81B31.004.294.904.90
#FFFFFF4.291.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6981B5
Deuteranopia (green-blind)
#5774B2
Tritanopia (blue-blind)
#008E92
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #2c81b3;
/* rgb */ color: rgb(44, 129, 179);
/* oklch */ color: oklch(57.6% 0.111 239.1);
Tailwind
colors: {
  custom: {
    50: '#78a5ca',
    500: '#2c81b3',
    950: '#000000',
  },
}
SCSS
$custom: #2c81b3;
$custom-light: #78a5ca;
$custom-dark: #000000;
JSON
{
  "hex": "#2c81b3",
  "rgb": {
    "r": 44,
    "g": 129,
    "b": 179
  },
  "hsl": {
    "h": 202.222,
    "s": 60.538,
    "l": 43.725
  },
  "oklch": {
    "l": 0.57584,
    "c": 0.11054,
    "h": 239.1
  },
  "luminance": 0.19491
}

Semantic roles & 50–950 ramp

primary
#2C81B3
secondary
#C79374
accent
#7F44E4
background
#F7FAFC
surface
#EEF4F8
border
#C9CED1
text
#0A0F13
muted
#7C7F82

Preview Lab

Preview with #2C81B3

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

Preview Lab → · Contrast checker → · Palette generator →

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