#2891B3#2891B3

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

Color values

HEX#2891B3
RGBrgb(40, 145, 179)
HSLhsl(195, 63%, 43%)
HSVhsv(195, 78%, 70%)
CMYKcmyk(77.7%, 19%, 0%, 29.8%)
CIE-LABlab(56.04, -17.49, -26.14)
CIE-LCHlch(56.04, 31.45, 236.21°)
OKLaboklab(61.38% -0.0742 -0.0733)
OKLCHoklch(61.38% 0.104 224.7)
XYZxyz(19.1338, 23.9543, 46.2543)
Luminance0.2396 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2891B3 #B34A28
analogous
#28B38F #2891B3 #284CB3
triadic
#2891B3 #B32891 #91B328
tetradic
#2891B3 #8F28B3 #B34A28 #4CB328
square
#2891B3 #8F28B3 #B34A28 #4CB328
split-complementary
#2891B3 #B3284C #B38F28
monochromatic
#12404F #1D6881 #2891B3 #43B1D5 #75C6E0

Accessibility & contrast

On white

3.63
#2891B3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.79
#2891B3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2891B3
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2891B3#FFFFFF#000000##000000
##2891B31.003.635.795.79
#FFFFFF3.631.0021.0021.00
#0000005.7921.001.001.00
##0000005.7921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2891b3;
/* rgb */ color: rgb(40, 145, 179);
/* oklch */ color: oklch(61.4% 0.104 224.7);
Tailwind
colors: {
  custom: {
    50: '#78b1c9',
    500: '#2891b3',
    950: '#000000',
  },
}
SCSS
$custom: #2891b3;
$custom-light: #78b1c9;
$custom-dark: #000000;
JSON
{
  "hex": "#2891b3",
  "rgb": {
    "r": 40,
    "g": 145,
    "b": 179
  },
  "hsl": {
    "h": 194.676,
    "s": 63.47,
    "l": 42.941
  },
  "oklch": {
    "l": 0.61378,
    "c": 0.10426,
    "h": 224.7
  },
  "luminance": 0.23957
}

Semantic roles & 50–950 ramp

primary
#2891B3
secondary
#C8856F
accent
#6A41E6
background
#F8FAFC
surface
#EFF5F8
border
#CACFD1
text
#0A1013
muted
#7C7F82

Preview Lab

Preview with #2891B3

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

Preview Lab → · Contrast checker → · Palette generator →

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