#2F97BC#2F97BC

#2F97BC is a light, moderate cyan. Relative luminance 0.264; OKLCH L 63.4% C 0.107 H 226.4°. Best body text is #000000 at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#2F97BC
RGBrgb(47, 151, 188)
HSLhsl(196, 60%, 46%)
HSVhsv(196, 75%, 74%)
CMYKcmyk(75%, 19.7%, 0%, 26.3%)
CIE-LABlab(58.38, -16.85, -27.62)
CIE-LCHlch(58.38, 32.35, 238.61°)
OKLaboklab(63.42% -0.0736 -0.0774)
OKLCHoklch(63.42% 0.107 226.4)
XYZxyz(21.3123, 26.3659, 51.5331)
Luminance0.2637 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F97BC #BC542F
analogous
#2FBC9A #2F97BC #2F50BC
triadic
#2F97BC #BC2F97 #97BC2F
tetradic
#2F97BC #9A2FBC #BC542F #50BC2F
square
#2F97BC #9A2FBC #BC542F #50BC2F
split-complementary
#2F97BC #BC2F50 #BC9A2F
monochromatic
#17485A #23708B #2F97BC #54B3D4 #85C8E0

Accessibility & contrast

On white

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

On black

6.27
#2F97BC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F97BC
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F97BC#FFFFFF#000000##000000
##2F97BC1.003.356.276.27
#FFFFFF3.351.0021.0021.00
#0000006.2721.001.001.00
##0000006.2721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2f97bc;
/* rgb */ color: rgb(47, 151, 188);
/* oklch */ color: oklch(63.4% 0.107 226.4);
Tailwind
colors: {
  custom: {
    50: '#7cb5d0',
    500: '#2f97bc',
    950: '#000000',
  },
}
SCSS
$custom: #2f97bc;
$custom-light: #7cb5d0;
$custom-dark: #000000;
JSON
{
  "hex": "#2f97bc",
  "rgb": {
    "r": 47,
    "g": 151,
    "b": 188
  },
  "hsl": {
    "h": 195.745,
    "s": 60,
    "l": 46.078
  },
  "oklch": {
    "l": 0.63416,
    "c": 0.10687,
    "h": 226.4
  },
  "luminance": 0.26368
}

Semantic roles & 50–950 ramp

primary
#2F97BC
secondary
#CA917D
accent
#6E45E3
background
#F8FBFC
surface
#EFF6F9
border
#CAD0D2
text
#0B1114
muted
#7C8082

Preview Lab

Preview with #2F97BC

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

Preview Lab → · Contrast checker → · Palette generator →

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