#2881AA#2881AA

#2881AA is a mid, moderate cyan. Relative luminance 0.191; OKLCH L 57.0% C 0.103 H 233.0°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#2881AA
RGBrgb(40, 129, 170)
HSLhsl(199, 62%, 41%)
HSVhsv(199, 76%, 67%)
CMYKcmyk(76.5%, 24.1%, 0%, 33.3%)
CIE-LABlab(50.75, -11.76, -29.17)
CIE-LCHlch(50.75, 31.45, 248.05°)
OKLaboklab(57.02% -0.0618 -0.0821)
OKLCHoklch(57.02% 0.103 233)
XYZxyz(15.9781, 19.0520, 40.8577)
Luminance0.1905 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2881AA #AA5128
analogous
#28AA92 #2881AA #2840AA
triadic
#2881AA #AA2881 #81AA28
tetradic
#2881AA #9228AA #AA5128 #40AA28
square
#2881AA #9228AA #AA5128 #40AA28
split-complementary
#2881AA #AA2840 #AA9228
monochromatic
#113647 #1C5B78 #2881AA #3EA3D2 #6FBADD

Accessibility & contrast

On white

4.37
#2881AA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.81
#2881AA on #000000
AA ✓AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2881AA#FFFFFF#000000##000000
##2881AA1.004.374.814.81
#FFFFFF4.371.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D80AC
Deuteranopia (green-blind)
#5B73A9
Tritanopia (blue-blind)
#008C8F
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #2881aa;
/* rgb */ color: rgb(40, 129, 170);
/* oklch */ color: oklch(57.0% 0.103 233.0);
Tailwind
colors: {
  custom: {
    50: '#75a5c3',
    500: '#2881aa',
    950: '#000000',
  },
}
SCSS
$custom: #2881aa;
$custom-light: #75a5c3;
$custom-dark: #000000;
JSON
{
  "hex": "#2881aa",
  "rgb": {
    "r": 40,
    "g": 129,
    "b": 170
  },
  "hsl": {
    "h": 198.923,
    "s": 61.905,
    "l": 41.176
  },
  "oklch": {
    "l": 0.57019,
    "c": 0.10281,
    "h": 233
  },
  "luminance": 0.19054
}

Semantic roles & 50–950 ramp

primary
#2881AA
secondary
#C4866A
accent
#7643E5
background
#F7FAFC
surface
#EEF4F8
border
#C9CED1
text
#0A0F12
muted
#7C7F81

Preview Lab

Preview with #2881AA

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

Preview Lab → · Contrast checker → · Palette generator →

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