#2A8CC2#2A8CC2

#2A8CC2 is a mid, moderate cyan. Relative luminance 0.231; OKLCH L 60.9% C 0.120 H 238.1°. Best body text is #000000 at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#2A8CC2
RGBrgb(42, 140, 194)
HSLhsl(201, 64%, 46%)
HSVhsv(201, 78%, 76%)
CMYKcmyk(78.4%, 27.8%, 0%, 23.9%)
CIE-LABlab(55.22, -9.25, -35.95)
CIE-LCHlch(55.22, 37.12, 255.58°)
OKLaboklab(60.95% -0.0632 -0.1016)
OKLCHoklch(60.95% 0.12 238.1)
XYZxyz(20.0667, 23.1410, 54.4375)
Luminance0.2314 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A8CC2 #C2602A
analogous
#2AC2AC #2A8CC2 #2A40C2
triadic
#2A8CC2 #C22A8C #8CC22A
tetradic
#2A8CC2 #AC2AC2 #C2602A #40C22A
square
#2A8CC2 #AC2AC2 #C2602A #40C22A
split-complementary
#2A8CC2 #C22A40 #C2AC2A
monochromatic
#14435D #1F6890 #2A8CC2 #50A8D9 #82C1E4

Accessibility & contrast

On white

3.73
#2A8CC2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.63
#2A8CC2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2A8CC2
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A8CC2#FFFFFF#000000##000000
##2A8CC21.003.735.635.63
#FFFFFF3.731.0021.0021.00
#0000005.6321.001.001.00
##0000005.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#728CC4
Deuteranopia (green-blind)
#5E7EC1
Tritanopia (blue-blind)
#009A9F
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #2a8cc2;
/* rgb */ color: rgb(42, 140, 194);
/* oklch */ color: oklch(60.9% 0.120 238.1);
Tailwind
colors: {
  custom: {
    50: '#7badd4',
    500: '#2a8cc2',
    950: '#000000',
  },
}
SCSS
$custom: #2a8cc2;
$custom-light: #7badd4;
$custom-dark: #000000;
JSON
{
  "hex": "#2a8cc2",
  "rgb": {
    "r": 42,
    "g": 140,
    "b": 194
  },
  "hsl": {
    "h": 201.316,
    "s": 64.407,
    "l": 46.275
  },
  "oklch": {
    "l": 0.60946,
    "c": 0.11969,
    "h": 238.1
  },
  "luminance": 0.23143
}

Semantic roles & 50–950 ramp

primary
#2A8CC2
secondary
#CD987B
accent
#7C40E7
background
#F8FAFD
surface
#EFF4FA
border
#CACED3
text
#0B1014
muted
#7C7F83

Preview Lab

Preview with #2A8CC2

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

Preview Lab → · Contrast checker → · Palette generator →

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