#2888B2#2888B2

#2888B2 is a mid, moderate cyan. Relative luminance 0.213; OKLCH L 59.1% C 0.107 H 232.0°. Best body text is #000000 at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#2888B2
RGBrgb(40, 136, 178)
HSLhsl(198, 63%, 43%)
HSVhsv(198, 78%, 70%)
CMYKcmyk(77.5%, 23.6%, 0%, 30.2%)
CIE-LABlab(53.25, -12.88, -29.90)
CIE-LCHlch(53.25, 32.55, 246.69°)
OKLaboklab(59.13% -0.0658 -0.0842)
OKLCHoklch(59.13% 0.107 232)
XYZxyz(17.7119, 21.2717, 45.2832)
Luminance0.2127 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2888B2 #B25228
analogous
#28B297 #2888B2 #2843B2
triadic
#2888B2 #B22888 #88B228
tetradic
#2888B2 #9728B2 #B25228 #43B228
square
#2888B2 #9728B2 #B25228 #43B228
split-complementary
#2888B2 #B22843 #B29728
monochromatic
#123C4E #1D6280 #2888B2 #43A8D5 #75BFE0

Accessibility & contrast

On white

4.00
#2888B2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.25
#2888B2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2888B2
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2888B2#FFFFFF#000000##000000
##2888B21.004.005.255.25
#FFFFFF4.001.0021.0021.00
#0000005.2521.001.001.00
##0000005.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7386B4
Deuteranopia (green-blind)
#6079B1
Tritanopia (blue-blind)
#009396
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #2888b2;
/* rgb */ color: rgb(40, 136, 178);
/* oklch */ color: oklch(59.1% 0.107 232.0);
Tailwind
colors: {
  custom: {
    50: '#77aac9',
    500: '#2888b2',
    950: '#000000',
  },
}
SCSS
$custom: #2888b2;
$custom-light: #77aac9;
$custom-dark: #000000;
JSON
{
  "hex": "#2888b2",
  "rgb": {
    "r": 40,
    "g": 136,
    "b": 178
  },
  "hsl": {
    "h": 198.261,
    "s": 63.303,
    "l": 42.745
  },
  "oklch": {
    "l": 0.59127,
    "c": 0.10683,
    "h": 232
  },
  "luminance": 0.21274
}

Semantic roles & 50–950 ramp

primary
#2888B2
secondary
#C78A6F
accent
#7441E6
background
#F7FAFC
surface
#EEF4F8
border
#C9CED1
text
#0A1013
muted
#7C7F82

Preview Lab

Preview with #2888B2

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

Preview Lab → · Contrast checker → · Palette generator →

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