#2891AB#2891AB

#2891AB is a mid, moderate cyan. Relative luminance 0.236; OKLCH L 61.0% C 0.099 H 218.6°. Best body text is #000000 at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#2891AB
RGBrgb(40, 145, 171)
HSLhsl(192, 62%, 41%)
HSVhsv(192, 77%, 67%)
CMYKcmyk(76.6%, 15.2%, 0%, 32.9%)
CIE-LABlab(55.73, -20.19, -22.06)
CIE-LCHlch(55.73, 29.90, 227.53°)
OKLaboklab(61.02% -0.0773 -0.0616)
OKLCHoklch(61.02% 0.099 218.6)
XYZxyz(18.3481, 23.6400, 42.1161)
Luminance0.2364 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2891AB #AB4228
analogous
#28AB84 #2891AB #2850AB
triadic
#2891AB #AB2891 #91AB28
tetradic
#2891AB #8428AB #AB4228 #50AB28
square
#2891AB #8428AB #AB4228 #50AB28
split-complementary
#2891AB #AB2850 #AB8428
monochromatic
#113D48 #1C6779 #2891AB #3EB5D2 #70C8DE

Accessibility & contrast

On white

3.67
#2891AB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.73
#2891AB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2891AB
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2891AB#FFFFFF#000000##000000
##2891AB1.003.675.735.73
#FFFFFF3.671.0021.0021.00
#0000005.7321.001.001.00
##0000005.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#818DAC
Deuteranopia (green-blind)
#6F80AB
Tritanopia (blue-blind)
#009A99
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #2891ab;
/* rgb */ color: rgb(40, 145, 171);
/* oklch */ color: oklch(61.0% 0.099 218.6);
Tailwind
colors: {
  custom: {
    50: '#77b1c4',
    500: '#2891ab',
    950: '#000000',
  },
}
SCSS
$custom: #2891ab;
$custom-light: #77b1c4;
$custom-dark: #000000;
JSON
{
  "hex": "#2891ab",
  "rgb": {
    "r": 40,
    "g": 145,
    "b": 171
  },
  "hsl": {
    "h": 191.908,
    "s": 62.085,
    "l": 41.373
  },
  "oklch": {
    "l": 0.61019,
    "c": 0.09887,
    "h": 218.6
  },
  "luminance": 0.23642
}

Semantic roles & 50–950 ramp

primary
#2891AB
secondary
#C47C6A
accent
#6343E5
background
#F7FAFC
surface
#EEF5F8
border
#C9CFD1
text
#0A1012
muted
#7C7F81

Preview Lab

Preview with #2891AB

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

Preview Lab → · Contrast checker → · Palette generator →

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