#2A88B8#2A88B8

#2A88B8 is a mid, moderate cyan. Relative luminance 0.216; OKLCH L 59.5% C 0.112 H 235.9°. Best body text is #000000 at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#2A88B8
RGBrgb(42, 136, 184)
HSLhsl(200, 63%, 44%)
HSVhsv(200, 77%, 72%)
CMYKcmyk(77.2%, 26.1%, 0%, 27.8%)
CIE-LABlab(53.56, -10.53, -32.85)
CIE-LCHlch(53.56, 34.49, 252.23°)
OKLaboklab(59.48% -0.0628 -0.0927)
OKLCHoklch(59.48% 0.112 235.9)
XYZxyz(18.4073, 21.5590, 48.5293)
Luminance0.2156 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A88B8 #B85A2A
analogous
#2AB8A1 #2A88B8 #2A41B8
triadic
#2A88B8 #B82A88 #88B82A
tetradic
#2A88B8 #A12AB8 #B85A2A #41B82A
square
#2A88B8 #A12AB8 #B85A2A #41B82A
split-complementary
#2A88B8 #B82A41 #B8A12A
monochromatic
#133E54 #1F6386 #2A88B8 #4AA6D6 #7BBFE1

Accessibility & contrast

On white

3.95
#2A88B8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.31
#2A88B8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2A88B8
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A88B8#FFFFFF#000000##000000
##2A88B81.003.955.315.31
#FFFFFF3.951.0021.0021.00
#0000005.3121.001.001.00
##0000005.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7187BA
Deuteranopia (green-blind)
#5E7AB7
Tritanopia (blue-blind)
#009498
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #2a88b8;
/* rgb */ color: rgb(42, 136, 184);
/* oklch */ color: oklch(59.5% 0.112 235.9);
Tailwind
colors: {
  custom: {
    50: '#79aacd',
    500: '#2a88b8',
    950: '#000000',
  },
}
SCSS
$custom: #2a88b8;
$custom-light: #79aacd;
$custom-dark: #000000;
JSON
{
  "hex": "#2a88b8",
  "rgb": {
    "r": 42,
    "g": 136,
    "b": 184
  },
  "hsl": {
    "h": 200.282,
    "s": 62.832,
    "l": 44.314
  },
  "oklch": {
    "l": 0.59475,
    "c": 0.11195,
    "h": 235.9
  },
  "luminance": 0.21561
}

Semantic roles & 50–950 ramp

primary
#2A88B8
secondary
#C99175
accent
#7942E6
background
#F8FAFC
surface
#EFF4F9
border
#CACED2
text
#0A1013
muted
#7C7F82

Preview Lab

Preview with #2A88B8

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

Preview Lab → · Contrast checker → · Palette generator →

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