#2881AF#2881AF

#2881AF is a mid, moderate cyan. Relative luminance 0.192; OKLCH L 57.3% C 0.108 H 236.1°. Best body text is #000000 at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#2881AF
RGBrgb(40, 129, 175)
HSLhsl(200, 63%, 42%)
HSVhsv(200, 77%, 69%)
CMYKcmyk(77.1%, 26.3%, 0%, 31.4%)
CIE-LABlab(50.97, -9.98, -31.71)
CIE-LCHlch(50.97, 33.25, 252.54°)
OKLaboklab(57.27% -0.0601 -0.0895)
OKLCHoklch(57.27% 0.108 236.1)
XYZxyz(16.4601, 19.2448, 43.3962)
Luminance0.1925 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2881AF #AF5628
analogous
#28AF99 #2881AF #283EAF
triadic
#2881AF #AF2881 #81AF28
tetradic
#2881AF #9928AF #AF5628 #3EAF28
square
#2881AF #9928AF #AF5628 #3EAF28
split-complementary
#2881AF #AF283E #AF9928
monochromatic
#11384B #1D5C7D #2881AF #41A1D4 #73BADF

Accessibility & contrast

On white

4.33
#2881AF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.85
#2881AF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2881AF
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2881AF#FFFFFF#000000##000000
##2881AF1.004.334.854.85
#FFFFFF4.331.0021.0021.00
#0000004.8521.001.001.00
##0000004.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B80B1
Deuteranopia (green-blind)
#5974AE
Tritanopia (blue-blind)
#008D91
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #2881af;
/* rgb */ color: rgb(40, 129, 175);
/* oklch */ color: oklch(57.3% 0.108 236.1);
Tailwind
colors: {
  custom: {
    50: '#76a5c7',
    500: '#2881af',
    950: '#000000',
  },
}
SCSS
$custom: #2881af;
$custom-light: #76a5c7;
$custom-dark: #000000;
JSON
{
  "hex": "#2881af",
  "rgb": {
    "r": 40,
    "g": 129,
    "b": 175
  },
  "hsl": {
    "h": 200.444,
    "s": 62.791,
    "l": 42.157
  },
  "oklch": {
    "l": 0.57272,
    "c": 0.10778,
    "h": 236.1
  },
  "luminance": 0.19247
}

Semantic roles & 50–950 ramp

primary
#2881AF
secondary
#C68B6D
accent
#7A42E6
background
#F7FAFC
surface
#EEF4F8
border
#C9CED1
text
#0A0F13
muted
#7C7F82

Preview Lab

Preview with #2881AF

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

Preview Lab → · Contrast checker → · Palette generator →

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