#2F7FA6#2F7FA6

#2F7FA6 is a mid, moderate cyan. Relative luminance 0.185; OKLCH L 56.5% C 0.097 H 233.6°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#2F7FA6
RGBrgb(47, 127, 166)
HSLhsl(200, 56%, 42%)
HSVhsv(200, 72%, 65%)
CMYKcmyk(71.7%, 23.5%, 0%, 34.9%)
CIE-LABlab(50.14, -11.08, -27.79)
CIE-LCHlch(50.14, 29.91, 248.27°)
OKLaboklab(56.53% -0.0577 -0.0781)
OKLCHoklch(56.53% 0.097 233.6)
XYZxyz(15.6419, 18.5345, 38.8221)
Luminance0.1854 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7FA6 #A6562F
analogous
#2FA692 #2F7FA6 #2F43A6
triadic
#2F7FA6 #A62F7F #7FA62F
tetradic
#2F7FA6 #922FA6 #A6562F #43A62F
square
#2F7FA6 #922FA6 #A6562F #43A62F
split-complementary
#2F7FA6 #A62F43 #A6922F
monochromatic
#143647 #215B76 #2F7FA6 #47A0CB #77B9D8

Accessibility & contrast

On white

4.46
#2F7FA6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.71
#2F7FA6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F7FA6
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F7FA6#FFFFFF#000000##000000
##2F7FA61.004.464.714.71
#FFFFFF4.461.0021.0021.00
#0000004.7121.001.001.00
##0000004.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C7EA8
Deuteranopia (green-blind)
#5C72A5
Tritanopia (blue-blind)
#00898C
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #2f7fa6;
/* rgb */ color: rgb(47, 127, 166);
/* oklch */ color: oklch(56.5% 0.097 233.6);
Tailwind
colors: {
  custom: {
    50: '#77a4c0',
    500: '#2f7fa6',
    950: '#000000',
  },
}
SCSS
$custom: #2f7fa6;
$custom-light: #77a4c0;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7fa6",
  "rgb": {
    "r": 47,
    "g": 127,
    "b": 166
  },
  "hsl": {
    "h": 199.664,
    "s": 55.869,
    "l": 41.765
  },
  "oklch": {
    "l": 0.56527,
    "c": 0.09709,
    "h": 233.6
  },
  "luminance": 0.18536
}

Semantic roles & 50–950 ramp

primary
#2F7FA6
secondary
#C18B70
accent
#7A49DF
background
#F7FAFB
surface
#EEF4F7
border
#C9CED0
text
#0A0F12
muted
#7C7F81

Preview Lab

Preview with #2F7FA6

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

Preview Lab → · Contrast checker → · Palette generator →

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