#2A7A8A#2A7A8A

#2A7A8A is a mid, moderate cyan. Relative luminance 0.162; OKLCH L 53.8% C 0.079 H 213.5°. Best body text is #FFFFFF at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#2A7A8A
RGBrgb(42, 122, 138)
HSLhsl(190, 53%, 35%)
HSVhsv(190, 70%, 54%)
CMYKcmyk(69.6%, 11.6%, 0%, 45.9%)
CIE-LABlab(47.29, -18.55, -15.77)
CIE-LCHlch(47.29, 24.35, 220.36°)
OKLaboklab(53.83% -0.0662 -0.0439)
OKLCHoklch(53.83% 0.079 213.5)
XYZxyz(12.4999, 16.2449, 26.5166)
Luminance0.1625 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A7A8A #8A3A2A
analogous
#2A8A6A #2A7A8A #2A4A8A
triadic
#2A7A8A #8A2A7A #7A8A2A
tetradic
#2A7A8A #6A2A8A #8A3A2A #4A8A2A
square
#2A7A8A #6A2A8A #8A3A2A #4A8A2A
split-complementary
#2A7A8A #8A2A4A #8A6A2A
monochromatic
#0D272C #1C515B #2A7A8A #38A3B9 #60BCCF

Accessibility & contrast

On white

4.94
#2A7A8A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.25
#2A7A8A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A7A8A
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A7A8A#FFFFFF#000000##FFFFFF
##2A7A8A1.004.944.254.94
#FFFFFF4.941.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6E768B
Deuteranopia (green-blind)
#606C8A
Tritanopia (blue-blind)
#00807F
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #2a7a8a;
/* rgb */ color: rgb(42, 122, 138);
/* oklch */ color: oklch(53.8% 0.079 213.5);
Tailwind
colors: {
  custom: {
    50: '#71a0ac',
    500: '#2a7a8a',
    950: '#000000',
  },
}
SCSS
$custom: #2a7a8a;
$custom-light: #71a0ac;
$custom-dark: #000000;
JSON
{
  "hex": "#2a7a8a",
  "rgb": {
    "r": 42,
    "g": 122,
    "b": 138
  },
  "hsl": {
    "h": 190,
    "s": 53.333,
    "l": 35.294
  },
  "oklch": {
    "l": 0.53834,
    "c": 0.07938,
    "h": 213.5
  },
  "luminance": 0.16246
}

Semantic roles & 50–950 ramp

primary
#2A7A8A
secondary
#B46A5B
accent
#634BDD
background
#F7F9FA
surface
#EDF2F4
border
#C8CCCE
text
#080E10
muted
#7B7E7F

Preview Lab

Preview with #2A7A8A

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

Preview Lab → · Contrast checker → · Palette generator →

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