#2A88B1#2A88B1

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

Color values

HEX#2A88B1
RGBrgb(42, 136, 177)
HSLhsl(198, 62%, 43%)
HSVhsv(198, 76%, 69%)
CMYKcmyk(76.3%, 23.2%, 0%, 30.6%)
CIE-LABlab(53.25, -12.99, -29.32)
CIE-LCHlch(53.25, 32.07, 246.10°)
OKLaboklab(59.13% -0.0652 -0.0825)
OKLCHoklch(59.13% 0.105 231.7)
XYZxyz(17.6916, 21.2728, 44.7601)
Luminance0.2127 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A88B1 #B1532A
analogous
#2AB196 #2A88B1 #2A45B1
triadic
#2A88B1 #B12A88 #88B12A
tetradic
#2A88B1 #962AB1 #B1532A #45B12A
square
#2A88B1 #962AB1 #B1532A #45B12A
split-complementary
#2A88B1 #B12A45 #B1962A
monochromatic
#133C4E #1E6280 #2A88B1 #45A8D3 #77BFDF

Accessibility & contrast

On white

4.00
#2A88B1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.25
#2A88B1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2A88B1
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A88B1#FFFFFF#000000##000000
##2A88B11.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)
#7386B3
Deuteranopia (green-blind)
#6179B0
Tritanopia (blue-blind)
#009396
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #2a88b1;
/* rgb */ color: rgb(42, 136, 177);
/* oklch */ color: oklch(59.1% 0.105 231.7);
Tailwind
colors: {
  custom: {
    50: '#78aac8',
    500: '#2a88b1',
    950: '#000000',
  },
}
SCSS
$custom: #2a88b1;
$custom-light: #78aac8;
$custom-dark: #000000;
JSON
{
  "hex": "#2a88b1",
  "rgb": {
    "r": 42,
    "g": 136,
    "b": 177
  },
  "hsl": {
    "h": 198.222,
    "s": 61.644,
    "l": 42.941
  },
  "oklch": {
    "l": 0.59126,
    "c": 0.10518,
    "h": 231.7
  },
  "luminance": 0.21275
}

Semantic roles & 50–950 ramp

primary
#2A88B1
secondary
#C68B70
accent
#7443E5
background
#F7FAFC
surface
#EEF4F8
border
#C9CED1
text
#0A1013
muted
#7C7F82

Preview Lab

Preview with #2A88B1

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

Preview Lab → · Contrast checker → · Palette generator →

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