#2A8AB1#2A8AB1

#2A8AB1 is a mid, moderate cyan. Relative luminance 0.218; OKLCH L 59.6% C 0.104 H 229.9°. Best body text is #000000 at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#2A8AB1
RGBrgb(42, 138, 177)
HSLhsl(197, 62%, 43%)
HSVhsv(197, 76%, 69%)
CMYKcmyk(76.3%, 22%, 0%, 30.6%)
CIE-LABlab(53.86, -14.11, -28.37)
CIE-LCHlch(53.86, 31.68, 243.56°)
OKLaboklab(59.61% -0.0672 -0.0797)
OKLCHoklch(59.61% 0.104 229.9)
XYZxyz(17.9759, 21.8414, 44.8549)
Luminance0.2184 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A8AB1 #B1512A
analogous
#2AB194 #2A8AB1 #2A47B1
triadic
#2A8AB1 #B12A8A #8AB12A
tetradic
#2A8AB1 #942AB1 #B1512A #47B12A
square
#2A8AB1 #942AB1 #B1512A #47B12A
split-complementary
#2A8AB1 #B12A47 #B1942A
monochromatic
#133D4E #1E6380 #2A8AB1 #45AAD3 #77C1DF

Accessibility & contrast

On white

3.91
#2A8AB1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.37
#2A8AB1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2A8AB1
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A8AB1#FFFFFF#000000##000000
##2A8AB11.003.915.375.37
#FFFFFF3.911.0021.0021.00
#0000005.3721.001.001.00
##0000005.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7688B3
Deuteranopia (green-blind)
#647BB0
Tritanopia (blue-blind)
#009597
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #2a8ab1;
/* rgb */ color: rgb(42, 138, 177);
/* oklch */ color: oklch(59.6% 0.104 229.9);
Tailwind
colors: {
  custom: {
    50: '#78acc8',
    500: '#2a8ab1',
    950: '#000000',
  },
}
SCSS
$custom: #2a8ab1;
$custom-light: #78acc8;
$custom-dark: #000000;
JSON
{
  "hex": "#2a8ab1",
  "rgb": {
    "r": 42,
    "g": 138,
    "b": 177
  },
  "hsl": {
    "h": 197.333,
    "s": 61.644,
    "l": 42.941
  },
  "oklch": {
    "l": 0.59615,
    "c": 0.10429,
    "h": 229.9
  },
  "luminance": 0.21844
}

Semantic roles & 50–950 ramp

primary
#2A8AB1
secondary
#C68970
accent
#7243E5
background
#F7FAFC
surface
#EEF4F8
border
#C9CED1
text
#0A1013
muted
#7C7F82

Preview Lab

Preview with #2A8AB1

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

Preview Lab → · Contrast checker → · Palette generator →

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