#2A8AB5#2A8AB5

#2A8AB5 is a mid, moderate cyan. Relative luminance 0.220; OKLCH L 59.8% C 0.108 H 232.5°. Best body text is #000000 at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#2A8AB5
RGBrgb(42, 138, 181)
HSLhsl(199, 62%, 44%)
HSVhsv(199, 77%, 71%)
CMYKcmyk(76.8%, 23.8%, 0%, 29%)
CIE-LABlab(54.03, -12.71, -30.39)
CIE-LCHlch(54.03, 32.95, 247.30°)
OKLaboklab(59.81% -0.0658 -0.0856)
OKLCHoklch(59.81% 0.108 232.5)
XYZxyz(18.3804, 22.0032, 46.9854)
Luminance0.2200 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A8AB5 #B5552A
analogous
#2AB59A #2A8AB5 #2A44B5
triadic
#2A8AB5 #B52A8A #8AB52A
tetradic
#2A8AB5 #9A2AB5 #B5552A #44B52A
square
#2A8AB5 #9A2AB5 #B5552A #44B52A
split-complementary
#2A8AB5 #B52A44 #B59A2A
monochromatic
#133E52 #1E6483 #2A8AB5 #48A9D4 #79C0E0

Accessibility & contrast

On white

3.89
#2A8AB5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.40
#2A8AB5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2A8AB5
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A8AB5#FFFFFF#000000##000000
##2A8AB51.003.895.405.40
#FFFFFF3.891.0021.0021.00
#0000005.4021.001.001.00
##0000005.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7589B7
Deuteranopia (green-blind)
#627BB4
Tritanopia (blue-blind)
#009698
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #2a8ab5;
/* rgb */ color: rgb(42, 138, 181);
/* oklch */ color: oklch(59.8% 0.108 232.5);
Tailwind
colors: {
  custom: {
    50: '#78accb',
    500: '#2a8ab5',
    950: '#000000',
  },
}
SCSS
$custom: #2a8ab5;
$custom-light: #78accb;
$custom-dark: #000000;
JSON
{
  "hex": "#2a8ab5",
  "rgb": {
    "r": 42,
    "g": 138,
    "b": 181
  },
  "hsl": {
    "h": 198.561,
    "s": 62.332,
    "l": 43.725
  },
  "oklch": {
    "l": 0.59809,
    "c": 0.10792,
    "h": 232.5
  },
  "luminance": 0.22005
}

Semantic roles & 50–950 ramp

primary
#2A8AB5
secondary
#C88D73
accent
#7542E5
background
#F8FAFC
surface
#EFF4F8
border
#CACED1
text
#0A1013
muted
#7C7F82

Preview Lab

Preview with #2A8AB5

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

Preview Lab → · Contrast checker → · Palette generator →

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