#2A8CC5#2A8CC5

#2A8CC5 is a mid, vivid cyan. Relative luminance 0.233; OKLCH L 61.1% C 0.123 H 239.6°. Best body text is #000000 at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#2A8CC5
RGBrgb(42, 140, 197)
HSLhsl(202, 65%, 47%)
HSVhsv(202, 79%, 77%)
CMYKcmyk(78.7%, 28.9%, 0%, 22.7%)
CIE-LABlab(55.36, -8.17, -37.43)
CIE-LCHlch(55.36, 38.31, 257.68°)
OKLaboklab(61.1% -0.0622 -0.1059)
OKLCHoklch(61.1% 0.123 239.6)
XYZxyz(20.4070, 23.2771, 56.2299)
Luminance0.2328 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A8CC5 #C5632A
analogous
#2AC5B1 #2A8CC5 #2A3EC5
triadic
#2A8CC5 #C52A8C #8CC52A
tetradic
#2A8CC5 #B12AC5 #C5632A #3EC52A
square
#2A8CC5 #B12AC5 #C5632A #3EC52A
split-complementary
#2A8CC5 #C52A3E #C5B12A
monochromatic
#144460 #1F6893 #2A8CC5 #52A8DA #85C1E5

Accessibility & contrast

On white

3.71
#2A8CC5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.66
#2A8CC5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2A8CC5
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A8CC5#FFFFFF#000000##000000
##2A8CC51.003.715.665.66
#FFFFFF3.711.0021.0021.00
#0000005.6621.001.001.00
##0000005.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#718CC8
Deuteranopia (green-blind)
#5C7EC4
Tritanopia (blue-blind)
#009AA0
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #2a8cc5;
/* rgb */ color: rgb(42, 140, 197);
/* oklch */ color: oklch(61.1% 0.123 239.6);
Tailwind
colors: {
  custom: {
    50: '#7badd7',
    500: '#2a8cc5',
    950: '#000000',
  },
}
SCSS
$custom: #2a8cc5;
$custom-light: #7badd7;
$custom-dark: #000000;
JSON
{
  "hex": "#2a8cc5",
  "rgb": {
    "r": 42,
    "g": 140,
    "b": 197
  },
  "hsl": {
    "h": 202.065,
    "s": 64.854,
    "l": 46.863
  },
  "oklch": {
    "l": 0.61102,
    "c": 0.12287,
    "h": 239.6
  },
  "luminance": 0.2328
}

Semantic roles & 50–950 ramp

primary
#2A8CC5
secondary
#CE9B7D
accent
#7E40E8
background
#F8FAFD
surface
#EFF4FA
border
#CACED3
text
#0B1014
muted
#7C7F83

Preview Lab

Preview with #2A8CC5

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

Preview Lab → · Contrast checker → · Palette generator →

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