#2F97BE#2F97BE

#2F97BE is a light, moderate cyan. Relative luminance 0.265; OKLCH L 63.5% C 0.108 H 227.8°. Best body text is #000000 at 6.29:1 contrast (WCAG AA passes).

Color values

HEX#2F97BE
RGBrgb(47, 151, 190)
HSLhsl(196, 60%, 46%)
HSVhsv(196, 75%, 75%)
CMYKcmyk(75.3%, 20.5%, 0%, 25.5%)
CIE-LABlab(58.46, -16.18, -28.62)
CIE-LCHlch(58.46, 32.87, 240.52°)
OKLaboklab(63.51% -0.0729 -0.0803)
OKLCHoklch(63.51% 0.108 227.8)
XYZxyz(21.5294, 26.4527, 52.6764)
Luminance0.2646 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F97BE #BE562F
analogous
#2FBE9E #2F97BE #2F4FBE
triadic
#2F97BE #BE2F97 #97BE2F
tetradic
#2F97BE #9E2FBE #BE562F #4FBE2F
square
#2F97BE #9E2FBE #BE562F #4FBE2F
split-complementary
#2F97BE #BE2F4F #BE9E2F
monochromatic
#17495C #23708D #2F97BE #55B2D5 #86C8E1

Accessibility & contrast

On white

3.34
#2F97BE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.29
#2F97BE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F97BE
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F97BE#FFFFFF#000000##000000
##2F97BE1.003.346.296.29
#FFFFFF3.341.0021.0021.00
#0000006.2921.001.001.00
##0000006.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8294C0
Deuteranopia (green-blind)
#6F87BD
Tritanopia (blue-blind)
#00A2A4
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #2f97be;
/* rgb */ color: rgb(47, 151, 190);
/* oklch */ color: oklch(63.5% 0.108 227.8);
Tailwind
colors: {
  custom: {
    50: '#7cb5d1',
    500: '#2f97be',
    950: '#000000',
  },
}
SCSS
$custom: #2f97be;
$custom-light: #7cb5d1;
$custom-dark: #000000;
JSON
{
  "hex": "#2f97be",
  "rgb": {
    "r": 47,
    "g": 151,
    "b": 190
  },
  "hsl": {
    "h": 196.364,
    "s": 60.338,
    "l": 46.471
  },
  "oklch": {
    "l": 0.63508,
    "c": 0.10847,
    "h": 227.8
  },
  "luminance": 0.26455
}

Semantic roles & 50–950 ramp

primary
#2F97BE
secondary
#CB937E
accent
#7044E3
background
#F8FBFC
surface
#EFF6F9
border
#CAD0D2
text
#0B1114
muted
#7C8082

Preview Lab

Preview with #2F97BE

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

Preview Lab → · Contrast checker → · Palette generator →

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