#2A88B5#2A88B5

#2A88B5 is a mid, moderate cyan. Relative luminance 0.214; OKLCH L 59.3% C 0.109 H 234.2°. Best body text is #000000 at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#2A88B5
RGBrgb(42, 136, 181)
HSLhsl(199, 62%, 44%)
HSVhsv(199, 77%, 71%)
CMYKcmyk(76.8%, 24.9%, 0%, 29%)
CIE-LABlab(53.42, -11.59, -31.34)
CIE-LCHlch(53.42, 33.41, 249.70°)
OKLaboklab(59.32% -0.0638 -0.0883)
OKLCHoklch(59.32% 0.109 234.2)
XYZxyz(18.0961, 21.4346, 46.8907)
Luminance0.2144 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A88B5 #B5572A
analogous
#2AB59C #2A88B5 #2A43B5
triadic
#2A88B5 #B52A88 #88B52A
tetradic
#2A88B5 #9C2AB5 #B5572A #43B52A
square
#2A88B5 #9C2AB5 #B5572A #43B52A
split-complementary
#2A88B5 #B52A43 #B59C2A
monochromatic
#133D52 #1E6383 #2A88B5 #48A7D4 #79BFE0

Accessibility & contrast

On white

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

On black

5.29
#2A88B5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2A88B5
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A88B5#FFFFFF#000000##000000
##2A88B51.003.975.295.29
#FFFFFF3.971.0021.0021.00
#0000005.2921.001.001.00
##0000005.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7287B7
Deuteranopia (green-blind)
#5F7AB4
Tritanopia (blue-blind)
#009497
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #2a88b5;
/* rgb */ color: rgb(42, 136, 181);
/* oklch */ color: oklch(59.3% 0.109 234.2);
Tailwind
colors: {
  custom: {
    50: '#78aacb',
    500: '#2a88b5',
    950: '#000000',
  },
}
SCSS
$custom: #2a88b5;
$custom-light: #78aacb;
$custom-dark: #000000;
JSON
{
  "hex": "#2a88b5",
  "rgb": {
    "r": 42,
    "g": 136,
    "b": 181
  },
  "hsl": {
    "h": 199.424,
    "s": 62.332,
    "l": 43.725
  },
  "oklch": {
    "l": 0.59324,
    "c": 0.10897,
    "h": 234.2
  },
  "luminance": 0.21437
}

Semantic roles & 50–950 ramp

primary
#2A88B5
secondary
#C88E73
accent
#7742E5
background
#F7FAFC
surface
#EEF4F8
border
#C9CED1
text
#0A1013
muted
#7C7F82

Preview Lab

Preview with #2A88B5

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

Preview Lab → · Contrast checker → · Palette generator →

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