#2A8EB6#2A8EB6

#2A8EB6 is a mid, moderate cyan. Relative luminance 0.232; OKLCH L 60.8% C 0.107 H 229.6°. Best body text is #000000 at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#2A8EB6
RGBrgb(42, 142, 182)
HSLhsl(197, 63%, 44%)
HSVhsv(197, 77%, 71%)
CMYKcmyk(76.9%, 22%, 0%, 28.6%)
CIE-LABlab(55.29, -14.59, -29.00)
CIE-LCHlch(55.29, 32.47, 243.30°)
OKLaboklab(60.83% -0.0693 -0.0815)
OKLCHoklch(60.83% 0.107 229.6)
XYZxyz(19.0679, 23.2133, 47.7226)
Luminance0.2322 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A8EB6 #B6522A
analogous
#2AB698 #2A8EB6 #2A48B6
triadic
#2A8EB6 #B62A8E #8EB62A
tetradic
#2A8EB6 #982AB6 #B6522A #48B62A
square
#2A8EB6 #982AB6 #B6522A #48B62A
split-complementary
#2A8EB6 #B62A48 #B6982A
monochromatic
#134053 #1F6784 #2A8EB6 #48ADD5 #7AC3E0

Accessibility & contrast

On white

3.72
#2A8EB6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.64
#2A8EB6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2A8EB6
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A8EB6#FFFFFF#000000##000000
##2A8EB61.003.725.645.64
#FFFFFF3.721.0021.0021.00
#0000005.6421.001.001.00
##0000005.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#798CB8
Deuteranopia (green-blind)
#677FB5
Tritanopia (blue-blind)
#00999B
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #2a8eb6;
/* rgb */ color: rgb(42, 142, 182);
/* oklch */ color: oklch(60.8% 0.107 229.6);
Tailwind
colors: {
  custom: {
    50: '#79afcc',
    500: '#2a8eb6',
    950: '#000000',
  },
}
SCSS
$custom: #2a8eb6;
$custom-light: #79afcc;
$custom-dark: #000000;
JSON
{
  "hex": "#2a8eb6",
  "rgb": {
    "r": 42,
    "g": 142,
    "b": 182
  },
  "hsl": {
    "h": 197.143,
    "s": 62.5,
    "l": 43.922
  },
  "oklch": {
    "l": 0.6083,
    "c": 0.107,
    "h": 229.6
  },
  "luminance": 0.23216
}

Semantic roles & 50–950 ramp

primary
#2A8EB6
secondary
#C88C73
accent
#7142E6
background
#F8FAFC
surface
#EFF4F8
border
#CACED1
text
#0A1013
muted
#7C7F82

Preview Lab

Preview with #2A8EB6

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

Preview Lab → · Contrast checker → · Palette generator →

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