#2A7989#2A7989

#2A7989 is a mid, moderate cyan. Relative luminance 0.160; OKLCH L 53.5% C 0.079 H 213.7°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#2A7989
RGBrgb(42, 121, 137)
HSLhsl(190, 53%, 35%)
HSVhsv(190, 69%, 54%)
CMYKcmyk(69.3%, 11.7%, 0%, 46.3%)
CIE-LABlab(46.94, -18.34, -15.72)
CIE-LCHlch(46.94, 24.15, 220.61°)
OKLaboklab(53.53% -0.0655 -0.0437)
OKLCHoklch(53.53% 0.079 213.7)
XYZxyz(12.3057, 15.9718, 26.0964)
Luminance0.1597 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A7989 #893A2A
analogous
#2A8969 #2A7989 #2A4A89
triadic
#2A7989 #892A79 #79892A
tetradic
#2A7989 #692A89 #893A2A #4A892A
square
#2A7989 #692A89 #893A2A #4A892A
split-complementary
#2A7989 #892A4A #89692A
monochromatic
#0D262B #1C505A #2A7989 #38A2B8 #5FBBCE

Accessibility & contrast

On white

5.01
#2A7989 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#2A7989 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A7989
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A7989#FFFFFF#000000##FFFFFF
##2A79891.005.014.195.01
#FFFFFF5.011.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6D758A
Deuteranopia (green-blind)
#606B89
Tritanopia (blue-blind)
#007F7E
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #2a7989;
/* rgb */ color: rgb(42, 121, 137);
/* oklch */ color: oklch(53.5% 0.079 213.7);
Tailwind
colors: {
  custom: {
    50: '#71a0ab',
    500: '#2a7989',
    950: '#000000',
  },
}
SCSS
$custom: #2a7989;
$custom-light: #71a0ab;
$custom-dark: #000000;
JSON
{
  "hex": "#2a7989",
  "rgb": {
    "r": 42,
    "g": 121,
    "b": 137
  },
  "hsl": {
    "h": 190.105,
    "s": 53.073,
    "l": 35.098
  },
  "oklch": {
    "l": 0.53534,
    "c": 0.07876,
    "h": 213.7
  },
  "luminance": 0.15973
}

Semantic roles & 50–950 ramp

primary
#2A7989
secondary
#B46A5B
accent
#644BDC
background
#F7F9FA
surface
#EDF2F4
border
#C8CCCE
text
#080E10
muted
#7B7E7F

Preview Lab

Preview with #2A7989

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

Preview Lab → · Contrast checker → · Palette generator →

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