#2888AF#2888AF

#2888AF is a mid, moderate cyan. Relative luminance 0.212; OKLCH L 59.0% C 0.104 H 230.0°. Best body text is #000000 at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#2888AF
RGBrgb(40, 136, 175)
HSLhsl(197, 63%, 42%)
HSVhsv(197, 77%, 69%)
CMYKcmyk(77.1%, 22.3%, 0%, 31.4%)
CIE-LABlab(53.12, -13.93, -28.38)
CIE-LCHlch(53.12, 31.61, 243.85°)
OKLaboklab(58.98% -0.0669 -0.0798)
OKLCHoklch(58.98% 0.104 230)
XYZxyz(17.4139, 21.1525, 43.7142)
Luminance0.2115 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2888AF #AF4F28
analogous
#28AF92 #2888AF #2845AF
triadic
#2888AF #AF2888 #88AF28
tetradic
#2888AF #9228AF #AF4F28 #45AF28
square
#2888AF #9228AF #AF4F28 #45AF28
split-complementary
#2888AF #AF2845 #AF9228
monochromatic
#113B4B #1D617D #2888AF #41A9D4 #73C0DF

Accessibility & contrast

On white

4.01
#2888AF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.23
#2888AF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2888AF
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2888AF#FFFFFF#000000##000000
##2888AF1.004.015.235.23
#FFFFFF4.011.0021.0021.00
#0000005.2321.001.001.00
##0000005.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7486B1
Deuteranopia (green-blind)
#6279AE
Tritanopia (blue-blind)
#009395
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #2888af;
/* rgb */ color: rgb(40, 136, 175);
/* oklch */ color: oklch(59.0% 0.104 230.0);
Tailwind
colors: {
  custom: {
    50: '#77aac7',
    500: '#2888af',
    950: '#000000',
  },
}
SCSS
$custom: #2888af;
$custom-light: #77aac7;
$custom-dark: #000000;
JSON
{
  "hex": "#2888af",
  "rgb": {
    "r": 40,
    "g": 136,
    "b": 175
  },
  "hsl": {
    "h": 197.333,
    "s": 62.791,
    "l": 42.157
  },
  "oklch": {
    "l": 0.58981,
    "c": 0.10411,
    "h": 230
  },
  "luminance": 0.21155
}

Semantic roles & 50–950 ramp

primary
#2888AF
secondary
#C6876D
accent
#7142E6
background
#F7FAFC
surface
#EEF4F8
border
#C9CED1
text
#0A1013
muted
#7C7F82

Preview Lab

Preview with #2888AF

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

Preview Lab → · Contrast checker → · Palette generator →

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