#2A8DC5#2A8DC5

#2A8DC5 is a mid, vivid cyan. Relative luminance 0.236; OKLCH L 61.3% C 0.122 H 238.9°. Best body text is #000000 at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#2A8DC5
RGBrgb(42, 141, 197)
HSLhsl(202, 65%, 47%)
HSVhsv(202, 79%, 77%)
CMYKcmyk(78.7%, 28.4%, 0%, 22.7%)
CIE-LABlab(55.66, -8.74, -36.96)
CIE-LCHlch(55.66, 37.98, 256.69°)
OKLaboklab(61.34% -0.0631 -0.1046)
OKLCHoklch(61.34% 0.122 238.9)
XYZxyz(20.5538, 23.5707, 56.2788)
Luminance0.2357 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A8DC5 #C5622A
analogous
#2AC5B0 #2A8DC5 #2A40C5
triadic
#2A8DC5 #C52A8D #8DC52A
tetradic
#2A8DC5 #B02AC5 #C5622A #40C52A
square
#2A8DC5 #B02AC5 #C5622A #40C52A
split-complementary
#2A8DC5 #C52A40 #C5B02A
monochromatic
#144560 #1F6993 #2A8DC5 #52A9DA #85C2E5

Accessibility & contrast

On white

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

On black

5.71
#2A8DC5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2A8DC5
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A8DC5#FFFFFF#000000##000000
##2A8DC51.003.675.715.71
#FFFFFF3.671.0021.0021.00
#0000005.7121.001.001.00
##0000005.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#728DC8
Deuteranopia (green-blind)
#5D7FC4
Tritanopia (blue-blind)
#009BA0
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #2a8dc5;
/* rgb */ color: rgb(42, 141, 197);
/* oklch */ color: oklch(61.3% 0.122 238.9);
Tailwind
colors: {
  custom: {
    50: '#7baed7',
    500: '#2a8dc5',
    950: '#000000',
  },
}
SCSS
$custom: #2a8dc5;
$custom-light: #7baed7;
$custom-dark: #000000;
JSON
{
  "hex": "#2a8dc5",
  "rgb": {
    "r": 42,
    "g": 141,
    "b": 197
  },
  "hsl": {
    "h": 201.677,
    "s": 64.854,
    "l": 46.863
  },
  "oklch": {
    "l": 0.61339,
    "c": 0.12216,
    "h": 238.9
  },
  "luminance": 0.23573
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2A8DC5

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

Preview Lab → · Contrast checker → · Palette generator →

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