#2A8EC5#2A8EC5

#2A8EC5 is a mid, vivid cyan. Relative luminance 0.239; OKLCH L 61.6% C 0.121 H 238.2°. Best body text is #000000 at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#2A8EC5
RGBrgb(42, 142, 197)
HSLhsl(201, 65%, 47%)
HSVhsv(201, 79%, 77%)
CMYKcmyk(78.7%, 27.9%, 0%, 22.7%)
CIE-LABlab(55.95, -9.31, -36.49)
CIE-LCHlch(55.95, 37.66, 255.68°)
OKLaboklab(61.58% -0.0641 -0.1032)
OKLCHoklch(61.58% 0.121 238.2)
XYZxyz(20.7019, 23.8669, 56.3282)
Luminance0.2387 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A8EC5 #C5612A
analogous
#2AC5AF #2A8EC5 #2A41C5
triadic
#2A8EC5 #C52A8E #8EC52A
tetradic
#2A8EC5 #AF2AC5 #C5612A #41C52A
square
#2A8EC5 #AF2AC5 #C5612A #41C52A
split-complementary
#2A8EC5 #C52A41 #C5AF2A
monochromatic
#144560 #1F6A93 #2A8EC5 #52AADA #85C3E5

Accessibility & contrast

On white

3.64
#2A8EC5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.77
#2A8EC5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2A8EC5
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A8EC5#FFFFFF#000000##000000
##2A8EC51.003.645.775.77
#FFFFFF3.641.0021.0021.00
#0000005.7721.001.001.00
##0000005.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#748EC7
Deuteranopia (green-blind)
#5F80C4
Tritanopia (blue-blind)
#009CA1
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #2a8ec5;
/* rgb */ color: rgb(42, 142, 197);
/* oklch */ color: oklch(61.6% 0.121 238.2);
Tailwind
colors: {
  custom: {
    50: '#7baed7',
    500: '#2a8ec5',
    950: '#000000',
  },
}
SCSS
$custom: #2a8ec5;
$custom-light: #7baed7;
$custom-dark: #000000;
JSON
{
  "hex": "#2a8ec5",
  "rgb": {
    "r": 42,
    "g": 142,
    "b": 197
  },
  "hsl": {
    "h": 201.29,
    "s": 64.854,
    "l": 46.863
  },
  "oklch": {
    "l": 0.61576,
    "c": 0.12147,
    "h": 238.2
  },
  "luminance": 0.23869
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2A8EC5

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

Preview Lab → · Contrast checker → · Palette generator →

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