#2F6871#2F6871

#2F6871 is a mid, moderate teal. Relative luminance 0.117; OKLCH L 48.3% C 0.061 H 209.1°. Best body text is #FFFFFF at 6.29:1 contrast (WCAG AA passes).

Color values

HEX#2F6871
RGBrgb(47, 104, 113)
HSLhsl(188, 41%, 31%)
HSVhsv(188, 58%, 44%)
CMYKcmyk(58.4%, 8%, 0%, 55.7%)
CIE-LABlab(40.73, -15.77, -10.72)
CIE-LCHlch(40.73, 19.07, 214.20°)
OKLaboklab(48.3% -0.0533 -0.0296)
OKLCHoklch(48.3% 0.061 209.1)
XYZxyz(9.1020, 11.6964, 17.3975)
Luminance0.1170 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F6871 #71382F
analogous
#2F7159 #2F6871 #2F4771
triadic
#2F6871 #712F68 #68712F
tetradic
#2F6871 #592F71 #71382F #47712F
square
#2F6871 #592F71 #71382F #47712F
split-complementary
#2F6871 #712F47 #71592F
monochromatic
#0B181B #1D4046 #2F6871 #41909C #5EAFBC

Accessibility & contrast

On white

6.29
#2F6871 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#2F6871 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F6871
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F6871#FFFFFF#000000##FFFFFF
##2F68711.006.293.346.29
#FFFFFF6.291.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#606472
Deuteranopia (green-blind)
#555D71
Tritanopia (blue-blind)
#006C6B
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #2f6871;
/* rgb */ color: rgb(47, 104, 113);
/* oklch */ color: oklch(48.3% 0.061 209.1);
Tailwind
colors: {
  custom: {
    50: '#6e9399',
    500: '#2f6871',
    950: '#000000',
  },
}
SCSS
$custom: #2f6871;
$custom-light: #6e9399;
$custom-dark: #000000;
JSON
{
  "hex": "#2f6871",
  "rgb": {
    "r": 47,
    "g": 104,
    "b": 113
  },
  "hsl": {
    "h": 188.182,
    "s": 41.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.48295,
    "c": 0.061,
    "h": 209.1
  },
  "luminance": 0.11697
}

Semantic roles & 50–950 ramp

primary
#2F6871
secondary
#A2635A
accent
#6757D1
background
#F6F9F9
surface
#ECF1F2
border
#C7CBCC
text
#080D0E
muted
#7B7E7E

Preview Lab

Preview with #2F6871

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

Preview Lab → · Contrast checker → · Palette generator →

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