#2F97B1#2F97B1

#2F97B1 is a light, moderate cyan. Relative luminance 0.259; OKLCH L 62.9% C 0.099 H 218.3°. Best body text is #000000 at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#2F97B1
RGBrgb(47, 151, 177)
HSLhsl(192, 58%, 44%)
HSVhsv(192, 73%, 69%)
CMYKcmyk(73.4%, 14.7%, 0%, 30.6%)
CIE-LABlab(57.95, -20.51, -22.05)
CIE-LCHlch(57.95, 30.12, 227.07°)
OKLaboklab(62.93% -0.0779 -0.0616)
OKLCHoklch(62.93% 0.099 218.3)
XYZxyz(20.1714, 25.9095, 45.5244)
Luminance0.2591 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F97B1 #B1492F
analogous
#2FB18A #2F97B1 #2F56B1
triadic
#2F97B1 #B12F97 #97B12F
tetradic
#2F97B1 #8A2FB1 #B1492F #56B12F
square
#2F97B1 #8A2FB1 #B1492F #56B12F
split-complementary
#2F97B1 #B12F56 #B18A2F
monochromatic
#154450 #226E81 #2F97B1 #4DB6D0 #7ECADD

Accessibility & contrast

On white

3.40
#2F97B1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.18
#2F97B1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F97B1
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F97B1#FFFFFF#000000##000000
##2F97B11.003.406.186.18
#FFFFFF3.401.0021.0021.00
#0000006.1821.001.001.00
##0000006.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8693B2
Deuteranopia (green-blind)
#7586B1
Tritanopia (blue-blind)
#00A09F
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #2f97b1;
/* rgb */ color: rgb(47, 151, 177);
/* oklch */ color: oklch(62.9% 0.099 218.3);
Tailwind
colors: {
  custom: {
    50: '#7ab5c8',
    500: '#2f97b1',
    950: '#000000',
  },
}
SCSS
$custom: #2f97b1;
$custom-light: #7ab5c8;
$custom-dark: #000000;
JSON
{
  "hex": "#2f97b1",
  "rgb": {
    "r": 47,
    "g": 151,
    "b": 177
  },
  "hsl": {
    "h": 192,
    "s": 58.036,
    "l": 43.922
  },
  "oklch": {
    "l": 0.62927,
    "c": 0.09929,
    "h": 218.3
  },
  "luminance": 0.25912
}

Semantic roles & 50–950 ramp

primary
#2F97B1
secondary
#C58676
accent
#6547E1
background
#F8FBFC
surface
#EFF6F8
border
#CAD0D1
text
#0B1113
muted
#7C8082

Preview Lab

Preview with #2F97B1

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

Preview Lab → · Contrast checker → · Palette generator →

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