#2F97B8#2F97B8

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

Color values

HEX#2F97B8
RGBrgb(47, 151, 184)
HSLhsl(194, 59%, 45%)
HSVhsv(194, 74%, 72%)
CMYKcmyk(74.5%, 17.9%, 0%, 27.8%)
CIE-LABlab(58.22, -18.20, -25.60)
CIE-LCHlch(58.22, 31.41, 234.60°)
OKLaboklab(63.24% -0.0751 -0.0717)
OKLCHoklch(63.24% 0.104 223.6)
XYZxyz(20.8871, 26.1958, 49.2936)
Luminance0.2620 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F97B8 #B8502F
analogous
#2FB895 #2F97B8 #2F52B8
triadic
#2F97B8 #B82F97 #97B82F
tetradic
#2F97B8 #952FB8 #B8502F #52B82F
square
#2F97B8 #952FB8 #B8502F #52B82F
split-complementary
#2F97B8 #B82F52 #B8952F
monochromatic
#164757 #236F87 #2F97B8 #52B4D3 #82C9DF

Accessibility & contrast

On white

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

On black

6.24
#2F97B8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F97B8
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F97B8#FFFFFF#000000##000000
##2F97B81.003.376.246.24
#FFFFFF3.371.0021.0021.00
#0000006.2421.001.001.00
##0000006.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8494BA
Deuteranopia (green-blind)
#7286B8
Tritanopia (blue-blind)
#00A1A2
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #2f97b8;
/* rgb */ color: rgb(47, 151, 184);
/* oklch */ color: oklch(63.2% 0.104 223.6);
Tailwind
colors: {
  custom: {
    50: '#7bb5cd',
    500: '#2f97b8',
    950: '#000000',
  },
}
SCSS
$custom: #2f97b8;
$custom-light: #7bb5cd;
$custom-dark: #000000;
JSON
{
  "hex": "#2f97b8",
  "rgb": {
    "r": 47,
    "g": 151,
    "b": 184
  },
  "hsl": {
    "h": 194.453,
    "s": 59.307,
    "l": 45.294
  },
  "oklch": {
    "l": 0.63235,
    "c": 0.10385,
    "h": 223.6
  },
  "luminance": 0.26198
}

Semantic roles & 50–950 ramp

primary
#2F97B8
secondary
#C88D7B
accent
#6B45E2
background
#F8FBFC
surface
#EFF6F9
border
#CAD0D2
text
#0B1113
muted
#7C8082

Preview Lab

Preview with #2F97B8

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

Preview Lab → · Contrast checker → · Palette generator →

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