#2F7882#2F7882

#2F7882 is a mid, moderate teal. Relative luminance 0.156; OKLCH L 53.1% C 0.073 H 207.7°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#2F7882
RGBrgb(47, 120, 130)
HSLhsl(187, 47%, 35%)
HSVhsv(187, 64%, 51%)
CMYKcmyk(63.8%, 7.7%, 0%, 49%)
CIE-LABlab(46.51, -19.19, -12.21)
CIE-LCHlch(46.51, 22.74, 212.46°)
OKLaboklab(53.15% -0.0645 -0.0338)
OKLCHoklch(53.15% 0.073 207.7)
XYZxyz(11.9163, 15.6477, 23.5071)
Luminance0.1565 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7882 #82392F
analogous
#2F8263 #2F7882 #2F4F82
triadic
#2F7882 #822F78 #78822F
tetradic
#2F7882 #632F82 #82392F #4F822F
square
#2F7882 #632F82 #82392F #4F822F
split-complementary
#2F7882 #822F4F #82632F
monochromatic
#0E2528 #1F4F55 #2F7882 #3FA1AF #64BBC7

Accessibility & contrast

On white

5.08
#2F7882 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#2F7882 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F7882
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F7882#FFFFFF#000000##FFFFFF
##2F78821.005.084.135.08
#FFFFFF5.081.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6E7483
Deuteranopia (green-blind)
#626A82
Tritanopia (blue-blind)
#007D7B
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #2f7882;
/* rgb */ color: rgb(47, 120, 130);
/* oklch */ color: oklch(53.1% 0.073 207.7);
Tailwind
colors: {
  custom: {
    50: '#729fa6',
    500: '#2f7882',
    950: '#000000',
  },
}
SCSS
$custom: #2f7882;
$custom-light: #729fa6;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7882",
  "rgb": {
    "r": 47,
    "g": 120,
    "b": 130
  },
  "hsl": {
    "h": 187.229,
    "s": 46.893,
    "l": 34.706
  },
  "oklch": {
    "l": 0.53146,
    "c": 0.07288,
    "h": 207.7
  },
  "luminance": 0.15649
}

Semantic roles & 50–950 ramp

primary
#2F7882
secondary
#AE685F
accent
#6151D7
background
#F7F9FA
surface
#EDF2F4
border
#C8CCCE
text
#080E0F
muted
#7B7E7F

Preview Lab

Preview with #2F7882

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

Preview Lab → · Contrast checker → · Palette generator →

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