#2A88AB#2A88AB

#2A88AB is a mid, moderate cyan. Relative luminance 0.210; OKLCH L 58.8% C 0.100 H 227.5°. Best body text is #000000 at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#2A88AB
RGBrgb(42, 136, 171)
HSLhsl(196, 61%, 42%)
HSVhsv(196, 75%, 67%)
CMYKcmyk(75.4%, 20.5%, 0%, 32.9%)
CIE-LABlab(52.99, -15.08, -26.27)
CIE-LCHlch(52.99, 30.29, 240.14°)
OKLaboklab(58.84% -0.0675 -0.0737)
OKLCHoklch(58.84% 0.1 227.5)
XYZxyz(17.1067, 21.0388, 41.6795)
Luminance0.2104 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A88AB #AB4D2A
analogous
#2AAB8E #2A88AB #2A48AB
triadic
#2A88AB #AB2A88 #88AB2A
tetradic
#2A88AB #8E2AAB #AB4D2A #48AB2A
square
#2A88AB #8E2AAB #AB4D2A #48AB2A
split-complementary
#2A88AB #AB2A48 #AB8E2A
monochromatic
#123A49 #1E617A #2A88AB #42AAD1 #73C0DD

Accessibility & contrast

On white

4.03
#2A88AB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.21
#2A88AB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2A88AB
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A88AB#FFFFFF#000000##000000
##2A88AB1.004.035.215.21
#FFFFFF4.031.0021.0021.00
#0000005.2121.001.001.00
##0000005.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7586AD
Deuteranopia (green-blind)
#6479AB
Tritanopia (blue-blind)
#009294
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #2a88ab;
/* rgb */ color: rgb(42, 136, 171);
/* oklch */ color: oklch(58.8% 0.100 227.5);
Tailwind
colors: {
  custom: {
    50: '#77aac4',
    500: '#2a88ab',
    950: '#000000',
  },
}
SCSS
$custom: #2a88ab;
$custom-light: #77aac4;
$custom-dark: #000000;
JSON
{
  "hex": "#2a88ab",
  "rgb": {
    "r": 42,
    "g": 136,
    "b": 171
  },
  "hsl": {
    "h": 196.279,
    "s": 60.563,
    "l": 41.765
  },
  "oklch": {
    "l": 0.58839,
    "c": 0.09992,
    "h": 227.5
  },
  "luminance": 0.21041
}

Semantic roles & 50–950 ramp

primary
#2A88AB
secondary
#C4856D
accent
#6F44E4
background
#F7FAFC
surface
#EEF4F8
border
#C9CED1
text
#0A1012
muted
#7C7F81

Preview Lab

Preview with #2A88AB

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

Preview Lab → · Contrast checker → · Palette generator →

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