#2F7E9E#2F7E9E

#2F7E9E is a mid, moderate cyan. Relative luminance 0.180; OKLCH L 55.9% C 0.090 H 228.6°. Best body text is #000000 at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#2F7E9E
RGBrgb(47, 126, 158)
HSLhsl(197, 54%, 40%)
HSVhsv(197, 70%, 62%)
CMYKcmyk(70.3%, 20.3%, 0%, 38%)
CIE-LABlab(49.49, -13.27, -24.14)
CIE-LCHlch(49.49, 27.54, 241.21°)
OKLaboklab(55.9% -0.0596 -0.0676)
OKLCHoklch(55.9% 0.09 228.6)
XYZxyz(14.8022, 17.9930, 35.0340)
Luminance0.1799 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7E9E #9E4F2F
analogous
#2F9E86 #2F7E9E #2F479E
triadic
#2F7E9E #9E2F7E #7E9E2F
tetradic
#2F7E9E #862F9E #9E4F2F #479E2F
square
#2F7E9E #862F9E #9E4F2F #479E2F
split-complementary
#2F7E9E #9E2F47 #9E862F
monochromatic
#133340 #21586F #2F7E9E #43A1C7 #72B9D5

Accessibility & contrast

On white

4.57
#2F7E9E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.60
#2F7E9E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F7E9E
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F7E9E#FFFFFF#000000##000000
##2F7E9E1.004.574.604.60
#FFFFFF4.571.0021.0021.00
#0000004.6021.001.001.00
##0000004.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D7CA0
Deuteranopia (green-blind)
#5E719E
Tritanopia (blue-blind)
#008789
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #2f7e9e;
/* rgb */ color: rgb(47, 126, 158);
/* oklch */ color: oklch(55.9% 0.090 228.6);
Tailwind
colors: {
  custom: {
    50: '#76a3ba',
    500: '#2f7e9e',
    950: '#000000',
  },
}
SCSS
$custom: #2f7e9e;
$custom-light: #76a3ba;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7e9e",
  "rgb": {
    "r": 47,
    "g": 126,
    "b": 158
  },
  "hsl": {
    "h": 197.297,
    "s": 54.146,
    "l": 40.196
  },
  "oklch": {
    "l": 0.55895,
    "c": 0.09014,
    "h": 228.6
  },
  "luminance": 0.17995
}

Semantic roles & 50–950 ramp

primary
#2F7E9E
secondary
#BD836C
accent
#754ADE
background
#F7FAFB
surface
#EEF3F6
border
#C9CDD0
text
#090F11
muted
#7B7F80

Preview Lab

Preview with #2F7E9E

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

Preview Lab → · Contrast checker → · Palette generator →

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