#2891BC#2891BC

#2891BC is a mid, moderate cyan. Relative luminance 0.243; OKLCH L 61.8% C 0.112 H 230.6°. Best body text is #000000 at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#2891BC
RGBrgb(40, 145, 188)
HSLhsl(197, 65%, 45%)
HSVhsv(197, 79%, 74%)
CMYKcmyk(78.7%, 22.9%, 0%, 26.3%)
CIE-LABlab(56.42, -14.38, -30.67)
CIE-LCHlch(56.42, 33.88, 244.88°)
OKLaboklab(61.8% -0.0708 -0.0863)
OKLCHoklch(61.8% 0.112 230.6)
XYZxyz(20.0739, 24.3303, 51.2054)
Luminance0.2433 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2891BC #BC5328
analogous
#28BC9D #2891BC #2847BC
triadic
#2891BC #BC2891 #91BC28
tetradic
#2891BC #9D28BC #BC5328 #47BC28
square
#2891BC #9D28BC #BC5328 #47BC28
split-complementary
#2891BC #BC2847 #BC9D28
monochromatic
#134357 #1D6A8A #2891BC #49AFD8 #7BC5E3

Accessibility & contrast

On white

3.58
#2891BC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.87
#2891BC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2891BC
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2891BC#FFFFFF#000000##000000
##2891BC1.003.585.875.87
#FFFFFF3.581.0021.0021.00
#0000005.8721.001.001.00
##0000005.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7B8FBE
Deuteranopia (green-blind)
#6781BB
Tritanopia (blue-blind)
#009D9F
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #2891bc;
/* rgb */ color: rgb(40, 145, 188);
/* oklch */ color: oklch(61.8% 0.112 230.6);
Tailwind
colors: {
  custom: {
    50: '#79b1d0',
    500: '#2891bc',
    950: '#000000',
  },
}
SCSS
$custom: #2891bc;
$custom-light: #79b1d0;
$custom-dark: #000000;
JSON
{
  "hex": "#2891bc",
  "rgb": {
    "r": 40,
    "g": 145,
    "b": 188
  },
  "hsl": {
    "h": 197.432,
    "s": 64.912,
    "l": 44.706
  },
  "oklch": {
    "l": 0.61802,
    "c": 0.11166,
    "h": 230.6
  },
  "luminance": 0.24333
}

Semantic roles & 50–950 ramp

primary
#2891BC
secondary
#CB8E75
accent
#7140E8
background
#F8FAFC
surface
#EFF5F9
border
#CACFD2
text
#0B1014
muted
#7C7F82

Preview Lab

Preview with #2891BC

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

Preview Lab → · Contrast checker → · Palette generator →

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