#2885BB#2885BB

#2885BB is a mid, moderate cyan. Relative luminance 0.208; OKLCH L 58.9% C 0.118 H 239.5°. Best body text is #000000 at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#2885BB
RGBrgb(40, 133, 187)
HSLhsl(202, 65%, 45%)
HSVhsv(202, 79%, 73%)
CMYKcmyk(78.6%, 28.9%, 0%, 26.7%)
CIE-LABlab(52.74, -7.96, -35.84)
CIE-LCHlch(52.74, 36.71, 257.47°)
OKLaboklab(58.86% -0.0598 -0.1014)
OKLCHoklch(58.86% 0.118 239.5)
XYZxyz(18.2287, 20.8118, 50.0604)
Luminance0.2081 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2885BB #BB5E28
analogous
#28BBA8 #2885BB #283BBB
triadic
#2885BB #BB2885 #85BB28
tetradic
#2885BB #A828BB #BB5E28 #3BBB28
square
#2885BB #A828BB #BB5E28 #3BBB28
split-complementary
#2885BB #BB283B #BBA828
monochromatic
#123D56 #1D6189 #2885BB #48A3D8 #7BBCE3

Accessibility & contrast

On white

4.07
#2885BB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.16
#2885BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2885BB
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2885BB#FFFFFF#000000##000000
##2885BB1.004.075.165.16
#FFFFFF4.071.0021.0021.00
#0000005.1621.001.001.00
##0000005.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B85BD
Deuteranopia (green-blind)
#5778BA
Tritanopia (blue-blind)
#009398
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #2885bb;
/* rgb */ color: rgb(40, 133, 187);
/* oklch */ color: oklch(58.9% 0.118 239.5);
Tailwind
colors: {
  custom: {
    50: '#79a8cf',
    500: '#2885bb',
    950: '#000000',
  },
}
SCSS
$custom: #2885bb;
$custom-light: #79a8cf;
$custom-dark: #000000;
JSON
{
  "hex": "#2885bb",
  "rgb": {
    "r": 40,
    "g": 133,
    "b": 187
  },
  "hsl": {
    "h": 202.041,
    "s": 64.758,
    "l": 44.51
  },
  "oklch": {
    "l": 0.58861,
    "c": 0.11776,
    "h": 239.5
  },
  "luminance": 0.20814
}

Semantic roles & 50–950 ramp

primary
#2885BB
secondary
#CB9474
accent
#7E40E8
background
#F8FAFC
surface
#EFF4F9
border
#CACED2
text
#0A0F14
muted
#7C7F82

Preview Lab

Preview with #2885BB

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

Preview Lab → · Contrast checker → · Palette generator →

#2885BB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva