#2F7E8D#2F7E8D

#2F7E8D is a mid, moderate teal. Relative luminance 0.174; OKLCH L 55.1% C 0.079 H 212.4°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#2F7E8D
RGBrgb(47, 126, 141)
HSLhsl(190, 50%, 37%)
HSVhsv(190, 67%, 55%)
CMYKcmyk(66.7%, 10.6%, 0%, 44.7%)
CIE-LABlab(48.82, -18.91, -15.20)
CIE-LCHlch(48.82, 24.26, 218.80°)
OKLaboklab(55.14% -0.0665 -0.0422)
OKLCHoklch(55.14% 0.079 212.4)
XYZxyz(13.4389, 17.4477, 27.8536)
Luminance0.1745 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7E8D #8D3E2F
analogous
#2F8D6D #2F7E8D #2F4F8D
triadic
#2F7E8D #8D2F7E #7E8D2F
tetradic
#2F7E8D #6D2F8D #8D3E2F #4F8D2F
square
#2F7E8D #6D2F8D #8D3E2F #4F8D2F
split-complementary
#2F7E8D #8D2F4F #8D6D2F
monochromatic
#102C31 #20555F #2F7E8D #3EA7BB #69BDCD

Accessibility & contrast

On white

4.68
#2F7E8D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.49
#2F7E8D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F7E8D
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F7E8D#FFFFFF#000000##FFFFFF
##2F7E8D1.004.684.494.68
#FFFFFF4.681.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#727A8E
Deuteranopia (green-blind)
#65708D
Tritanopia (blue-blind)
#008483
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #2f7e8d;
/* rgb */ color: rgb(47, 126, 141);
/* oklch */ color: oklch(55.1% 0.079 212.4);
Tailwind
colors: {
  custom: {
    50: '#74a3ae',
    500: '#2f7e8d',
    950: '#000000',
  },
}
SCSS
$custom: #2f7e8d;
$custom-light: #74a3ae;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7e8d",
  "rgb": {
    "r": 47,
    "g": 126,
    "b": 141
  },
  "hsl": {
    "h": 189.574,
    "s": 50,
    "l": 36.863
  },
  "oklch": {
    "l": 0.55138,
    "c": 0.07877,
    "h": 212.4
  },
  "luminance": 0.17449
}

Semantic roles & 50–950 ramp

primary
#2F7E8D
secondary
#B47064
accent
#654EDA
background
#F7FAFA
surface
#EDF4F4
border
#C8CECE
text
#090F10
muted
#7B7F7F

Preview Lab

Preview with #2F7E8D

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

Preview Lab → · Contrast checker → · Palette generator →

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