#2881B1#2881B1

#2881B1 is a mid, moderate cyan. Relative luminance 0.193; OKLCH L 57.4% C 0.110 H 237.3°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#2881B1
RGBrgb(40, 129, 177)
HSLhsl(201, 63%, 43%)
HSVhsv(201, 77%, 69%)
CMYKcmyk(77.4%, 27.1%, 0%, 30.6%)
CIE-LABlab(51.06, -9.26, -32.73)
CIE-LCHlch(51.06, 34.01, 254.20°)
OKLaboklab(57.38% -0.0594 -0.0924)
OKLCHoklch(57.38% 0.11 237.3)
XYZxyz(16.6580, 19.3240, 44.4384)
Luminance0.1933 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2881B1 #B15828
analogous
#28B19D #2881B1 #283CB1
triadic
#2881B1 #B12881 #81B128
tetradic
#2881B1 #9D28B1 #B15828 #3CB128
square
#2881B1 #9D28B1 #B15828 #3CB128
split-complementary
#2881B1 #B1283C #B19D28
monochromatic
#11384D #1D5D7F #2881B1 #42A1D4 #74BAE0

Accessibility & contrast

On white

4.32
#2881B1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.87
#2881B1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2881B1
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2881B1#FFFFFF#000000##000000
##2881B11.004.324.874.87
#FFFFFF4.321.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.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: #2881b1;
/* rgb */ color: rgb(40, 129, 177);
/* oklch */ color: oklch(57.4% 0.110 237.3);
Tailwind
colors: {
  custom: {
    50: '#77a5c8',
    500: '#2881b1',
    950: '#000000',
  },
}
SCSS
$custom: #2881b1;
$custom-light: #77a5c8;
$custom-dark: #000000;
JSON
{
  "hex": "#2881b1",
  "rgb": {
    "r": 40,
    "g": 129,
    "b": 177
  },
  "hsl": {
    "h": 201.022,
    "s": 63.134,
    "l": 42.549
  },
  "oklch": {
    "l": 0.57375,
    "c": 0.10985,
    "h": 237.3
  },
  "luminance": 0.19326
}

Semantic roles & 50–950 ramp

primary
#2881B1
secondary
#C78D6E
accent
#7B42E6
background
#F7FAFC
surface
#EEF4F8
border
#C9CED1
text
#0A0F13
muted
#7C7F82

Preview Lab

Preview with #2881B1

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

Preview Lab → · Contrast checker → · Palette generator →

#2881B1 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva