#2F97BB#2F97BB

#2F97BB is a light, moderate cyan. Relative luminance 0.263; OKLCH L 63.4% C 0.106 H 225.8°. Best body text is #000000 at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#2F97BB
RGBrgb(47, 151, 187)
HSLhsl(195, 60%, 46%)
HSVhsv(195, 75%, 73%)
CMYKcmyk(74.9%, 19.3%, 0%, 26.7%)
CIE-LABlab(58.34, -17.19, -27.11)
CIE-LCHlch(58.34, 32.10, 237.63°)
OKLaboklab(63.37% -0.074 -0.076)
OKLCHoklch(63.37% 0.106 225.8)
XYZxyz(21.2049, 26.3229, 50.9673)
Luminance0.2632 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F97BB #BB532F
analogous
#2FBB99 #2F97BB #2F51BB
triadic
#2F97BB #BB2F97 #97BB2F
tetradic
#2F97BB #992FBB #BB532F #51BB2F
square
#2F97BB #992FBB #BB532F #51BB2F
split-complementary
#2F97BB #BB2F51 #BB992F
monochromatic
#164859 #23708A #2F97BB #53B3D4 #84C9E0

Accessibility & contrast

On white

3.35
#2F97BB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.26
#2F97BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F97BB
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F97BB#FFFFFF#000000##000000
##2F97BB1.003.356.266.26
#FFFFFF3.351.0021.0021.00
#0000006.2621.001.001.00
##0000006.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8394BD
Deuteranopia (green-blind)
#7086BB
Tritanopia (blue-blind)
#00A2A3
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #2f97bb;
/* rgb */ color: rgb(47, 151, 187);
/* oklch */ color: oklch(63.4% 0.106 225.8);
Tailwind
colors: {
  custom: {
    50: '#7cb5cf',
    500: '#2f97bb',
    950: '#000000',
  },
}
SCSS
$custom: #2f97bb;
$custom-light: #7cb5cf;
$custom-dark: #000000;
JSON
{
  "hex": "#2f97bb",
  "rgb": {
    "r": 47,
    "g": 151,
    "b": 187
  },
  "hsl": {
    "h": 195.429,
    "s": 59.829,
    "l": 45.882
  },
  "oklch": {
    "l": 0.6337,
    "c": 0.10609,
    "h": 225.8
  },
  "luminance": 0.26325
}

Semantic roles & 50–950 ramp

primary
#2F97BB
secondary
#C9907C
accent
#6D45E3
background
#F8FBFC
surface
#EFF6F9
border
#CAD0D2
text
#0B1113
muted
#7C8082

Preview Lab

Preview with #2F97BB

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

Preview Lab → · Contrast checker → · Palette generator →

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