#2A8CB6#2A8CB6

#2A8CB6 is a mid, moderate cyan. Relative luminance 0.226; OKLCH L 60.3% C 0.108 H 231.4°. Best body text is #000000 at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#2A8CB6
RGBrgb(42, 140, 182)
HSLhsl(198, 63%, 44%)
HSVhsv(198, 77%, 71%)
CMYKcmyk(76.9%, 23.1%, 0%, 28.6%)
CIE-LABlab(54.68, -13.48, -29.95)
CIE-LCHlch(54.68, 32.84, 245.77°)
OKLaboklab(60.34% -0.0673 -0.0843)
OKLCHoklch(60.34% 0.108 231.4)
XYZxyz(18.7730, 22.6236, 47.6243)
Luminance0.2263 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A8CB6 #B6542A
analogous
#2AB69A #2A8CB6 #2A46B6
triadic
#2A8CB6 #B62A8C #8CB62A
tetradic
#2A8CB6 #9A2AB6 #B6542A #46B62A
square
#2A8CB6 #9A2AB6 #B6542A #46B62A
split-complementary
#2A8CB6 #B62A46 #B69A2A
monochromatic
#134053 #1F6684 #2A8CB6 #48ABD5 #7AC2E0

Accessibility & contrast

On white

3.80
#2A8CB6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.53
#2A8CB6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2A8CB6
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A8CB6#FFFFFF#000000##000000
##2A8CB61.003.805.535.53
#FFFFFF3.801.0021.0021.00
#0000005.5321.001.001.00
##0000005.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#778AB8
Deuteranopia (green-blind)
#647DB5
Tritanopia (blue-blind)
#00979A
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #2a8cb6;
/* rgb */ color: rgb(42, 140, 182);
/* oklch */ color: oklch(60.3% 0.108 231.4);
Tailwind
colors: {
  custom: {
    50: '#79adcc',
    500: '#2a8cb6',
    950: '#000000',
  },
}
SCSS
$custom: #2a8cb6;
$custom-light: #79adcc;
$custom-dark: #000000;
JSON
{
  "hex": "#2a8cb6",
  "rgb": {
    "r": 42,
    "g": 140,
    "b": 182
  },
  "hsl": {
    "h": 198,
    "s": 62.5,
    "l": 43.922
  },
  "oklch": {
    "l": 0.60343,
    "c": 0.10788,
    "h": 231.4
  },
  "luminance": 0.22626
}

Semantic roles & 50–950 ramp

primary
#2A8CB6
secondary
#C88D73
accent
#7342E6
background
#F8FAFC
surface
#EFF4F8
border
#CACED1
text
#0A1013
muted
#7C7F82

Preview Lab

Preview with #2A8CB6

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

Preview Lab → · Contrast checker → · Palette generator →

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