#2F95A6#2F95A6

#2F95A6 is a mid, moderate teal. Relative luminance 0.249; OKLCH L 62.0% C 0.094 H 211.0°. Best body text is #000000 at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#2F95A6
RGBrgb(47, 149, 166)
HSLhsl(189, 56%, 42%)
HSVhsv(189, 72%, 65%)
CMYKcmyk(71.7%, 10.2%, 0%, 34.9%)
CIE-LABlab(56.93, -23.03, -17.35)
CIE-LCHlch(56.93, 28.83, 217.00°)
OKLaboklab(61.97% -0.0804 -0.0483)
OKLCHoklch(61.97% 0.094 211)
XYZxyz(18.7997, 24.8502, 39.8748)
Luminance0.2485 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F95A6 #A6402F
analogous
#2FA67C #2F95A6 #2F5AA6
triadic
#2F95A6 #A62F95 #95A62F
tetradic
#2F95A6 #7C2FA6 #A6402F #5AA62F
square
#2F95A6 #7C2FA6 #A6402F #5AA62F
split-complementary
#2F95A6 #A62F5A #A67C2F
monochromatic
#143F47 #216A76 #2F95A6 #47B8CB #77CBD8

Accessibility & contrast

On white

3.52
#2F95A6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.97
#2F95A6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F95A6
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F95A6#FFFFFF#000000##000000
##2F95A61.003.525.975.97
#FFFFFF3.521.0021.0021.00
#0000005.9721.001.001.00
##0000005.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8790A7
Deuteranopia (green-blind)
#7683A6
Tritanopia (blue-blind)
#009C9A
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #2f95a6;
/* rgb */ color: rgb(47, 149, 166);
/* oklch */ color: oklch(62.0% 0.094 211.0);
Tailwind
colors: {
  custom: {
    50: '#79b4c0',
    500: '#2f95a6',
    950: '#000000',
  },
}
SCSS
$custom: #2f95a6;
$custom-light: #79b4c0;
$custom-dark: #000000;
JSON
{
  "hex": "#2f95a6",
  "rgb": {
    "r": 47,
    "g": 149,
    "b": 166
  },
  "hsl": {
    "h": 188.571,
    "s": 55.869,
    "l": 41.765
  },
  "oklch": {
    "l": 0.6197,
    "c": 0.09376,
    "h": 211
  },
  "luminance": 0.24852
}

Semantic roles & 50–950 ramp

primary
#2F95A6
secondary
#C17C70
accent
#5E49DF
background
#F7FBFB
surface
#EEF6F7
border
#C9D0D0
text
#0A1112
muted
#7C8081

Preview Lab

Preview with #2F95A6

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

Preview Lab → · Contrast checker → · Palette generator →

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