#2F97AB#2F97AB

#2F97AB is a light, moderate teal. Relative luminance 0.257; OKLCH L 62.7% C 0.096 H 213.3°. Best body text is #000000 at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#2F97AB
RGBrgb(47, 151, 171)
HSLhsl(190, 57%, 43%)
HSVhsv(190, 73%, 67%)
CMYKcmyk(72.5%, 11.7%, 0%, 32.9%)
CIE-LABlab(57.73, -22.46, -18.98)
CIE-LCHlch(57.73, 29.41, 220.20°)
OKLaboklab(62.67% -0.0803 -0.0529)
OKLCHoklch(62.67% 0.096 213.3)
XYZxyz(19.5865, 25.6755, 42.4438)
Luminance0.2568 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F97AB #AB432F
analogous
#2FAB81 #2F97AB #2F59AB
triadic
#2F97AB #AB2F97 #97AB2F
tetradic
#2F97AB #812FAB #AB432F #59AB2F
square
#2F97AB #812FAB #AB432F #59AB2F
split-complementary
#2F97AB #AB2F59 #AB812F
monochromatic
#15424B #226D7B #2F97AB #4AB8CD #7ACBDA

Accessibility & contrast

On white

3.42
#2F97AB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.14
#2F97AB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F97AB
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F97AB#FFFFFF#000000##000000
##2F97AB1.003.426.146.14
#FFFFFF3.421.0021.0021.00
#0000006.1421.001.001.00
##0000006.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8892AC
Deuteranopia (green-blind)
#7785AB
Tritanopia (blue-blind)
#009F9D
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #2f97ab;
/* rgb */ color: rgb(47, 151, 171);
/* oklch */ color: oklch(62.7% 0.096 213.3);
Tailwind
colors: {
  custom: {
    50: '#7ab6c4',
    500: '#2f97ab',
    950: '#000000',
  },
}
SCSS
$custom: #2f97ab;
$custom-light: #7ab6c4;
$custom-dark: #000000;
JSON
{
  "hex": "#2f97ab",
  "rgb": {
    "r": 47,
    "g": 151,
    "b": 171
  },
  "hsl": {
    "h": 189.677,
    "s": 56.881,
    "l": 42.745
  },
  "oklch": {
    "l": 0.62673,
    "c": 0.09618,
    "h": 213.3
  },
  "luminance": 0.25678
}

Semantic roles & 50–950 ramp

primary
#2F97AB
secondary
#C38073
accent
#6048E0
background
#F8FBFC
surface
#EFF6F8
border
#CAD0D1
text
#0A1112
muted
#7C8081

Preview Lab

Preview with #2F97AB

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

Preview Lab → · Contrast checker → · Palette generator →

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