#2F97B7#2F97B7

#2F97B7 is a light, moderate cyan. Relative luminance 0.262; OKLCH L 63.2% C 0.103 H 222.9°. Best body text is #000000 at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#2F97B7
RGBrgb(47, 151, 183)
HSLhsl(194, 59%, 45%)
HSVhsv(194, 74%, 72%)
CMYKcmyk(74.3%, 17.5%, 0%, 28.2%)
CIE-LABlab(58.18, -18.53, -25.10)
CIE-LCHlch(58.18, 31.19, 233.56°)
OKLaboklab(63.19% -0.0755 -0.0702)
OKLCHoklch(63.19% 0.103 222.9)
XYZxyz(20.7826, 26.1540, 48.7435)
Luminance0.2616 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F97B7 #B74F2F
analogous
#2FB793 #2F97B7 #2F53B7
triadic
#2F97B7 #B72F97 #97B72F
tetradic
#2F97B7 #932FB7 #B74F2F #53B72F
square
#2F97B7 #932FB7 #B74F2F #53B72F
split-complementary
#2F97B7 #B72F53 #B7932F
monochromatic
#164756 #226F86 #2F97B7 #51B4D2 #82C9DF

Accessibility & contrast

On white

3.37
#2F97B7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.23
#2F97B7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F97B7
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F97B7#FFFFFF#000000##000000
##2F97B71.003.376.236.23
#FFFFFF3.371.0021.0021.00
#0000006.2321.001.001.00
##0000006.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8593B9
Deuteranopia (green-blind)
#7286B7
Tritanopia (blue-blind)
#00A1A1
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #2f97b7;
/* rgb */ color: rgb(47, 151, 183);
/* oklch */ color: oklch(63.2% 0.103 222.9);
Tailwind
colors: {
  custom: {
    50: '#7bb5cc',
    500: '#2f97b7',
    950: '#000000',
  },
}
SCSS
$custom: #2f97b7;
$custom-light: #7bb5cc;
$custom-dark: #000000;
JSON
{
  "hex": "#2f97b7",
  "rgb": {
    "r": 47,
    "g": 151,
    "b": 183
  },
  "hsl": {
    "h": 194.118,
    "s": 59.13,
    "l": 45.098
  },
  "oklch": {
    "l": 0.6319,
    "c": 0.10315,
    "h": 222.9
  },
  "luminance": 0.26156
}

Semantic roles & 50–950 ramp

primary
#2F97B7
secondary
#C88C7A
accent
#6A45E2
background
#F8FBFC
surface
#EFF6F8
border
#CAD0D1
text
#0B1113
muted
#7C8082

Preview Lab

Preview with #2F97B7

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

Preview Lab → · Contrast checker → · Palette generator →

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