#2F7B9F#2F7B9F

#2F7B9F is a mid, moderate cyan. Relative luminance 0.173; OKLCH L 55.2% C 0.092 H 232.6°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#2F7B9F
RGBrgb(47, 123, 159)
HSLhsl(199, 54%, 40%)
HSVhsv(199, 70%, 62%)
CMYKcmyk(70.4%, 22.6%, 0%, 37.6%)
CIE-LABlab(48.60, -11.22, -26.10)
CIE-LCHlch(48.60, 28.41, 246.73°)
OKLaboklab(55.2% -0.0561 -0.0733)
OKLCHoklch(55.2% 0.092 232.6)
XYZxyz(14.5108, 17.2719, 35.3632)
Luminance0.1727 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7B9F #9F532F
analogous
#2F9F8B #2F7B9F #2F439F
triadic
#2F7B9F #9F2F7B #7B9F2F
tetradic
#2F7B9F #8B2F9F #9F532F #439F2F
square
#2F7B9F #8B2F9F #9F532F #439F2F
split-complementary
#2F7B9F #9F2F43 #9F8B2F
monochromatic
#133241 #215670 #2F7B9F #449DC8 #73B6D6

Accessibility & contrast

On white

4.71
#2F7B9F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #2F7B9F
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F7B9F#FFFFFF#000000##FFFFFF
##2F7B9F1.004.714.454.71
#FFFFFF4.711.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#697AA1
Deuteranopia (green-blind)
#5A6F9E
Tritanopia (blue-blind)
#008587
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #2f7b9f;
/* rgb */ color: rgb(47, 123, 159);
/* oklch */ color: oklch(55.2% 0.092 232.6);
Tailwind
colors: {
  custom: {
    50: '#76a1bb',
    500: '#2f7b9f',
    950: '#000000',
  },
}
SCSS
$custom: #2f7b9f;
$custom-light: #76a1bb;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7b9f",
  "rgb": {
    "r": 47,
    "g": 123,
    "b": 159
  },
  "hsl": {
    "h": 199.286,
    "s": 54.369,
    "l": 40.392
  },
  "oklch": {
    "l": 0.55202,
    "c": 0.09226,
    "h": 232.6
  },
  "luminance": 0.17273
}

Semantic roles & 50–950 ramp

primary
#2F7B9F
secondary
#BD866D
accent
#7A4ADE
background
#F7F9FB
surface
#EEF2F6
border
#C9CCD0
text
#090E12
muted
#7B7E81

Preview Lab

Preview with #2F7B9F

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

Preview Lab → · Contrast checker → · Palette generator →

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