#2A7581#2A7581

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

Color values

HEX#2A7581
RGBrgb(42, 117, 129)
HSLhsl(188, 51%, 34%)
HSVhsv(188, 67%, 51%)
CMYKcmyk(67.4%, 9.3%, 0%, 49.4%)
CIE-LABlab(45.36, -18.78, -13.37)
CIE-LCHlch(45.36, 23.05, 215.45°)
OKLaboklab(52.16% -0.0645 -0.0371)
OKLCHoklch(52.16% 0.074 209.9)
XYZxyz(11.2769, 14.7986, 23.0267)
Luminance0.1480 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A7581 #81362A
analogous
#2A8161 #2A7581 #2A4981
triadic
#2A7581 #812A75 #75812A
tetradic
#2A7581 #612A81 #81362A #49812A
square
#2A7581 #612A81 #81362A #49812A
split-complementary
#2A7581 #812A49 #81612A
monochromatic
#0C2125 #1B4B53 #2A7581 #399FAF #5CBBCA

Accessibility & contrast

On white

5.30
#2A7581 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#2A7581 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A7581
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A7581#FFFFFF#000000##FFFFFF
##2A75811.005.303.965.30
#FFFFFF5.301.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6B7182
Deuteranopia (green-blind)
#5E6781
Tritanopia (blue-blind)
#007A79
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #2a7581;
/* rgb */ color: rgb(42, 117, 129);
/* oklch */ color: oklch(52.2% 0.074 209.9);
Tailwind
colors: {
  custom: {
    50: '#6f9da5',
    500: '#2a7581',
    950: '#000000',
  },
}
SCSS
$custom: #2a7581;
$custom-light: #6f9da5;
$custom-dark: #000000;
JSON
{
  "hex": "#2a7581",
  "rgb": {
    "r": 42,
    "g": 117,
    "b": 129
  },
  "hsl": {
    "h": 188.276,
    "s": 50.877,
    "l": 33.529
  },
  "oklch": {
    "l": 0.52164,
    "c": 0.07446,
    "h": 209.9
  },
  "luminance": 0.148
}

Semantic roles & 50–950 ramp

primary
#2A7581
secondary
#AF6457
accent
#614DDA
background
#F7F9FA
surface
#EDF2F4
border
#C8CCCE
text
#080E0F
muted
#7B7E7F

Preview Lab

Preview with #2A7581

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

Preview Lab → · Contrast checker → · Palette generator →

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