#2A8DC6#2A8DC6

#2A8DC6 is a mid, vivid cyan. Relative luminance 0.236; OKLCH L 61.4% C 0.123 H 239.3°. Best body text is #000000 at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#2A8DC6
RGBrgb(42, 141, 198)
HSLhsl(202, 65%, 47%)
HSVhsv(202, 79%, 78%)
CMYKcmyk(78.8%, 28.8%, 0%, 22.4%)
CIE-LABlab(55.70, -8.39, -37.46)
CIE-LCHlch(55.70, 38.38, 257.38°)
OKLaboklab(61.39% -0.0628 -0.106)
OKLCHoklch(61.39% 0.123 239.3)
XYZxyz(20.6687, 23.6167, 56.8843)
Luminance0.2362 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A8DC6 #C6632A
analogous
#2AC6B1 #2A8DC6 #2A3FC6
triadic
#2A8DC6 #C62A8D #8DC62A
tetradic
#2A8DC6 #B12AC6 #C6632A #3FC62A
square
#2A8DC6 #B12AC6 #C6632A #3FC62A
split-complementary
#2A8DC6 #C62A3F #C6B12A
monochromatic
#154561 #1F6994 #2A8DC6 #53A9DA #85C2E5

Accessibility & contrast

On white

3.67
#2A8DC6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.72
#2A8DC6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2A8DC6
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A8DC6#FFFFFF#000000##000000
##2A8DC61.003.675.725.72
#FFFFFF3.671.0021.0021.00
#0000005.7221.001.001.00
##0000005.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#728DC9
Deuteranopia (green-blind)
#5D7FC5
Tritanopia (blue-blind)
#009BA1
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #2a8dc6;
/* rgb */ color: rgb(42, 141, 198);
/* oklch */ color: oklch(61.4% 0.123 239.3);
Tailwind
colors: {
  custom: {
    50: '#7baed7',
    500: '#2a8dc6',
    950: '#000000',
  },
}
SCSS
$custom: #2a8dc6;
$custom-light: #7baed7;
$custom-dark: #000000;
JSON
{
  "hex": "#2a8dc6",
  "rgb": {
    "r": 42,
    "g": 141,
    "b": 198
  },
  "hsl": {
    "h": 201.923,
    "s": 65,
    "l": 47.059
  },
  "oklch": {
    "l": 0.61391,
    "c": 0.12323,
    "h": 239.3
  },
  "luminance": 0.23619
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2A8DC6

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

Preview Lab → · Contrast checker → · Palette generator →

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