#2886B3#2886B3

#2886B3 is a mid, moderate cyan. Relative luminance 0.208; OKLCH L 58.7% C 0.109 H 234.3°. Best body text is #000000 at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#2886B3
RGBrgb(40, 134, 179)
HSLhsl(199, 63%, 43%)
HSVhsv(199, 78%, 70%)
CMYKcmyk(77.7%, 25.1%, 0%, 29.8%)
CIE-LABlab(52.68, -11.40, -31.35)
CIE-LCHlch(52.68, 33.36, 250.02°)
OKLaboklab(58.69% -0.0635 -0.0884)
OKLCHoklch(58.69% 0.109 234.3)
XYZxyz(17.5336, 20.7539, 45.7209)
Luminance0.2076 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2886B3 #B35528
analogous
#28B39A #2886B3 #2841B3
triadic
#2886B3 #B32886 #86B328
tetradic
#2886B3 #9A28B3 #B35528 #41B328
square
#2886B3 #9A28B3 #B35528 #41B328
split-complementary
#2886B3 #B32841 #B39A28
monochromatic
#123B4F #1D6181 #2886B3 #43A6D5 #75BEE0

Accessibility & contrast

On white

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

On black

5.15
#2886B3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2886B3
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2886B3#FFFFFF#000000##000000
##2886B31.004.085.155.15
#FFFFFF4.081.0021.0021.00
#0000005.1521.001.001.00
##0000005.1521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2886b3;
/* rgb */ color: rgb(40, 134, 179);
/* oklch */ color: oklch(58.7% 0.109 234.3);
Tailwind
colors: {
  custom: {
    50: '#77a9ca',
    500: '#2886b3',
    950: '#000000',
  },
}
SCSS
$custom: #2886b3;
$custom-light: #77a9ca;
$custom-dark: #000000;
JSON
{
  "hex": "#2886b3",
  "rgb": {
    "r": 40,
    "g": 134,
    "b": 179
  },
  "hsl": {
    "h": 199.424,
    "s": 63.47,
    "l": 42.941
  },
  "oklch": {
    "l": 0.5869,
    "c": 0.10884,
    "h": 234.3
  },
  "luminance": 0.20756
}

Semantic roles & 50–950 ramp

primary
#2886B3
secondary
#C88C6F
accent
#7741E6
background
#F7FAFC
surface
#EEF4F8
border
#C9CED1
text
#0A0F13
muted
#7C7F82

Preview Lab

Preview with #2886B3

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

Preview Lab → · Contrast checker → · Palette generator →

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