#2F7785#2F7785

#2F7785 is a mid, moderate teal. Relative luminance 0.155; OKLCH L 53.0% C 0.074 H 212.6°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#2F7785
RGBrgb(47, 119, 133)
HSLhsl(190, 48%, 35%)
HSVhsv(190, 65%, 52%)
CMYKcmyk(64.7%, 10.5%, 0%, 47.8%)
CIE-LABlab(46.30, -17.69, -14.31)
CIE-LCHlch(46.30, 22.75, 218.97°)
OKLaboklab(53.01% -0.0621 -0.0397)
OKLCHoklch(53.01% 0.074 212.6)
XYZxyz(12.0010, 15.4902, 24.5432)
Luminance0.1549 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7785 #853D2F
analogous
#2F8568 #2F7785 #2F4C85
triadic
#2F7785 #852F77 #77852F
tetradic
#2F7785 #682F85 #853D2F #4C852F
square
#2F7785 #682F85 #853D2F #4C852F
split-complementary
#2F7785 #852F4C #85682F
monochromatic
#0F262B #1F4F58 #2F7785 #3F9FB2 #66B9C9

Accessibility & contrast

On white

5.12
#2F7785 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#2F7785 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F7785
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F7785#FFFFFF#000000##FFFFFF
##2F77851.005.124.105.12
#FFFFFF5.121.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6C7386
Deuteranopia (green-blind)
#606A85
Tritanopia (blue-blind)
#007D7B
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #2f7785;
/* rgb */ color: rgb(47, 119, 133);
/* oklch */ color: oklch(53.0% 0.074 212.6);
Tailwind
colors: {
  custom: {
    50: '#729ea8',
    500: '#2f7785',
    950: '#000000',
  },
}
SCSS
$custom: #2f7785;
$custom-light: #729ea8;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7785",
  "rgb": {
    "r": 47,
    "g": 119,
    "b": 133
  },
  "hsl": {
    "h": 189.767,
    "s": 47.778,
    "l": 35.294
  },
  "oklch": {
    "l": 0.53013,
    "c": 0.07372,
    "h": 212.6
  },
  "luminance": 0.15491
}

Semantic roles & 50–950 ramp

primary
#2F7785
secondary
#B06D60
accent
#6650D7
background
#F7F9FA
surface
#EDF2F4
border
#C8CCCE
text
#090E0F
muted
#7B7E7F

Preview Lab

Preview with #2F7785

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

Preview Lab → · Contrast checker → · Palette generator →

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