#2A8CB3#2A8CB3

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

Color values

HEX#2A8CB3
RGBrgb(42, 140, 179)
HSLhsl(197, 62%, 43%)
HSVhsv(197, 77%, 70%)
CMYKcmyk(76.5%, 21.8%, 0%, 29.8%)
CIE-LABlab(54.55, -14.52, -28.43)
CIE-LCHlch(54.55, 31.93, 242.94°)
OKLaboklab(60.2% -0.0684 -0.0799)
OKLCHoklch(60.2% 0.105 229.4)
XYZxyz(18.4663, 22.5009, 46.0089)
Luminance0.2250 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A8CB3 #B3512A
analogous
#2AB395 #2A8CB3 #2A48B3
triadic
#2A8CB3 #B32A8C #8CB32A
tetradic
#2A8CB3 #952AB3 #B3512A #48B32A
square
#2A8CB3 #952AB3 #B3512A #48B32A
split-complementary
#2A8CB3 #B32A48 #B3952A
monochromatic
#133E50 #1E6581 #2A8CB3 #46ACD4 #78C2DF

Accessibility & contrast

On white

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

On black

5.50
#2A8CB3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2A8CB3
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A8CB3#FFFFFF#000000##000000
##2A8CB31.003.825.505.50
#FFFFFF3.821.0021.0021.00
#0000005.5021.001.001.00
##0000005.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#788AB5
Deuteranopia (green-blind)
#657DB2
Tritanopia (blue-blind)
#009799
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #2a8cb3;
/* rgb */ color: rgb(42, 140, 179);
/* oklch */ color: oklch(60.2% 0.105 229.4);
Tailwind
colors: {
  custom: {
    50: '#78adca',
    500: '#2a8cb3',
    950: '#000000',
  },
}
SCSS
$custom: #2a8cb3;
$custom-light: #78adca;
$custom-dark: #000000;
JSON
{
  "hex": "#2a8cb3",
  "rgb": {
    "r": 42,
    "g": 140,
    "b": 179
  },
  "hsl": {
    "h": 197.08,
    "s": 61.991,
    "l": 43.333
  },
  "oklch": {
    "l": 0.60199,
    "c": 0.10521,
    "h": 229.4
  },
  "luminance": 0.22503
}

Semantic roles & 50–950 ramp

primary
#2A8CB3
secondary
#C78A72
accent
#7143E5
background
#F7FAFC
surface
#EEF4F8
border
#C9CED1
text
#0A1013
muted
#7C7F82

Preview Lab

Preview with #2A8CB3

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

Preview Lab → · Contrast checker → · Palette generator →

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