#2A8AC5#2A8AC5

#2A8AC5 is a mid, vivid cyan. Relative luminance 0.227; OKLCH L 60.6% C 0.124 H 240.9°. Best body text is #000000 at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#2A8AC5
RGBrgb(42, 138, 197)
HSLhsl(203, 65%, 47%)
HSVhsv(203, 79%, 77%)
CMYKcmyk(78.7%, 29.9%, 0%, 22.7%)
CIE-LABlab(54.76, -7.02, -38.37)
CIE-LCHlch(54.76, 39.01, 259.63°)
OKLaboklab(60.63% -0.0604 -0.1087)
OKLCHoklch(60.63% 0.124 240.9)
XYZxyz(20.1174, 22.6980, 56.1334)
Luminance0.2270 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A8AC5 #C5652A
analogous
#2AC5B3 #2A8AC5 #2A3CC5
triadic
#2A8AC5 #C52A8A #8AC52A
tetradic
#2A8AC5 #B32AC5 #C5652A #3CC52A
square
#2A8AC5 #B32AC5 #C5652A #3CC52A
split-complementary
#2A8AC5 #C52A3C #C5B32A
monochromatic
#144360 #1F6793 #2A8AC5 #52A6DA #85C0E5

Accessibility & contrast

On white

3.79
#2A8AC5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.54
#2A8AC5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2A8AC5
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A8AC5#FFFFFF#000000##000000
##2A8AC51.003.795.545.54
#FFFFFF3.791.0021.0021.00
#0000005.5421.001.001.00
##0000005.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6E8BC8
Deuteranopia (green-blind)
#597DC4
Tritanopia (blue-blind)
#00999F
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #2a8ac5;
/* rgb */ color: rgb(42, 138, 197);
/* oklch */ color: oklch(60.6% 0.124 240.9);
Tailwind
colors: {
  custom: {
    50: '#7bacd7',
    500: '#2a8ac5',
    950: '#000000',
  },
}
SCSS
$custom: #2a8ac5;
$custom-light: #7bacd7;
$custom-dark: #000000;
JSON
{
  "hex": "#2a8ac5",
  "rgb": {
    "r": 42,
    "g": 138,
    "b": 197
  },
  "hsl": {
    "h": 202.839,
    "s": 64.854,
    "l": 46.863
  },
  "oklch": {
    "l": 0.60629,
    "c": 0.12435,
    "h": 240.9
  },
  "luminance": 0.227
}

Semantic roles & 50–950 ramp

primary
#2A8AC5
secondary
#CE9C7D
accent
#8040E8
background
#F8FAFD
surface
#EFF4FA
border
#CACED3
text
#0B1014
muted
#7C7F83

Preview Lab

Preview with #2A8AC5

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

Preview Lab → · Contrast checker → · Palette generator →

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