#2A8FB6#2A8FB6

#2A8FB6 is a mid, moderate cyan. Relative luminance 0.235; OKLCH L 61.1% C 0.107 H 228.8°. Best body text is #000000 at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#2A8FB6
RGBrgb(42, 143, 182)
HSLhsl(197, 63%, 44%)
HSVhsv(197, 77%, 71%)
CMYKcmyk(76.9%, 21.4%, 0%, 28.6%)
CIE-LABlab(55.60, -15.14, -28.53)
CIE-LCHlch(55.60, 32.30, 242.05°)
OKLaboklab(61.07% -0.0703 -0.0802)
OKLCHoklch(61.07% 0.107 228.8)
XYZxyz(19.2174, 23.5122, 47.7724)
Luminance0.2351 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A8FB6 #B6512A
analogous
#2AB697 #2A8FB6 #2A49B6
triadic
#2A8FB6 #B62A8F #8FB62A
tetradic
#2A8FB6 #972AB6 #B6512A #49B62A
square
#2A8FB6 #972AB6 #B6512A #49B62A
split-complementary
#2A8FB6 #B62A49 #B6972A
monochromatic
#134153 #1F6884 #2A8FB6 #48AED5 #7AC4E0

Accessibility & contrast

On white

3.68
#2A8FB6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.70
#2A8FB6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2A8FB6
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A8FB6#FFFFFF#000000##000000
##2A8FB61.003.685.705.70
#FFFFFF3.681.0021.0021.00
#0000005.7021.001.001.00
##0000005.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7B8DB8
Deuteranopia (green-blind)
#687FB5
Tritanopia (blue-blind)
#009A9C
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #2a8fb6;
/* rgb */ color: rgb(42, 143, 182);
/* oklch */ color: oklch(61.1% 0.107 228.8);
Tailwind
colors: {
  custom: {
    50: '#79afcc',
    500: '#2a8fb6',
    950: '#000000',
  },
}
SCSS
$custom: #2a8fb6;
$custom-light: #79afcc;
$custom-dark: #000000;
JSON
{
  "hex": "#2a8fb6",
  "rgb": {
    "r": 42,
    "g": 143,
    "b": 182
  },
  "hsl": {
    "h": 196.714,
    "s": 62.5,
    "l": 43.922
  },
  "oklch": {
    "l": 0.61073,
    "c": 0.10659,
    "h": 228.8
  },
  "luminance": 0.23515
}

Semantic roles & 50–950 ramp

primary
#2A8FB6
secondary
#C88B73
accent
#7042E6
background
#F8FAFC
surface
#EFF4F8
border
#CACED1
text
#0A1013
muted
#7C7F82

Preview Lab

Preview with #2A8FB6

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

Preview Lab → · Contrast checker → · Palette generator →

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