#2F97BA#2F97BA

#2F97BA is a light, moderate cyan. Relative luminance 0.263; OKLCH L 63.3% C 0.105 H 225.1°. Best body text is #000000 at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#2F97BA
RGBrgb(47, 151, 186)
HSLhsl(195, 60%, 46%)
HSVhsv(195, 75%, 73%)
CMYKcmyk(74.7%, 18.8%, 0%, 27.1%)
CIE-LABlab(58.30, -17.53, -26.61)
CIE-LCHlch(58.30, 31.86, 236.63°)
OKLaboklab(63.33% -0.0744 -0.0746)
OKLCHoklch(63.33% 0.105 225.1)
XYZxyz(21.0982, 26.2802, 50.4055)
Luminance0.2628 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F97BA #BA522F
analogous
#2FBA97 #2F97BA #2F51BA
triadic
#2F97BA #BA2F97 #97BA2F
tetradic
#2F97BA #972FBA #BA522F #51BA2F
square
#2F97BA #972FBA #BA522F #51BA2F
split-complementary
#2F97BA #BA2F51 #BA972F
monochromatic
#164858 #236F89 #2F97BA #53B3D3 #84C9E0

Accessibility & contrast

On white

3.36
#2F97BA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.26
#2F97BA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F97BA
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F97BA#FFFFFF#000000##000000
##2F97BA1.003.366.266.26
#FFFFFF3.361.0021.0021.00
#0000006.2621.001.001.00
##0000006.2621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2f97ba;
/* rgb */ color: rgb(47, 151, 186);
/* oklch */ color: oklch(63.3% 0.105 225.1);
Tailwind
colors: {
  custom: {
    50: '#7cb5ce',
    500: '#2f97ba',
    950: '#000000',
  },
}
SCSS
$custom: #2f97ba;
$custom-light: #7cb5ce;
$custom-dark: #000000;
JSON
{
  "hex": "#2f97ba",
  "rgb": {
    "r": 47,
    "g": 151,
    "b": 186
  },
  "hsl": {
    "h": 195.108,
    "s": 59.657,
    "l": 45.686
  },
  "oklch": {
    "l": 0.63325,
    "c": 0.10533,
    "h": 225.1
  },
  "luminance": 0.26283
}

Semantic roles & 50–950 ramp

primary
#2F97BA
secondary
#C98F7C
accent
#6D45E3
background
#F8FBFC
surface
#EFF6F9
border
#CAD0D2
text
#0B1113
muted
#7C8082

Preview Lab

Preview with #2F97BA

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

Preview Lab → · Contrast checker → · Palette generator →

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