#2F7D9D#2F7D9D

#2F7D9D is a mid, moderate cyan. Relative luminance 0.177; OKLCH L 55.6% C 0.090 H 228.9°. Best body text is #FFFFFF at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#2F7D9D
RGBrgb(47, 125, 157)
HSLhsl(197, 54%, 40%)
HSVhsv(197, 70%, 62%)
CMYKcmyk(70.1%, 20.4%, 0%, 38.4%)
CIE-LABlab(49.14, -13.04, -24.10)
CIE-LCHlch(49.14, 27.40, 241.57°)
OKLaboklab(55.6% -0.0589 -0.0675)
OKLCHoklch(55.6% 0.09 228.9)
XYZxyz(14.5893, 17.7043, 34.5401)
Luminance0.1771 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7D9D #9D4F2F
analogous
#2F9D86 #2F7D9D #2F469D
triadic
#2F7D9D #9D2F7D #7D9D2F
tetradic
#2F7D9D #862F9D #9D4F2F #469D2F
square
#2F7D9D #862F9D #9D4F2F #469D2F
split-complementary
#2F7D9D #9D2F46 #9D862F
monochromatic
#13323F #21576E #2F7D9D #43A0C7 #72B8D5

Accessibility & contrast

On white

4.62
#2F7D9D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.54
#2F7D9D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #2F7D9D
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F7D9D#FFFFFF#000000##FFFFFF
##2F7D9D1.004.624.544.62
#FFFFFF4.621.0021.001.00
#0000004.5421.001.0021.00
##FFFFFF4.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6C7B9F
Deuteranopia (green-blind)
#5D709D
Tritanopia (blue-blind)
#008688
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #2f7d9d;
/* rgb */ color: rgb(47, 125, 157);
/* oklch */ color: oklch(55.6% 0.090 228.9);
Tailwind
colors: {
  custom: {
    50: '#76a2ba',
    500: '#2f7d9d',
    950: '#000000',
  },
}
SCSS
$custom: #2f7d9d;
$custom-light: #76a2ba;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7d9d",
  "rgb": {
    "r": 47,
    "g": 125,
    "b": 157
  },
  "hsl": {
    "h": 197.455,
    "s": 53.922,
    "l": 40
  },
  "oklch": {
    "l": 0.556,
    "c": 0.08961,
    "h": 228.9
  },
  "luminance": 0.17706
}

Semantic roles & 50–950 ramp

primary
#2F7D9D
secondary
#BC836B
accent
#754BDD
background
#F7FAFB
surface
#EEF3F6
border
#C9CDD0
text
#090F11
muted
#7B7F80

Preview Lab

Preview with #2F7D9D

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

Preview Lab → · Contrast checker → · Palette generator →

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