#2F97C4#2F97C4

#2F97C4 is a light, moderate cyan. Relative luminance 0.267; OKLCH L 63.8% C 0.114 H 231.5°. Best body text is #000000 at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#2F97C4
RGBrgb(47, 151, 196)
HSLhsl(198, 61%, 48%)
HSVhsv(198, 76%, 77%)
CMYKcmyk(76%, 23%, 0%, 23.1%)
CIE-LABlab(58.71, -14.13, -31.61)
CIE-LCHlch(58.71, 34.63, 245.92°)
OKLaboklab(63.79% -0.0707 -0.0889)
OKLCHoklch(63.79% 0.114 231.5)
XYZxyz(22.1987, 26.7204, 56.2015)
Luminance0.2672 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F97C4 #C45C2F
analogous
#2FC4A7 #2F97C4 #2F4CC4
triadic
#2F97C4 #C42F97 #97C42F
tetradic
#2F97C4 #A72FC4 #C45C2F #4CC42F
square
#2F97C4 #A72FC4 #C45C2F #4CC42F
split-complementary
#2F97C4 #C42F4C #C4A72F
monochromatic
#174B61 #237193 #2F97C4 #59B1D7 #8AC8E3

Accessibility & contrast

On white

3.31
#2F97C4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.34
#2F97C4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F97C4
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F97C4#FFFFFF#000000##000000
##2F97C41.003.316.346.34
#FFFFFF3.311.0021.0021.00
#0000006.3421.001.001.00
##0000006.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8095C6
Deuteranopia (green-blind)
#6C87C3
Tritanopia (blue-blind)
#00A3A6
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #2f97c4;
/* rgb */ color: rgb(47, 151, 196);
/* oklch */ color: oklch(63.8% 0.114 231.5);
Tailwind
colors: {
  custom: {
    50: '#7db5d6',
    500: '#2f97c4',
    950: '#000000',
  },
}
SCSS
$custom: #2f97c4;
$custom-light: #7db5d6;
$custom-dark: #000000;
JSON
{
  "hex": "#2f97c4",
  "rgb": {
    "r": 47,
    "g": 151,
    "b": 196
  },
  "hsl": {
    "h": 198.121,
    "s": 61.317,
    "l": 47.647
  },
  "oklch": {
    "l": 0.63791,
    "c": 0.11364,
    "h": 231.5
  },
  "luminance": 0.26723
}

Semantic roles & 50–950 ramp

primary
#2F97C4
secondary
#CD9982
accent
#7443E4
background
#F8FBFD
surface
#EFF6FA
border
#CAD0D3
text
#0B1114
muted
#7C8083

Preview Lab

Preview with #2F97C4

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

Preview Lab → · Contrast checker → · Palette generator →

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