#2F97A8#2F97A8

#2F97A8 is a light, moderate teal. Relative luminance 0.256; OKLCH L 62.5% C 0.095 H 210.7°. Best body text is #000000 at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#2F97A8
RGBrgb(47, 151, 168)
HSLhsl(188, 56%, 42%)
HSVhsv(188, 72%, 66%)
CMYKcmyk(72%, 10.1%, 0%, 34.1%)
CIE-LABlab(57.62, -23.42, -17.44)
CIE-LCHlch(57.62, 29.20, 216.67°)
OKLaboklab(62.55% -0.0816 -0.0485)
OKLCHoklch(62.55% 0.095 210.7)
XYZxyz(19.3038, 25.5625, 40.9549)
Luminance0.2556 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F97A8 #A8402F
analogous
#2FA87D #2F97A8 #2F5AA8
triadic
#2F97A8 #A82F97 #97A82F
tetradic
#2F97A8 #7D2FA8 #A8402F #5AA82F
square
#2F97A8 #7D2FA8 #A8402F #5AA82F
split-complementary
#2F97A8 #A82F5A #A87D2F
monochromatic
#144148 #226C78 #2F97A8 #48B9CC #78CCD9

Accessibility & contrast

On white

3.44
#2F97A8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.11
#2F97A8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F97A8
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F97A8#FFFFFF#000000##000000
##2F97A81.003.446.116.11
#FFFFFF3.441.0021.0021.00
#0000006.1121.001.001.00
##0000006.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8992A9
Deuteranopia (green-blind)
#7885A8
Tritanopia (blue-blind)
#009E9C
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #2f97a8;
/* rgb */ color: rgb(47, 151, 168);
/* oklch */ color: oklch(62.5% 0.095 210.7);
Tailwind
colors: {
  custom: {
    50: '#79b6c1',
    500: '#2f97a8',
    950: '#000000',
  },
}
SCSS
$custom: #2f97a8;
$custom-light: #79b6c1;
$custom-dark: #000000;
JSON
{
  "hex": "#2f97a8",
  "rgb": {
    "r": 47,
    "g": 151,
    "b": 168
  },
  "hsl": {
    "h": 188.43,
    "s": 56.279,
    "l": 42.157
  },
  "oklch": {
    "l": 0.6255,
    "c": 0.09493,
    "h": 210.7
  },
  "luminance": 0.25565
}

Semantic roles & 50–950 ramp

primary
#2F97A8
secondary
#C17D71
accent
#5D48E0
background
#F8FBFB
surface
#EFF6F7
border
#CAD0D0
text
#0A1112
muted
#7C8081

Preview Lab

Preview with #2F97A8

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

Preview Lab → · Contrast checker → · Palette generator →

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