#2A8CB5#2A8CB5

#2A8CB5 is a mid, moderate cyan. Relative luminance 0.226; OKLCH L 60.3% C 0.107 H 230.7°. Best body text is #000000 at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#2A8CB5
RGBrgb(42, 140, 181)
HSLhsl(198, 62%, 44%)
HSVhsv(198, 77%, 71%)
CMYKcmyk(76.8%, 22.7%, 0%, 29%)
CIE-LABlab(54.64, -13.83, -29.45)
CIE-LCHlch(54.64, 32.53, 244.84°)
OKLaboklab(60.3% -0.0677 -0.0828)
OKLCHoklch(60.3% 0.107 230.7)
XYZxyz(18.6700, 22.5824, 47.0819)
Luminance0.2258 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A8CB5 #B5532A
analogous
#2AB598 #2A8CB5 #2A46B5
triadic
#2A8CB5 #B52A8C #8CB52A
tetradic
#2A8CB5 #982AB5 #B5532A #46B52A
square
#2A8CB5 #982AB5 #B5532A #46B52A
split-complementary
#2A8CB5 #B52A46 #B5982A
monochromatic
#133F52 #1E6683 #2A8CB5 #48ABD4 #79C2E0

Accessibility & contrast

On white

3.81
#2A8CB5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.52
#2A8CB5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2A8CB5
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A8CB5#FFFFFF#000000##000000
##2A8CB51.003.815.525.52
#FFFFFF3.811.0021.0021.00
#0000005.5221.001.001.00
##0000005.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#778AB7
Deuteranopia (green-blind)
#657DB4
Tritanopia (blue-blind)
#00979A
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #2a8cb5;
/* rgb */ color: rgb(42, 140, 181);
/* oklch */ color: oklch(60.3% 0.107 230.7);
Tailwind
colors: {
  custom: {
    50: '#79adcb',
    500: '#2a8cb5',
    950: '#000000',
  },
}
SCSS
$custom: #2a8cb5;
$custom-light: #79adcb;
$custom-dark: #000000;
JSON
{
  "hex": "#2a8cb5",
  "rgb": {
    "r": 42,
    "g": 140,
    "b": 181
  },
  "hsl": {
    "h": 197.698,
    "s": 62.332,
    "l": 43.725
  },
  "oklch": {
    "l": 0.60295,
    "c": 0.10698,
    "h": 230.7
  },
  "luminance": 0.22585
}

Semantic roles & 50–950 ramp

primary
#2A8CB5
secondary
#C88C73
accent
#7242E5
background
#F8FAFC
surface
#EFF4F8
border
#CACED1
text
#0A1013
muted
#7C7F82

Preview Lab

Preview with #2A8CB5

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

Preview Lab → · Contrast checker → · Palette generator →

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