#2A88B6#2A88B6

#2A88B6 is a mid, moderate cyan. Relative luminance 0.215; OKLCH L 59.4% C 0.110 H 234.7°. Best body text is #000000 at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#2A88B6
RGBrgb(42, 136, 182)
HSLhsl(200, 63%, 44%)
HSVhsv(200, 77%, 71%)
CMYKcmyk(76.9%, 25.3%, 0%, 28.6%)
CIE-LABlab(53.47, -11.24, -31.84)
CIE-LCHlch(53.47, 33.77, 250.56°)
OKLaboklab(59.37% -0.0635 -0.0898)
OKLCHoklch(59.37% 0.11 234.7)
XYZxyz(18.1991, 21.4758, 47.4330)
Luminance0.2148 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A88B6 #B6582A
analogous
#2AB69E #2A88B6 #2A42B6
triadic
#2A88B6 #B62A88 #88B62A
tetradic
#2A88B6 #9E2AB6 #B6582A #42B62A
square
#2A88B6 #9E2AB6 #B6582A #42B62A
split-complementary
#2A88B6 #B62A42 #B69E2A
monochromatic
#133E53 #1F6384 #2A88B6 #48A7D5 #7ABFE0

Accessibility & contrast

On white

3.97
#2A88B6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.30
#2A88B6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2A88B6
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A88B6#FFFFFF#000000##000000
##2A88B61.003.975.305.30
#FFFFFF3.971.0021.0021.00
#0000005.3021.001.001.00
##0000005.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7287B8
Deuteranopia (green-blind)
#5F7AB5
Tritanopia (blue-blind)
#009498
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #2a88b6;
/* rgb */ color: rgb(42, 136, 182);
/* oklch */ color: oklch(59.4% 0.110 234.7);
Tailwind
colors: {
  custom: {
    50: '#78aacc',
    500: '#2a88b6',
    950: '#000000',
  },
}
SCSS
$custom: #2a88b6;
$custom-light: #78aacc;
$custom-dark: #000000;
JSON
{
  "hex": "#2a88b6",
  "rgb": {
    "r": 42,
    "g": 136,
    "b": 182
  },
  "hsl": {
    "h": 199.714,
    "s": 62.5,
    "l": 43.922
  },
  "oklch": {
    "l": 0.59374,
    "c": 0.10995,
    "h": 234.7
  },
  "luminance": 0.21478
}

Semantic roles & 50–950 ramp

primary
#2A88B6
secondary
#C88F73
accent
#7842E6
background
#F8FAFC
surface
#EFF4F8
border
#CACED1
text
#0A1013
muted
#7C7F82

Preview Lab

Preview with #2A88B6

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

Preview Lab → · Contrast checker → · Palette generator →

#2A88B6 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva