#2891BA#2891BA

#2891BA is a mid, moderate cyan. Relative luminance 0.242; OKLCH L 61.7% C 0.110 H 229.4°. Best body text is #000000 at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#2891BA
RGBrgb(40, 145, 186)
HSLhsl(197, 65%, 44%)
HSVhsv(197, 78%, 73%)
CMYKcmyk(78.5%, 22%, 0%, 27.1%)
CIE-LABlab(56.33, -15.08, -29.67)
CIE-LCHlch(56.33, 33.28, 243.06°)
OKLaboklab(61.71% -0.0715 -0.0834)
OKLCHoklch(61.71% 0.11 229.4)
XYZxyz(19.8598, 24.2447, 50.0778)
Luminance0.2425 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2891BA #BA5128
analogous
#28BA9A #2891BA #2848BA
triadic
#2891BA #BA2891 #91BA28
tetradic
#2891BA #9A28BA #BA5128 #48BA28
square
#2891BA #9A28BA #BA5128 #48BA28
split-complementary
#2891BA #BA2848 #BA9A28
monochromatic
#124255 #1D6A88 #2891BA #48AFD8 #7AC5E2

Accessibility & contrast

On white

3.59
#2891BA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.85
#2891BA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2891BA
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2891BA#FFFFFF#000000##000000
##2891BA1.003.595.855.85
#FFFFFF3.591.0021.0021.00
#0000005.8521.001.001.00
##0000005.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7C8FBC
Deuteranopia (green-blind)
#6881B9
Tritanopia (blue-blind)
#009C9F
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #2891ba;
/* rgb */ color: rgb(40, 145, 186);
/* oklch */ color: oklch(61.7% 0.110 229.4);
Tailwind
colors: {
  custom: {
    50: '#79b1cf',
    500: '#2891ba',
    950: '#000000',
  },
}
SCSS
$custom: #2891ba;
$custom-light: #79b1cf;
$custom-dark: #000000;
JSON
{
  "hex": "#2891ba",
  "rgb": {
    "r": 40,
    "g": 145,
    "b": 186
  },
  "hsl": {
    "h": 196.849,
    "s": 64.602,
    "l": 44.314
  },
  "oklch": {
    "l": 0.61706,
    "c": 0.10991,
    "h": 229.4
  },
  "luminance": 0.24247
}

Semantic roles & 50–950 ramp

primary
#2891BA
secondary
#CA8C73
accent
#6F40E8
background
#F8FAFC
surface
#EFF5F9
border
#CACFD2
text
#0B1013
muted
#7C7F82

Preview Lab

Preview with #2891BA

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

Preview Lab → · Contrast checker → · Palette generator →

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