#2F97B5#2F97B5

#2F97B5 is a light, moderate cyan. Relative luminance 0.261; OKLCH L 63.1% C 0.102 H 221.4°. Best body text is #000000 at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#2F97B5
RGBrgb(47, 151, 181)
HSLhsl(193, 59%, 45%)
HSVhsv(193, 74%, 71%)
CMYKcmyk(74%, 16.6%, 0%, 29%)
CIE-LABlab(58.10, -19.19, -24.08)
CIE-LCHlch(58.10, 30.80, 231.44°)
OKLaboklab(63.1% -0.0763 -0.0673)
OKLCHoklch(63.1% 0.102 221.4)
XYZxyz(20.5759, 26.0713, 47.6549)
Luminance0.2607 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F97B5 #B54D2F
analogous
#2FB590 #2F97B5 #2F54B5
triadic
#2F97B5 #B52F97 #97B52F
tetradic
#2F97B5 #902FB5 #B54D2F #54B52F
square
#2F97B5 #902FB5 #B54D2F #54B52F
split-complementary
#2F97B5 #B52F54 #B5902F
monochromatic
#164654 #226E84 #2F97B5 #50B4D1 #80C9DE

Accessibility & contrast

On white

3.38
#2F97B5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.21
#2F97B5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F97B5
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F97B5#FFFFFF#000000##000000
##2F97B51.003.386.216.21
#FFFFFF3.381.0021.0021.00
#0000006.2121.001.001.00
##0000006.2121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2f97b5;
/* rgb */ color: rgb(47, 151, 181);
/* oklch */ color: oklch(63.1% 0.102 221.4);
Tailwind
colors: {
  custom: {
    50: '#7bb5cb',
    500: '#2f97b5',
    950: '#000000',
  },
}
SCSS
$custom: #2f97b5;
$custom-light: #7bb5cb;
$custom-dark: #000000;
JSON
{
  "hex": "#2f97b5",
  "rgb": {
    "r": 47,
    "g": 151,
    "b": 181
  },
  "hsl": {
    "h": 193.433,
    "s": 58.772,
    "l": 44.706
  },
  "oklch": {
    "l": 0.63101,
    "c": 0.10179,
    "h": 221.4
  },
  "luminance": 0.26074
}

Semantic roles & 50–950 ramp

primary
#2F97B5
secondary
#C78A79
accent
#6946E2
background
#F8FBFC
surface
#EFF6F8
border
#CAD0D1
text
#0B1113
muted
#7C8082

Preview Lab

Preview with #2F97B5

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

Preview Lab → · Contrast checker → · Palette generator →

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