#2A8CB2#2A8CB2

#2A8CB2 is a mid, moderate cyan. Relative luminance 0.225; OKLCH L 60.2% C 0.104 H 228.8°. Best body text is #000000 at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#2A8CB2
RGBrgb(42, 140, 178)
HSLhsl(197, 62%, 43%)
HSVhsv(197, 76%, 70%)
CMYKcmyk(76.4%, 21.3%, 0%, 30.2%)
CIE-LABlab(54.51, -14.87, -27.93)
CIE-LCHlch(54.51, 31.64, 241.97°)
OKLaboklab(60.15% -0.0688 -0.0785)
OKLCHoklch(60.15% 0.104 228.8)
XYZxyz(18.3655, 22.4606, 45.4782)
Luminance0.2246 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A8CB2 #B2502A
analogous
#2AB294 #2A8CB2 #2A48B2
triadic
#2A8CB2 #B22A8C #8CB22A
tetradic
#2A8CB2 #942AB2 #B2502A #48B22A
square
#2A8CB2 #942AB2 #B2502A #48B22A
split-complementary
#2A8CB2 #B22A48 #B2942A
monochromatic
#133E4F #1E6580 #2A8CB2 #46ACD3 #77C2DF

Accessibility & contrast

On white

3.82
#2A8CB2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.49
#2A8CB2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2A8CB2
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A8CB2#FFFFFF#000000##000000
##2A8CB21.003.825.495.49
#FFFFFF3.821.0021.0021.00
#0000005.4921.001.001.00
##0000005.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#788AB4
Deuteranopia (green-blind)
#667DB1
Tritanopia (blue-blind)
#009799
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #2a8cb2;
/* rgb */ color: rgb(42, 140, 178);
/* oklch */ color: oklch(60.2% 0.104 228.8);
Tailwind
colors: {
  custom: {
    50: '#78adc9',
    500: '#2a8cb2',
    950: '#000000',
  },
}
SCSS
$custom: #2a8cb2;
$custom-light: #78adc9;
$custom-dark: #000000;
JSON
{
  "hex": "#2a8cb2",
  "rgb": {
    "r": 42,
    "g": 140,
    "b": 178
  },
  "hsl": {
    "h": 196.765,
    "s": 61.818,
    "l": 43.137
  },
  "oklch": {
    "l": 0.60151,
    "c": 0.10435,
    "h": 228.8
  },
  "luminance": 0.22463
}

Semantic roles & 50–950 ramp

primary
#2A8CB2
secondary
#C78971
accent
#7043E5
background
#F7FAFC
surface
#EEF4F8
border
#C9CED1
text
#0A1013
muted
#7C7F82

Preview Lab

Preview with #2A8CB2

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

Preview Lab → · Contrast checker → · Palette generator →

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