#2F7A8F#2F7A8F

#2F7A8F is a mid, moderate cyan. Relative luminance 0.165; OKLCH L 54.2% C 0.079 H 219.6°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#2F7A8F
RGBrgb(47, 122, 143)
HSLhsl(193, 51%, 37%)
HSVhsv(193, 67%, 56%)
CMYKcmyk(67.1%, 14.7%, 0%, 43.9%)
CIE-LABlab(47.63, -16.08, -18.19)
CIE-LCHlch(47.63, 24.28, 228.54°)
OKLaboklab(54.21% -0.0612 -0.0507)
OKLCHoklch(54.21% 0.079 219.6)
XYZxyz(13.0877, 16.5052, 28.4773)
Luminance0.1651 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7A8F #8F442F
analogous
#2F8F74 #2F7A8F #2F4A8F
triadic
#2F7A8F #8F2F7A #7A8F2F
tetradic
#2F7A8F #742F8F #8F442F #4A8F2F
square
#2F7A8F #742F8F #8F442F #4A8F2F
split-complementary
#2F7A8F #8F2F4A #8F742F
monochromatic
#112B33 #205361 #2F7A8F #3EA1BD #6AB8CE

Accessibility & contrast

On white

4.88
#2F7A8F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.30
#2F7A8F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F7A8F
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F7A8F#FFFFFF#000000##FFFFFF
##2F7A8F1.004.884.304.88
#FFFFFF4.881.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6D7790
Deuteranopia (green-blind)
#5F6D8F
Tritanopia (blue-blind)
#008181
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #2f7a8f;
/* rgb */ color: rgb(47, 122, 143);
/* oklch */ color: oklch(54.2% 0.079 219.6);
Tailwind
colors: {
  custom: {
    50: '#73a0af',
    500: '#2f7a8f',
    950: '#000000',
  },
}
SCSS
$custom: #2f7a8f;
$custom-light: #73a0af;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7a8f",
  "rgb": {
    "r": 47,
    "g": 122,
    "b": 143
  },
  "hsl": {
    "h": 193.125,
    "s": 50.526,
    "l": 37.255
  },
  "oklch": {
    "l": 0.54208,
    "c": 0.07949,
    "h": 219.6
  },
  "luminance": 0.16507
}

Semantic roles & 50–950 ramp

primary
#2F7A8F
secondary
#B57665
accent
#6C4EDA
background
#F7F9FA
surface
#EDF2F4
border
#C8CCCE
text
#090E10
muted
#7B7E7F

Preview Lab

Preview with #2F7A8F

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

Preview Lab → · Contrast checker → · Palette generator →

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