#2F97B4#2F97B4

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

Color values

HEX#2F97B4
RGBrgb(47, 151, 180)
HSLhsl(193, 59%, 45%)
HSVhsv(193, 74%, 71%)
CMYKcmyk(73.9%, 16.1%, 0%, 29.4%)
CIE-LABlab(58.07, -19.52, -23.58)
CIE-LCHlch(58.07, 30.61, 230.37°)
OKLaboklab(63.06% -0.0767 -0.0659)
OKLCHoklch(63.06% 0.101 220.7)
XYZxyz(20.4737, 26.0304, 47.1165)
Luminance0.2603 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F97B4 #B44C2F
analogous
#2FB48F #2F97B4 #2F54B4
triadic
#2F97B4 #B42F97 #97B42F
tetradic
#2F97B4 #8F2FB4 #B44C2F #54B42F
square
#2F97B4 #8F2FB4 #B44C2F #54B42F
split-complementary
#2F97B4 #B42F54 #B48F2F
monochromatic
#164653 #226E83 #2F97B4 #4FB5D1 #80C9DE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2F97B4#FFFFFF#000000##000000
##2F97B41.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)
#8693B6
Deuteranopia (green-blind)
#7386B4
Tritanopia (blue-blind)
#00A0A0
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #2f97b4;
/* rgb */ color: rgb(47, 151, 180);
/* oklch */ color: oklch(63.1% 0.101 220.7);
Tailwind
colors: {
  custom: {
    50: '#7bb5ca',
    500: '#2f97b4',
    950: '#000000',
  },
}
SCSS
$custom: #2f97b4;
$custom-light: #7bb5ca;
$custom-dark: #000000;
JSON
{
  "hex": "#2f97b4",
  "rgb": {
    "r": 47,
    "g": 151,
    "b": 180
  },
  "hsl": {
    "h": 193.083,
    "s": 58.59,
    "l": 44.51
  },
  "oklch": {
    "l": 0.63057,
    "c": 0.10113,
    "h": 220.7
  },
  "luminance": 0.26033
}

Semantic roles & 50–950 ramp

primary
#2F97B4
secondary
#C78978
accent
#6846E2
background
#F8FBFC
surface
#EFF6F8
border
#CAD0D1
text
#0B1113
muted
#7C8082

Preview Lab

Preview with #2F97B4

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

Preview Lab → · Contrast checker → · Palette generator →

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