#2C81B1#2C81B1

#2C81B1 is a mid, moderate cyan. Relative luminance 0.194; OKLCH L 57.5% C 0.108 H 238.0°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#2C81B1
RGBrgb(44, 129, 177)
HSLhsl(202, 60%, 43%)
HSVhsv(202, 75%, 69%)
CMYKcmyk(75.1%, 27.1%, 0%, 30.6%)
CIE-LABlab(51.16, -8.77, -32.57)
CIE-LCHlch(51.16, 33.72, 254.94°)
OKLaboklab(57.48% -0.0574 -0.0919)
OKLCHoklch(57.48% 0.108 238)
XYZxyz(16.8216, 19.4083, 44.4461)
Luminance0.1941 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C81B1 #B15C2C
analogous
#2CB19E #2C81B1 #2C3EB1
triadic
#2C81B1 #B12C81 #81B12C
tetradic
#2C81B1 #9E2CB1 #B15C2C #3EB12C
square
#2C81B1 #9E2CB1 #B15C2C #3EB12C
split-complementary
#2C81B1 #B12C3E #B19E2C
monochromatic
#143A4F #205D80 #2C81B1 #49A0D2 #7ABADE

Accessibility & contrast

On white

4.30
#2C81B1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#2C81B1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2C81B1
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C81B1#FFFFFF#000000##000000
##2C81B11.004.304.884.88
#FFFFFF4.301.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A81B3
Deuteranopia (green-blind)
#5874B0
Tritanopia (blue-blind)
#008D92
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #2c81b1;
/* rgb */ color: rgb(44, 129, 177);
/* oklch */ color: oklch(57.5% 0.108 238.0);
Tailwind
colors: {
  custom: {
    50: '#78a5c8',
    500: '#2c81b1',
    950: '#000000',
  },
}
SCSS
$custom: #2c81b1;
$custom-light: #78a5c8;
$custom-dark: #000000;
JSON
{
  "hex": "#2c81b1",
  "rgb": {
    "r": 44,
    "g": 129,
    "b": 177
  },
  "hsl": {
    "h": 201.654,
    "s": 60.181,
    "l": 43.333
  },
  "oklch": {
    "l": 0.5748,
    "c": 0.10839,
    "h": 238
  },
  "luminance": 0.1941
}

Semantic roles & 50–950 ramp

primary
#2C81B1
secondary
#C69173
accent
#7E44E3
background
#F7FAFC
surface
#EEF4F8
border
#C9CED1
text
#0A0F13
muted
#7C7F82

Preview Lab

Preview with #2C81B1

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

Preview Lab → · Contrast checker → · Palette generator →

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