#2A8CB7#2A8CB7

#2A8CB7 is a mid, moderate cyan. Relative luminance 0.227; OKLCH L 60.4% C 0.109 H 232.0°. Best body text is #000000 at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#2A8CB7
RGBrgb(42, 140, 183)
HSLhsl(198, 63%, 44%)
HSVhsv(198, 77%, 72%)
CMYKcmyk(77%, 23.5%, 0%, 28.2%)
CIE-LABlab(54.73, -13.13, -30.45)
CIE-LCHlch(54.73, 33.16, 246.67°)
OKLaboklab(60.39% -0.067 -0.0857)
OKLCHoklch(60.39% 0.109 232)
XYZxyz(18.8767, 22.6650, 48.1705)
Luminance0.2267 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A8CB7 #B7552A
analogous
#2AB79C #2A8CB7 #2A46B7
triadic
#2A8CB7 #B72A8C #8CB72A
tetradic
#2A8CB7 #9C2AB7 #B7552A #46B72A
square
#2A8CB7 #9C2AB7 #B7552A #46B72A
split-complementary
#2A8CB7 #B72A46 #B79C2A
monochromatic
#134053 #1F6685 #2A8CB7 #49AAD5 #7BC2E1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2A8CB7#FFFFFF#000000##000000
##2A8CB71.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)
#768AB9
Deuteranopia (green-blind)
#647DB6
Tritanopia (blue-blind)
#00989A
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #2a8cb7;
/* rgb */ color: rgb(42, 140, 183);
/* oklch */ color: oklch(60.4% 0.109 232.0);
Tailwind
colors: {
  custom: {
    50: '#79adcc',
    500: '#2a8cb7',
    950: '#000000',
  },
}
SCSS
$custom: #2a8cb7;
$custom-light: #79adcc;
$custom-dark: #000000;
JSON
{
  "hex": "#2a8cb7",
  "rgb": {
    "r": 42,
    "g": 140,
    "b": 183
  },
  "hsl": {
    "h": 198.298,
    "s": 62.667,
    "l": 44.118
  },
  "oklch": {
    "l": 0.60392,
    "c": 0.10879,
    "h": 232
  },
  "luminance": 0.22667
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2A8CB7

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

Preview Lab → · Contrast checker → · Palette generator →

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