#2891B1#2891B1

#2891B1 is a mid, moderate cyan. Relative luminance 0.239; OKLCH L 61.3% C 0.103 H 223.2°. Best body text is #000000 at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#2891B1
RGBrgb(40, 145, 177)
HSLhsl(194, 63%, 43%)
HSVhsv(194, 77%, 69%)
CMYKcmyk(77.4%, 18.1%, 0%, 30.6%)
CIE-LABlab(55.96, -18.17, -25.12)
CIE-LCHlch(55.96, 31.00, 234.12°)
OKLaboklab(61.29% -0.0749 -0.0704)
OKLCHoklch(61.29% 0.103 223.2)
XYZxyz(18.9330, 23.8739, 45.1967)
Luminance0.2388 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2891B1 #B14828
analogous
#28B18D #2891B1 #284CB1
triadic
#2891B1 #B12891 #91B128
tetradic
#2891B1 #8D28B1 #B14828 #4CB128
square
#2891B1 #8D28B1 #B14828 #4CB128
split-complementary
#2891B1 #B1284C #B18D28
monochromatic
#113F4D #1D687F #2891B1 #42B2D4 #74C6E0

Accessibility & contrast

On white

3.64
#2891B1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.78
#2891B1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2891B1
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2891B1#FFFFFF#000000##000000
##2891B11.003.645.785.78
#FFFFFF3.641.0021.0021.00
#0000005.7821.001.001.00
##0000005.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7F8EB3
Deuteranopia (green-blind)
#6C80B1
Tritanopia (blue-blind)
#009B9B
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #2891b1;
/* rgb */ color: rgb(40, 145, 177);
/* oklch */ color: oklch(61.3% 0.103 223.2);
Tailwind
colors: {
  custom: {
    50: '#78b1c8',
    500: '#2891b1',
    950: '#000000',
  },
}
SCSS
$custom: #2891b1;
$custom-light: #78b1c8;
$custom-dark: #000000;
JSON
{
  "hex": "#2891b1",
  "rgb": {
    "r": 40,
    "g": 145,
    "b": 177
  },
  "hsl": {
    "h": 194.015,
    "s": 63.134,
    "l": 42.549
  },
  "oklch": {
    "l": 0.61286,
    "c": 0.1028,
    "h": 223.2
  },
  "luminance": 0.23876
}

Semantic roles & 50–950 ramp

primary
#2891B1
secondary
#C7836E
accent
#6842E6
background
#F7FAFC
surface
#EEF5F8
border
#C9CFD1
text
#0A1013
muted
#7C7F82

Preview Lab

Preview with #2891B1

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

Preview Lab → · Contrast checker → · Palette generator →

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