#2891AC#2891AC

#2891AC is a mid, moderate cyan. Relative luminance 0.237; OKLCH L 61.1% C 0.099 H 219.4°. Best body text is #000000 at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#2891AC
RGBrgb(40, 145, 172)
HSLhsl(192, 62%, 42%)
HSVhsv(192, 77%, 67%)
CMYKcmyk(76.7%, 15.7%, 0%, 32.5%)
CIE-LABlab(55.76, -19.86, -22.57)
CIE-LCHlch(55.76, 30.06, 228.66°)
OKLaboklab(61.06% -0.0769 -0.0631)
OKLCHoklch(61.06% 0.099 219.4)
XYZxyz(18.4437, 23.6782, 42.6200)
Luminance0.2368 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2891AC #AC4328
analogous
#28AC85 #2891AC #284FAC
triadic
#2891AC #AC2891 #91AC28
tetradic
#2891AC #8528AC #AC4328 #4FAC28
square
#2891AC #8528AC #AC4328 #4FAC28
split-complementary
#2891AC #AC284F #AC8528
monochromatic
#113D49 #1C677A #2891AC #3FB4D2 #71C8DE

Accessibility & contrast

On white

3.66
#2891AC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.74
#2891AC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2891AC
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2891AC#FFFFFF#000000##000000
##2891AC1.003.665.745.74
#FFFFFF3.661.0021.0021.00
#0000005.7421.001.001.00
##0000005.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#808DAD
Deuteranopia (green-blind)
#6E80AC
Tritanopia (blue-blind)
#009A9A
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #2891ac;
/* rgb */ color: rgb(40, 145, 172);
/* oklch */ color: oklch(61.1% 0.099 219.4);
Tailwind
colors: {
  custom: {
    50: '#77b1c4',
    500: '#2891ac',
    950: '#000000',
  },
}
SCSS
$custom: #2891ac;
$custom-light: #77b1c4;
$custom-dark: #000000;
JSON
{
  "hex": "#2891ac",
  "rgb": {
    "r": 40,
    "g": 145,
    "b": 172
  },
  "hsl": {
    "h": 192.273,
    "s": 62.264,
    "l": 41.569
  },
  "oklch": {
    "l": 0.61063,
    "c": 0.09947,
    "h": 219.4
  },
  "luminance": 0.2368
}

Semantic roles & 50–950 ramp

primary
#2891AC
secondary
#C57D6B
accent
#6442E5
background
#F7FAFC
surface
#EEF5F8
border
#C9CFD1
text
#0A1012
muted
#7C7F81

Preview Lab

Preview with #2891AC

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

Preview Lab → · Contrast checker → · Palette generator →

#2891AC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva