#2A7580#2A7580

#2A7580 is a mid, moderate teal. Relative luminance 0.148; OKLCH L 52.1% C 0.074 H 208.7°. Best body text is #FFFFFF at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#2A7580
RGBrgb(42, 117, 128)
HSLhsl(188, 51%, 33%)
HSVhsv(188, 67%, 50%)
CMYKcmyk(67.2%, 8.6%, 0%, 49.8%)
CIE-LABlab(45.32, -19.10, -12.83)
CIE-LCHlch(45.32, 23.01, 213.88°)
OKLaboklab(52.12% -0.065 -0.0356)
OKLCHoklch(52.12% 0.074 208.7)
XYZxyz(11.2108, 14.7721, 22.6784)
Luminance0.1477 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A7580 #80352A
analogous
#2A8060 #2A7580 #2A4A80
triadic
#2A7580 #802A75 #75802A
tetradic
#2A7580 #602A80 #80352A #4A802A
square
#2A7580 #602A80 #80352A #4A802A
split-complementary
#2A7580 #802A4A #80602A
monochromatic
#0C2124 #1B4B52 #2A7580 #399FAE #5BBBC9

Accessibility & contrast

On white

5.31
#2A7580 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#2A7580 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A7580
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A7580#FFFFFF#000000##FFFFFF
##2A75801.005.313.955.31
#FFFFFF5.311.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6B7181
Deuteranopia (green-blind)
#5E6780
Tritanopia (blue-blind)
#007A78
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #2a7580;
/* rgb */ color: rgb(42, 117, 128);
/* oklch */ color: oklch(52.1% 0.074 208.7);
Tailwind
colors: {
  custom: {
    50: '#6f9da4',
    500: '#2a7580',
    950: '#000000',
  },
}
SCSS
$custom: #2a7580;
$custom-light: #6f9da4;
$custom-dark: #000000;
JSON
{
  "hex": "#2a7580",
  "rgb": {
    "r": 42,
    "g": 117,
    "b": 128
  },
  "hsl": {
    "h": 187.674,
    "s": 50.588,
    "l": 33.333
  },
  "oklch": {
    "l": 0.52122,
    "c": 0.07411,
    "h": 208.7
  },
  "luminance": 0.14773
}

Semantic roles & 50–950 ramp

primary
#2A7580
secondary
#AF6257
accent
#604EDA
background
#F7F9FA
surface
#EDF2F4
border
#C8CCCE
text
#080E0F
muted
#7B7E7F

Preview Lab

Preview with #2A7580

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

Preview Lab → · Contrast checker → · Palette generator →

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