#2889B3#2889B3

#2889B3 is a mid, moderate cyan. Relative luminance 0.216; OKLCH L 59.4% C 0.107 H 231.8°. Best body text is #000000 at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#2889B3
RGBrgb(40, 137, 179)
HSLhsl(198, 63%, 43%)
HSVhsv(198, 78%, 70%)
CMYKcmyk(77.7%, 23.5%, 0%, 29.8%)
CIE-LABlab(53.59, -13.09, -29.93)
CIE-LCHlch(53.59, 32.67, 246.38°)
OKLaboklab(59.42% -0.0664 -0.0843)
OKLCHoklch(59.42% 0.107 231.8)
XYZxyz(17.9541, 21.5949, 45.8611)
Luminance0.2160 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2889B3 #B35228
analogous
#28B397 #2889B3 #2844B3
triadic
#2889B3 #B32889 #89B328
tetradic
#2889B3 #9728B3 #B35228 #44B328
square
#2889B3 #9728B3 #B35228 #44B328
split-complementary
#2889B3 #B32844 #B39728
monochromatic
#123C4F #1D6381 #2889B3 #43A9D5 #75C0E0

Accessibility & contrast

On white

3.95
#2889B3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.32
#2889B3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2889B3
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2889B3#FFFFFF#000000##000000
##2889B31.003.955.325.32
#FFFFFF3.951.0021.0021.00
#0000005.3221.001.001.00
##0000005.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7487B5
Deuteranopia (green-blind)
#617AB2
Tritanopia (blue-blind)
#009497
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #2889b3;
/* rgb */ color: rgb(40, 137, 179);
/* oklch */ color: oklch(59.4% 0.107 231.8);
Tailwind
colors: {
  custom: {
    50: '#77abca',
    500: '#2889b3',
    950: '#000000',
  },
}
SCSS
$custom: #2889b3;
$custom-light: #77abca;
$custom-dark: #000000;
JSON
{
  "hex": "#2889b3",
  "rgb": {
    "r": 40,
    "g": 137,
    "b": 179
  },
  "hsl": {
    "h": 198.129,
    "s": 63.47,
    "l": 42.941
  },
  "oklch": {
    "l": 0.5942,
    "c": 0.10727,
    "h": 231.8
  },
  "luminance": 0.21597
}

Semantic roles & 50–950 ramp

primary
#2889B3
secondary
#C88A6F
accent
#7341E6
background
#F7FAFC
surface
#EEF4F8
border
#C9CED1
text
#0A1013
muted
#7C7F82

Preview Lab

Preview with #2889B3

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

Preview Lab → · Contrast checker → · Palette generator →

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