#2F7797#2F7797

#2F7797 is a mid, moderate cyan. Relative luminance 0.160; OKLCH L 53.8% C 0.086 H 230.7°. Best body text is #FFFFFF at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#2F7797
RGBrgb(47, 119, 151)
HSLhsl(198, 53%, 39%)
HSVhsv(198, 69%, 59%)
CMYKcmyk(68.9%, 21.2%, 0%, 40.8%)
CIE-LABlab(47.02, -11.69, -23.86)
CIE-LCHlch(47.02, 26.57, 243.89°)
OKLaboklab(53.82% -0.0548 -0.0669)
OKLCHoklch(53.82% 0.086 230.7)
XYZxyz(13.3528, 16.0309, 31.6627)
Luminance0.1603 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7797 #974F2F
analogous
#2F9783 #2F7797 #2F4397
triadic
#2F7797 #972F77 #77972F
tetradic
#2F7797 #832F97 #974F2F #43972F
square
#2F7797 #832F97 #974F2F #43972F
split-complementary
#2F7797 #972F43 #97832F
monochromatic
#122D3A #205268 #2F7797 #409BC3 #6EB3D2

Accessibility & contrast

On white

4.99
#2F7797 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.21
#2F7797 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F7797
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F7797#FFFFFF#000000##FFFFFF
##2F77971.004.994.214.99
#FFFFFF4.991.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#677599
Deuteranopia (green-blind)
#586B97
Tritanopia (blue-blind)
#008082
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #2f7797;
/* rgb */ color: rgb(47, 119, 151);
/* oklch */ color: oklch(53.8% 0.086 230.7);
Tailwind
colors: {
  custom: {
    50: '#749eb5',
    500: '#2f7797',
    950: '#000000',
  },
}
SCSS
$custom: #2f7797;
$custom-light: #749eb5;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7797",
  "rgb": {
    "r": 47,
    "g": 119,
    "b": 151
  },
  "hsl": {
    "h": 198.462,
    "s": 52.525,
    "l": 38.824
  },
  "oklch": {
    "l": 0.53824,
    "c": 0.08644,
    "h": 230.7
  },
  "luminance": 0.16032
}

Semantic roles & 50–950 ramp

primary
#2F7797
secondary
#B98168
accent
#784CDC
background
#F7F9FB
surface
#EDF2F6
border
#C8CCD0
text
#090E11
muted
#7B7E80

Preview Lab

Preview with #2F7797

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

Preview Lab → · Contrast checker → · Palette generator →

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