#2891B5#2891B5

#2891B5 is a mid, moderate cyan. Relative luminance 0.240; OKLCH L 61.5% C 0.106 H 226.1°. Best body text is #000000 at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#2891B5
RGBrgb(40, 145, 181)
HSLhsl(195, 64%, 43%)
HSVhsv(195, 78%, 71%)
CMYKcmyk(77.9%, 19.9%, 0%, 29%)
CIE-LABlab(56.12, -16.80, -27.15)
CIE-LCHlch(56.12, 31.93, 238.25°)
OKLaboklab(61.47% -0.0734 -0.0762)
OKLCHoklch(61.47% 0.106 226.1)
XYZxyz(19.3375, 24.0358, 47.3273)
Luminance0.2404 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2891B5 #B54C28
analogous
#28B592 #2891B5 #284AB5
triadic
#2891B5 #B52891 #91B528
tetradic
#2891B5 #9228B5 #B54C28 #4AB528
square
#2891B5 #9228B5 #B54C28 #4AB528
split-complementary
#2891B5 #B5284A #B59228
monochromatic
#124151 #1D6983 #2891B5 #44B1D6 #77C6E1

Accessibility & contrast

On white

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

On black

5.81
#2891B5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2891B5
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2891B5#FFFFFF#000000##000000
##2891B51.003.625.815.81
#FFFFFF3.621.0021.0021.00
#0000005.8121.001.001.00
##0000005.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7D8EB7
Deuteranopia (green-blind)
#6B81B5
Tritanopia (blue-blind)
#009B9D
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #2891b5;
/* rgb */ color: rgb(40, 145, 181);
/* oklch */ color: oklch(61.5% 0.106 226.1);
Tailwind
colors: {
  custom: {
    50: '#78b1cb',
    500: '#2891b5',
    950: '#000000',
  },
}
SCSS
$custom: #2891b5;
$custom-light: #78b1cb;
$custom-dark: #000000;
JSON
{
  "hex": "#2891b5",
  "rgb": {
    "r": 40,
    "g": 145,
    "b": 181
  },
  "hsl": {
    "h": 195.319,
    "s": 63.801,
    "l": 43.333
  },
  "oklch": {
    "l": 0.6147,
    "c": 0.1058,
    "h": 226.1
  },
  "luminance": 0.24038
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2891B5

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

Preview Lab → · Contrast checker → · Palette generator →

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