#2A8BB7#2A8BB7

#2A8BB7 is a mid, moderate cyan. Relative luminance 0.224; OKLCH L 60.2% C 0.109 H 232.8°. Best body text is #000000 at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#2A8BB7
RGBrgb(42, 139, 183)
HSLhsl(199, 63%, 44%)
HSVhsv(199, 77%, 72%)
CMYKcmyk(77%, 24%, 0%, 28.2%)
CIE-LABlab(54.42, -12.57, -30.93)
CIE-LCHlch(54.42, 33.38, 247.88°)
OKLaboklab(60.15% -0.066 -0.0871)
OKLCHoklch(60.15% 0.109 232.8)
XYZxyz(18.7313, 22.3741, 48.1220)
Luminance0.2238 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A8BB7 #B7562A
analogous
#2AB79D #2A8BB7 #2A45B7
triadic
#2A8BB7 #B72A8B #8BB72A
tetradic
#2A8BB7 #9D2AB7 #B7562A #45B72A
square
#2A8BB7 #9D2AB7 #B7562A #45B72A
split-complementary
#2A8BB7 #B72A45 #B79D2A
monochromatic
#133F53 #1F6585 #2A8BB7 #49A9D5 #7BC1E1

Accessibility & contrast

On white

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

On black

5.48
#2A8BB7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2A8BB7
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A8BB7#FFFFFF#000000##000000
##2A8BB71.003.845.485.48
#FFFFFF3.841.0021.0021.00
#0000005.4821.001.001.00
##0000005.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#758AB9
Deuteranopia (green-blind)
#627CB6
Tritanopia (blue-blind)
#00979A
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #2a8bb7;
/* rgb */ color: rgb(42, 139, 183);
/* oklch */ color: oklch(60.2% 0.109 232.8);
Tailwind
colors: {
  custom: {
    50: '#79accc',
    500: '#2a8bb7',
    950: '#000000',
  },
}
SCSS
$custom: #2a8bb7;
$custom-light: #79accc;
$custom-dark: #000000;
JSON
{
  "hex": "#2a8bb7",
  "rgb": {
    "r": 42,
    "g": 139,
    "b": 183
  },
  "hsl": {
    "h": 198.723,
    "s": 62.667,
    "l": 44.118
  },
  "oklch": {
    "l": 0.6015,
    "c": 0.1093,
    "h": 232.8
  },
  "luminance": 0.22376
}

Semantic roles & 50–950 ramp

primary
#2A8BB7
secondary
#C98E74
accent
#7542E6
background
#F8FAFC
surface
#EFF4F9
border
#CACED2
text
#0A1013
muted
#7C7F82

Preview Lab

Preview with #2A8BB7

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

Preview Lab → · Contrast checker → · Palette generator →

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