#2F7A9F#2F7A9F

#2F7A9F is a mid, moderate cyan. Relative luminance 0.170; OKLCH L 55.0% C 0.093 H 233.6°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#2F7A9F
RGBrgb(47, 122, 159)
HSLhsl(200, 54%, 40%)
HSVhsv(200, 70%, 62%)
CMYKcmyk(70.4%, 23.3%, 0%, 37.6%)
CIE-LABlab(48.29, -10.65, -26.58)
CIE-LCHlch(48.29, 28.63, 248.17°)
OKLaboklab(54.96% -0.055 -0.0746)
OKLCHoklch(54.96% 0.093 233.6)
XYZxyz(14.3874, 17.0250, 35.3221)
Luminance0.1703 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7A9F #9F542F
analogous
#2F9F8C #2F7A9F #2F429F
triadic
#2F7A9F #9F2F7A #7A9F2F
tetradic
#2F7A9F #8C2F9F #9F542F #429F2F
square
#2F7A9F #8C2F9F #9F542F #429F2F
split-complementary
#2F7A9F #9F2F42 #9F8C2F
monochromatic
#133241 #215670 #2F7A9F #449CC8 #73B5D6

Accessibility & contrast

On white

4.77
#2F7A9F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#2F7A9F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F7A9F
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F7A9F#FFFFFF#000000##FFFFFF
##2F7A9F1.004.774.414.77
#FFFFFF4.771.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6879A1
Deuteranopia (green-blind)
#596E9E
Tritanopia (blue-blind)
#008486
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #2f7a9f;
/* rgb */ color: rgb(47, 122, 159);
/* oklch */ color: oklch(55.0% 0.093 233.6);
Tailwind
colors: {
  custom: {
    50: '#76a0bb',
    500: '#2f7a9f',
    950: '#000000',
  },
}
SCSS
$custom: #2f7a9f;
$custom-light: #76a0bb;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7a9f",
  "rgb": {
    "r": 47,
    "g": 122,
    "b": 159
  },
  "hsl": {
    "h": 199.821,
    "s": 54.369,
    "l": 40.392
  },
  "oklch": {
    "l": 0.54955,
    "c": 0.09273,
    "h": 233.6
  },
  "luminance": 0.17027
}

Semantic roles & 50–950 ramp

primary
#2F7A9F
secondary
#BD876D
accent
#7B4ADE
background
#F7F9FB
surface
#EEF2F6
border
#C9CCD0
text
#090E12
muted
#7B7E81

Preview Lab

Preview with #2F7A9F

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

Preview Lab → · Contrast checker → · Palette generator →

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