#2A8BB1#2A8BB1

#2A8BB1 is a mid, moderate cyan. Relative luminance 0.221; OKLCH L 59.9% C 0.104 H 229.0°. Best body text is #000000 at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#2A8BB1
RGBrgb(42, 139, 177)
HSLhsl(197, 62%, 43%)
HSVhsv(197, 76%, 69%)
CMYKcmyk(76.3%, 21.5%, 0%, 30.6%)
CIE-LABlab(54.16, -14.66, -27.90)
CIE-LCHlch(54.16, 31.51, 242.27°)
OKLaboklab(59.86% -0.0682 -0.0784)
OKLCHoklch(59.86% 0.104 229)
XYZxyz(18.1200, 22.1296, 44.9029)
Luminance0.2213 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A8BB1 #B1502A
analogous
#2AB193 #2A8BB1 #2A47B1
triadic
#2A8BB1 #B12A8B #8BB12A
tetradic
#2A8BB1 #932AB1 #B1502A #47B12A
square
#2A8BB1 #932AB1 #B1502A #47B12A
split-complementary
#2A8BB1 #B12A47 #B1932A
monochromatic
#133D4E #1E6480 #2A8BB1 #45ABD3 #77C1DF

Accessibility & contrast

On white

3.87
#2A8BB1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.43
#2A8BB1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2A8BB1
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A8BB1#FFFFFF#000000##000000
##2A8BB11.003.875.435.43
#FFFFFF3.871.0021.0021.00
#0000005.4321.001.001.00
##0000005.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7789B3
Deuteranopia (green-blind)
#657CB0
Tritanopia (blue-blind)
#009698
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #2a8bb1;
/* rgb */ color: rgb(42, 139, 177);
/* oklch */ color: oklch(59.9% 0.104 229.0);
Tailwind
colors: {
  custom: {
    50: '#78adc8',
    500: '#2a8bb1',
    950: '#000000',
  },
}
SCSS
$custom: #2a8bb1;
$custom-light: #78adc8;
$custom-dark: #000000;
JSON
{
  "hex": "#2a8bb1",
  "rgb": {
    "r": 42,
    "g": 139,
    "b": 177
  },
  "hsl": {
    "h": 196.889,
    "s": 61.644,
    "l": 42.941
  },
  "oklch": {
    "l": 0.59859,
    "c": 0.10388,
    "h": 229
  },
  "luminance": 0.22132
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2A8BB1

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

Preview Lab → · Contrast checker → · Palette generator →

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