#2F7D9E#2F7D9E

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

Color values

HEX#2F7D9E
RGBrgb(47, 125, 158)
HSLhsl(198, 54%, 40%)
HSVhsv(198, 70%, 62%)
CMYKcmyk(70.3%, 20.9%, 0%, 38%)
CIE-LABlab(49.18, -12.70, -24.62)
CIE-LCHlch(49.18, 27.70, 242.71°)
OKLaboklab(55.65% -0.0585 -0.069)
OKLCHoklch(55.65% 0.09 229.7)
XYZxyz(14.6750, 17.7386, 34.9916)
Luminance0.1774 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7D9E #9E502F
analogous
#2F9E87 #2F7D9E #2F459E
triadic
#2F7D9E #9E2F7D #7D9E2F
tetradic
#2F7D9E #872F9E #9E502F #459E2F
square
#2F7D9E #872F9E #9E502F #459E2F
split-complementary
#2F7D9E #9E2F45 #9E872F
monochromatic
#133240 #21586F #2F7D9E #43A0C7 #72B8D5

Accessibility & contrast

On white

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

On black

4.55
#2F7D9E on #000000
AA ✓AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2F7D9E#FFFFFF#000000##FFFFFF
##2F7D9E1.004.624.554.62
#FFFFFF4.621.0021.001.00
#0000004.5521.001.0021.00
##FFFFFF4.621.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2f7d9e;
/* rgb */ color: rgb(47, 125, 158);
/* oklch */ color: oklch(55.6% 0.090 229.7);
Tailwind
colors: {
  custom: {
    50: '#76a2ba',
    500: '#2f7d9e',
    950: '#000000',
  },
}
SCSS
$custom: #2f7d9e;
$custom-light: #76a2ba;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7d9e",
  "rgb": {
    "r": 47,
    "g": 125,
    "b": 158
  },
  "hsl": {
    "h": 197.838,
    "s": 54.146,
    "l": 40.196
  },
  "oklch": {
    "l": 0.55647,
    "c": 0.09049,
    "h": 229.7
  },
  "luminance": 0.1774
}

Semantic roles & 50–950 ramp

primary
#2F7D9E
secondary
#BD846C
accent
#764ADE
background
#F7FAFB
surface
#EEF3F6
border
#C9CDD0
text
#090F11
muted
#7B7F80

Preview Lab

Preview with #2F7D9E

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

Preview Lab → · Contrast checker → · Palette generator →

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