#2F7B9E#2F7B9E

#2F7B9E is a mid, moderate cyan. Relative luminance 0.172; OKLCH L 55.2% C 0.091 H 231.8°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#2F7B9E
RGBrgb(47, 123, 158)
HSLhsl(199, 54%, 40%)
HSVhsv(199, 70%, 62%)
CMYKcmyk(70.3%, 22.2%, 0%, 38%)
CIE-LABlab(48.56, -11.57, -25.58)
CIE-LCHlch(48.56, 28.07, 245.67°)
OKLaboklab(55.15% -0.0564 -0.0718)
OKLCHoklch(55.15% 0.091 231.8)
XYZxyz(14.4244, 17.2373, 34.9081)
Luminance0.1724 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7B9E #9E522F
analogous
#2F9E89 #2F7B9E #2F439E
triadic
#2F7B9E #9E2F7B #7B9E2F
tetradic
#2F7B9E #892F9E #9E522F #439E2F
square
#2F7B9E #892F9E #9E522F #439E2F
split-complementary
#2F7B9E #9E2F43 #9E892F
monochromatic
#133240 #21566F #2F7B9E #439DC7 #72B6D5

Accessibility & contrast

On white

4.72
#2F7B9E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.45
#2F7B9E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F7B9E
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F7B9E#FFFFFF#000000##FFFFFF
##2F7B9E1.004.724.454.72
#FFFFFF4.721.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6A7AA0
Deuteranopia (green-blind)
#5A6E9D
Tritanopia (blue-blind)
#008487
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #2f7b9e;
/* rgb */ color: rgb(47, 123, 158);
/* oklch */ color: oklch(55.2% 0.091 231.8);
Tailwind
colors: {
  custom: {
    50: '#76a1ba',
    500: '#2f7b9e',
    950: '#000000',
  },
}
SCSS
$custom: #2f7b9e;
$custom-light: #76a1ba;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7b9e",
  "rgb": {
    "r": 47,
    "g": 123,
    "b": 158
  },
  "hsl": {
    "h": 198.919,
    "s": 54.146,
    "l": 40.196
  },
  "oklch": {
    "l": 0.55153,
    "c": 0.09131,
    "h": 231.8
  },
  "luminance": 0.17239
}

Semantic roles & 50–950 ramp

primary
#2F7B9E
secondary
#BD856C
accent
#794ADE
background
#F7F9FB
surface
#EEF2F6
border
#C9CCD0
text
#090E11
muted
#7B7E80

Preview Lab

Preview with #2F7B9E

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

Preview Lab → · Contrast checker → · Palette generator →

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