#2A8BB6#2A8BB6

#2A8BB6 is a mid, moderate cyan. Relative luminance 0.223; OKLCH L 60.1% C 0.108 H 232.2°. Best body text is #000000 at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#2A8BB6
RGBrgb(42, 139, 182)
HSLhsl(198, 63%, 44%)
HSVhsv(198, 77%, 71%)
CMYKcmyk(76.9%, 23.6%, 0%, 28.6%)
CIE-LABlab(54.38, -12.92, -30.42)
CIE-LCHlch(54.38, 33.05, 246.99°)
OKLaboklab(60.1% -0.0664 -0.0856)
OKLCHoklch(60.1% 0.108 232.2)
XYZxyz(18.6276, 22.3326, 47.5758)
Luminance0.2233 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A8BB6 #B6552A
analogous
#2AB69B #2A8BB6 #2A45B6
triadic
#2A8BB6 #B62A8B #8BB62A
tetradic
#2A8BB6 #9B2AB6 #B6552A #45B62A
square
#2A8BB6 #9B2AB6 #B6552A #45B62A
split-complementary
#2A8BB6 #B62A45 #B69B2A
monochromatic
#133F53 #1F6584 #2A8BB6 #48AAD5 #7AC1E0

Accessibility & contrast

On white

3.84
#2A8BB6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.47
#2A8BB6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2A8BB6
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A8BB6#FFFFFF#000000##000000
##2A8BB61.003.845.475.47
#FFFFFF3.841.0021.0021.00
#0000005.4721.001.001.00
##0000005.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7589B8
Deuteranopia (green-blind)
#637CB5
Tritanopia (blue-blind)
#009799
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #2a8bb6;
/* rgb */ color: rgb(42, 139, 182);
/* oklch */ color: oklch(60.1% 0.108 232.2);
Tailwind
colors: {
  custom: {
    50: '#79accc',
    500: '#2a8bb6',
    950: '#000000',
  },
}
SCSS
$custom: #2a8bb6;
$custom-light: #79accc;
$custom-dark: #000000;
JSON
{
  "hex": "#2a8bb6",
  "rgb": {
    "r": 42,
    "g": 139,
    "b": 182
  },
  "hsl": {
    "h": 198.429,
    "s": 62.5,
    "l": 43.922
  },
  "oklch": {
    "l": 0.60101,
    "c": 0.10836,
    "h": 232.2
  },
  "luminance": 0.22335
}

Semantic roles & 50–950 ramp

primary
#2A8BB6
secondary
#C88E73
accent
#7442E6
background
#F8FAFC
surface
#EFF4F8
border
#CACED1
text
#0A1013
muted
#7C7F82

Preview Lab

Preview with #2A8BB6

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

Preview Lab → · Contrast checker → · Palette generator →

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