#2A7481#2A7481

#2A7481 is a mid, moderate teal. Relative luminance 0.146; OKLCH L 51.9% C 0.074 H 211.2°. Best body text is #FFFFFF at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#2A7481
RGBrgb(42, 116, 129)
HSLhsl(189, 51%, 34%)
HSVhsv(189, 67%, 51%)
CMYKcmyk(67.4%, 10.1%, 0%, 49.4%)
CIE-LABlab(45.04, -18.24, -13.86)
CIE-LCHlch(45.04, 22.90, 217.23°)
OKLaboklab(51.91% -0.0634 -0.0385)
OKLCHoklch(51.91% 0.074 211.2)
XYZxyz(11.1610, 14.5668, 22.9881)
Luminance0.1457 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A7481 #81372A
analogous
#2A8162 #2A7481 #2A4881
triadic
#2A7481 #812A74 #74812A
tetradic
#2A7481 #622A81 #81372A #48812A
square
#2A7481 #622A81 #81372A #48812A
split-complementary
#2A7481 #812A48 #81622A
monochromatic
#0C2125 #1B4A53 #2A7481 #399EAF #5CB9CA

Accessibility & contrast

On white

5.37
#2A7481 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#2A7481 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A7481
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A7481#FFFFFF#000000##FFFFFF
##2A74811.005.373.915.37
#FFFFFF5.371.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.371.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2a7481;
/* rgb */ color: rgb(42, 116, 129);
/* oklch */ color: oklch(51.9% 0.074 211.2);
Tailwind
colors: {
  custom: {
    50: '#6f9ca5',
    500: '#2a7481',
    950: '#000000',
  },
}
SCSS
$custom: #2a7481;
$custom-light: #6f9ca5;
$custom-dark: #000000;
JSON
{
  "hex": "#2a7481",
  "rgb": {
    "r": 42,
    "g": 116,
    "b": 129
  },
  "hsl": {
    "h": 188.966,
    "s": 50.877,
    "l": 33.529
  },
  "oklch": {
    "l": 0.51905,
    "c": 0.07419,
    "h": 211.2
  },
  "luminance": 0.14568
}

Semantic roles & 50–950 ramp

primary
#2A7481
secondary
#AF6557
accent
#624DDA
background
#F7F9FA
surface
#EDF2F4
border
#C8CCCE
text
#080E0F
muted
#7B7E7F

Preview Lab

Preview with #2A7481

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

Preview Lab → · Contrast checker → · Palette generator →

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