#2A7787#2A7787

#2A7787 is a mid, moderate cyan. Relative luminance 0.154; OKLCH L 52.9% C 0.077 H 214.1°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#2A7787
RGBrgb(42, 119, 135)
HSLhsl(190, 53%, 35%)
HSVhsv(190, 69%, 53%)
CMYKcmyk(68.9%, 11.9%, 0%, 47.1%)
CIE-LABlab(46.22, -17.91, -15.62)
CIE-LCHlch(46.22, 23.76, 221.10°)
OKLaboklab(52.94% -0.0642 -0.0435)
OKLCHoklch(52.94% 0.077 214.1)
XYZxyz(11.9230, 15.4338, 25.2676)
Luminance0.1543 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A7787 #873A2A
analogous
#2A8769 #2A7787 #2A4887
triadic
#2A7787 #872A77 #77872A
tetradic
#2A7787 #692A87 #873A2A #48872A
square
#2A7787 #692A87 #873A2A #48872A
split-complementary
#2A7787 #872A48 #87692A
monochromatic
#0D252A #1B4E58 #2A7787 #39A0B6 #5EBACD

Accessibility & contrast

On white

5.14
#2A7787 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#2A7787 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A7787
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A7787#FFFFFF#000000##FFFFFF
##2A77871.005.144.095.14
#FFFFFF5.141.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6B7388
Deuteranopia (green-blind)
#5E6987
Tritanopia (blue-blind)
#007D7C
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #2a7787;
/* rgb */ color: rgb(42, 119, 135);
/* oklch */ color: oklch(52.9% 0.077 214.1);
Tailwind
colors: {
  custom: {
    50: '#709eaa',
    500: '#2a7787',
    950: '#000000',
  },
}
SCSS
$custom: #2a7787;
$custom-light: #709eaa;
$custom-dark: #000000;
JSON
{
  "hex": "#2a7787",
  "rgb": {
    "r": 42,
    "g": 119,
    "b": 135
  },
  "hsl": {
    "h": 190.323,
    "s": 52.542,
    "l": 34.706
  },
  "oklch": {
    "l": 0.52935,
    "c": 0.07749,
    "h": 214.1
  },
  "luminance": 0.15435
}

Semantic roles & 50–950 ramp

primary
#2A7787
secondary
#B3695A
accent
#654CDC
background
#F7F9FA
surface
#EDF2F4
border
#C8CCCE
text
#080E10
muted
#7B7E7F

Preview Lab

Preview with #2A7787

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

Preview Lab → · Contrast checker → · Palette generator →

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