#2886B2#2886B2

#2886B2 is a mid, moderate cyan. Relative luminance 0.207; OKLCH L 58.6% C 0.108 H 233.7°. Best body text is #000000 at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#2886B2
RGBrgb(40, 134, 178)
HSLhsl(199, 63%, 43%)
HSVhsv(199, 78%, 70%)
CMYKcmyk(77.5%, 24.7%, 0%, 30.2%)
CIE-LABlab(52.63, -11.76, -30.85)
CIE-LCHlch(52.63, 33.01, 249.14°)
OKLaboklab(58.64% -0.0638 -0.0869)
OKLCHoklch(58.64% 0.108 233.7)
XYZxyz(17.4328, 20.7136, 45.1902)
Luminance0.2072 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2886B2 #B25428
analogous
#28B299 #2886B2 #2841B2
triadic
#2886B2 #B22886 #86B228
tetradic
#2886B2 #9928B2 #B25428 #41B228
square
#2886B2 #9928B2 #B25428 #41B228
split-complementary
#2886B2 #B22841 #B29928
monochromatic
#123B4E #1D6080 #2886B2 #43A6D5 #75BEE0

Accessibility & contrast

On white

4.08
#2886B2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.14
#2886B2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2886B2
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2886B2#FFFFFF#000000##000000
##2886B21.004.085.145.14
#FFFFFF4.081.0021.0021.00
#0000005.1421.001.001.00
##0000005.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7085B4
Deuteranopia (green-blind)
#5E78B1
Tritanopia (blue-blind)
#009295
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #2886b2;
/* rgb */ color: rgb(40, 134, 178);
/* oklch */ color: oklch(58.6% 0.108 233.7);
Tailwind
colors: {
  custom: {
    50: '#77a9c9',
    500: '#2886b2',
    950: '#000000',
  },
}
SCSS
$custom: #2886b2;
$custom-light: #77a9c9;
$custom-dark: #000000;
JSON
{
  "hex": "#2886b2",
  "rgb": {
    "r": 40,
    "g": 134,
    "b": 178
  },
  "hsl": {
    "h": 199.13,
    "s": 63.303,
    "l": 42.745
  },
  "oklch": {
    "l": 0.5864,
    "c": 0.10787,
    "h": 233.7
  },
  "luminance": 0.20716
}

Semantic roles & 50–950 ramp

primary
#2886B2
secondary
#C78B6F
accent
#7641E6
background
#F7FAFC
surface
#EEF4F8
border
#C9CED1
text
#0A0F13
muted
#7C7F82

Preview Lab

Preview with #2886B2

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

Preview Lab → · Contrast checker → · Palette generator →

#2886B2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva