#2A8BAC#2A8BAC

#2A8BAC is a mid, moderate cyan. Relative luminance 0.219; OKLCH L 59.6% C 0.100 H 225.4°. Best body text is #000000 at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#2A8BAC
RGBrgb(42, 139, 172)
HSLhsl(195, 61%, 42%)
HSVhsv(195, 76%, 67%)
CMYKcmyk(75.6%, 19.2%, 0%, 32.5%)
CIE-LABlab(53.96, -16.38, -25.35)
CIE-LCHlch(53.96, 30.18, 237.13°)
OKLaboklab(59.62% -0.0701 -0.0711)
OKLCHoklch(59.62% 0.1 225.4)
XYZxyz(17.6308, 21.9339, 42.3262)
Luminance0.2194 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A8BAC #AC4B2A
analogous
#2AAC8C #2A8BAC #2A4AAC
triadic
#2A8BAC #AC2A8B #8BAC2A
tetradic
#2A8BAC #8C2AAC #AC4B2A #4AAC2A
square
#2A8BAC #8C2AAC #AC4B2A #4AAC2A
split-complementary
#2A8BAC #AC2A4A #AC8C2A
monochromatic
#123B4A #1E637B #2A8BAC #42ADD1 #73C2DD

Accessibility & contrast

On white

3.90
#2A8BAC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.39
#2A8BAC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2A8BAC
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A8BAC#FFFFFF#000000##000000
##2A8BAC1.003.905.395.39
#FFFFFF3.901.0021.0021.00
#0000005.3921.001.001.00
##0000005.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7988AE
Deuteranopia (green-blind)
#677BAC
Tritanopia (blue-blind)
#009596
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #2a8bac;
/* rgb */ color: rgb(42, 139, 172);
/* oklch */ color: oklch(59.6% 0.100 225.4);
Tailwind
colors: {
  custom: {
    50: '#77adc4',
    500: '#2a8bac',
    950: '#000000',
  },
}
SCSS
$custom: #2a8bac;
$custom-light: #77adc4;
$custom-dark: #000000;
JSON
{
  "hex": "#2a8bac",
  "rgb": {
    "r": 42,
    "g": 139,
    "b": 172
  },
  "hsl": {
    "h": 195.231,
    "s": 60.748,
    "l": 41.961
  },
  "oklch": {
    "l": 0.59625,
    "c": 0.0998,
    "h": 225.4
  },
  "luminance": 0.21936
}

Semantic roles & 50–950 ramp

primary
#2A8BAC
secondary
#C4846D
accent
#6D44E4
background
#F7FAFC
surface
#EEF4F8
border
#C9CED1
text
#0A1012
muted
#7C7F81

Preview Lab

Preview with #2A8BAC

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

Preview Lab → · Contrast checker → · Palette generator →

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