#2891B4#2891B4

#2891B4 is a mid, moderate cyan. Relative luminance 0.240; OKLCH L 61.4% C 0.105 H 225.4°. Best body text is #000000 at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#2891B4
RGBrgb(40, 145, 180)
HSLhsl(195, 64%, 43%)
HSVhsv(195, 78%, 71%)
CMYKcmyk(77.8%, 19.4%, 0%, 29.4%)
CIE-LABlab(56.08, -17.15, -26.64)
CIE-LCHlch(56.08, 31.68, 237.24°)
OKLaboklab(61.42% -0.0738 -0.0747)
OKLCHoklch(61.42% 0.105 225.4)
XYZxyz(19.2353, 23.9949, 46.7889)
Luminance0.2400 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2891B4 #B44B28
analogous
#28B491 #2891B4 #284BB4
triadic
#2891B4 #B42891 #91B428
tetradic
#2891B4 #9128B4 #B44B28 #4BB428
square
#2891B4 #9128B4 #B44B28 #4BB428
split-complementary
#2891B4 #B4284B #B49128
monochromatic
#124050 #1D6982 #2891B4 #44B1D5 #76C6E1

Accessibility & contrast

On white

3.62
#2891B4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.80
#2891B4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2891B4
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2891B4#FFFFFF#000000##000000
##2891B41.003.625.805.80
#FFFFFF3.621.0021.0021.00
#0000005.8021.001.001.00
##0000005.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7E8EB6
Deuteranopia (green-blind)
#6B81B4
Tritanopia (blue-blind)
#009B9C
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #2891b4;
/* rgb */ color: rgb(40, 145, 180);
/* oklch */ color: oklch(61.4% 0.105 225.4);
Tailwind
colors: {
  custom: {
    50: '#78b1ca',
    500: '#2891b4',
    950: '#000000',
  },
}
SCSS
$custom: #2891b4;
$custom-light: #78b1ca;
$custom-dark: #000000;
JSON
{
  "hex": "#2891b4",
  "rgb": {
    "r": 40,
    "g": 145,
    "b": 180
  },
  "hsl": {
    "h": 195,
    "s": 63.636,
    "l": 43.137
  },
  "oklch": {
    "l": 0.61424,
    "c": 0.10502,
    "h": 225.4
  },
  "luminance": 0.23997
}

Semantic roles & 50–950 ramp

primary
#2891B4
secondary
#C88670
accent
#6B41E7
background
#F8FAFC
surface
#EFF5F8
border
#CACFD1
text
#0A1013
muted
#7C7F82

Preview Lab

Preview with #2891B4

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

Preview Lab → · Contrast checker → · Palette generator →

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