#2891A2#2891A2

#2891A2 is a mid, moderate teal. Relative luminance 0.233; OKLCH L 60.6% C 0.094 H 210.9°. Best body text is #000000 at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#2891A2
RGBrgb(40, 145, 162)
HSLhsl(188, 60%, 40%)
HSVhsv(188, 75%, 64%)
CMYKcmyk(75.3%, 10.5%, 0%, 36.5%)
CIE-LABlab(55.39, -23.16, -17.42)
CIE-LCHlch(55.39, 28.98, 216.95°)
OKLaboklab(60.64% -0.081 -0.0485)
OKLCHoklch(60.64% 0.094 210.9)
XYZxyz(17.5192, 23.3084, 37.7511)
Luminance0.2331 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2891A2 #A23928
analogous
#28A276 #2891A2 #2854A2
triadic
#2891A2 #A22891 #91A228
tetradic
#2891A2 #7628A2 #A23928 #54A228
square
#2891A2 #7628A2 #A23928 #54A228
split-complementary
#2891A2 #A22854 #A27628
monochromatic
#103940 #1C6571 #2891A2 #39B9CE #6ACBDA

Accessibility & contrast

On white

3.71
#2891A2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.66
#2891A2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2891A2
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2891A2#FFFFFF#000000##000000
##2891A21.003.715.665.66
#FFFFFF3.711.0021.0021.00
#0000005.6621.001.001.00
##0000005.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#838CA3
Deuteranopia (green-blind)
#727FA2
Tritanopia (blue-blind)
#009896
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #2891a2;
/* rgb */ color: rgb(40, 145, 162);
/* oklch */ color: oklch(60.6% 0.094 210.9);
Tailwind
colors: {
  custom: {
    50: '#76b1bd',
    500: '#2891a2',
    950: '#000000',
  },
}
SCSS
$custom: #2891a2;
$custom-light: #76b1bd;
$custom-dark: #000000;
JSON
{
  "hex": "#2891a2",
  "rgb": {
    "r": 40,
    "g": 145,
    "b": 162
  },
  "hsl": {
    "h": 188.361,
    "s": 60.396,
    "l": 39.608
  },
  "oklch": {
    "l": 0.60636,
    "c": 0.09443,
    "h": 210.9
  },
  "luminance": 0.23311
}

Semantic roles & 50–950 ramp

primary
#2891A2
secondary
#C17265
accent
#5A44E4
background
#F7FAFB
surface
#EEF5F6
border
#C9CFD0
text
#0A1012
muted
#7C7F81

Preview Lab

Preview with #2891A2

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

Preview Lab → · Contrast checker → · Palette generator →

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