#2F7883#2F7883

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

Color values

HEX#2F7883
RGBrgb(47, 120, 131)
HSLhsl(188, 47%, 35%)
HSVhsv(188, 64%, 51%)
CMYKcmyk(64.1%, 8.4%, 0%, 48.6%)
CIE-LABlab(46.54, -18.87, -12.75)
CIE-LCHlch(46.54, 22.77, 214.04°)
OKLaboklab(53.19% -0.0641 -0.0353)
OKLCHoklch(53.19% 0.073 208.9)
XYZxyz(11.9838, 15.6747, 23.8623)
Luminance0.1568 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7883 #833A2F
analogous
#2F8364 #2F7883 #2F4E83
triadic
#2F7883 #832F78 #78832F
tetradic
#2F7883 #642F83 #833A2F #4E832F
square
#2F7883 #642F83 #833A2F #4E832F
split-complementary
#2F7883 #832F4E #83642F
monochromatic
#0F2529 #1F4F56 #2F7883 #3FA1B0 #65BBC8

Accessibility & contrast

On white

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

On black

4.14
#2F7883 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2F7883#FFFFFF#000000##FFFFFF
##2F78831.005.084.145.08
#FFFFFF5.081.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6E7484
Deuteranopia (green-blind)
#616A83
Tritanopia (blue-blind)
#007D7B
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #2f7883;
/* rgb */ color: rgb(47, 120, 131);
/* oklch */ color: oklch(53.2% 0.073 208.9);
Tailwind
colors: {
  custom: {
    50: '#729fa7',
    500: '#2f7883',
    950: '#000000',
  },
}
SCSS
$custom: #2f7883;
$custom-light: #729fa7;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7883",
  "rgb": {
    "r": 47,
    "g": 120,
    "b": 131
  },
  "hsl": {
    "h": 187.857,
    "s": 47.191,
    "l": 34.902
  },
  "oklch": {
    "l": 0.53187,
    "c": 0.07321,
    "h": 208.9
  },
  "luminance": 0.15676
}

Semantic roles & 50–950 ramp

primary
#2F7883
secondary
#AF6A5F
accent
#6351D7
background
#F7F9FA
surface
#EDF2F4
border
#C8CCCE
text
#080E0F
muted
#7B7E7F

Preview Lab

Preview with #2F7883

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

Preview Lab → · Contrast checker → · Palette generator →

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