#2A8CB1#2A8CB1

#2A8CB1 is a mid, moderate cyan. Relative luminance 0.224; OKLCH L 60.1% C 0.104 H 228.1°. Best body text is #000000 at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#2A8CB1
RGBrgb(42, 140, 177)
HSLhsl(196, 62%, 43%)
HSVhsv(196, 76%, 69%)
CMYKcmyk(76.3%, 20.9%, 0%, 30.6%)
CIE-LABlab(54.47, -15.21, -27.42)
CIE-LCHlch(54.47, 31.36, 240.98°)
OKLaboklab(60.1% -0.0692 -0.077)
OKLCHoklch(60.1% 0.104 228.1)
XYZxyz(18.2655, 22.4205, 44.9514)
Luminance0.2242 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A8CB1 #B14F2A
analogous
#2AB192 #2A8CB1 #2A49B1
triadic
#2A8CB1 #B12A8C #8CB12A
tetradic
#2A8CB1 #922AB1 #B14F2A #49B12A
square
#2A8CB1 #922AB1 #B14F2A #49B12A
split-complementary
#2A8CB1 #B12A49 #B1922A
monochromatic
#133E4E #1E6580 #2A8CB1 #45ACD3 #77C2DF

Accessibility & contrast

On white

3.83
#2A8CB1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.48
#2A8CB1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2A8CB1
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A8CB1#FFFFFF#000000##000000
##2A8CB11.003.835.485.48
#FFFFFF3.831.0021.0021.00
#0000005.4821.001.001.00
##0000005.4821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2a8cb1;
/* rgb */ color: rgb(42, 140, 177);
/* oklch */ color: oklch(60.1% 0.104 228.1);
Tailwind
colors: {
  custom: {
    50: '#78adc8',
    500: '#2a8cb1',
    950: '#000000',
  },
}
SCSS
$custom: #2a8cb1;
$custom-light: #78adc8;
$custom-dark: #000000;
JSON
{
  "hex": "#2a8cb1",
  "rgb": {
    "r": 42,
    "g": 140,
    "b": 177
  },
  "hsl": {
    "h": 196.444,
    "s": 61.644,
    "l": 42.941
  },
  "oklch": {
    "l": 0.60104,
    "c": 0.10351,
    "h": 228.1
  },
  "luminance": 0.22423
}

Semantic roles & 50–950 ramp

primary
#2A8CB1
secondary
#C68870
accent
#6F43E5
background
#F7FAFC
surface
#EEF4F8
border
#C9CED1
text
#0A1013
muted
#7C7F82

Preview Lab

Preview with #2A8CB1

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

Preview Lab → · Contrast checker → · Palette generator →

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