#2F86A6#2F86A6

#2F86A6 is a mid, moderate cyan. Relative luminance 0.204; OKLCH L 58.2% C 0.094 H 226.5°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#2F86A6
RGBrgb(47, 134, 166)
HSLhsl(196, 56%, 42%)
HSVhsv(196, 72%, 65%)
CMYKcmyk(71.7%, 19.3%, 0%, 34.9%)
CIE-LABlab(52.29, -15.01, -24.45)
CIE-LCHlch(52.29, 28.69, 238.46°)
OKLaboklab(58.25% -0.0649 -0.0685)
OKLCHoklch(58.25% 0.094 226.5)
XYZxyz(16.5775, 20.4058, 39.1340)
Luminance0.2041 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F86A6 #A64F2F
analogous
#2FA68B #2F86A6 #2F4BA6
triadic
#2F86A6 #A62F86 #86A62F
tetradic
#2F86A6 #8B2FA6 #A64F2F #4BA62F
square
#2F86A6 #8B2FA6 #A64F2F #4BA62F
split-complementary
#2F86A6 #A62F4B #A68B2F
monochromatic
#143947 #216076 #2F86A6 #47A8CB #77BED8

Accessibility & contrast

On white

4.13
#2F86A6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.08
#2F86A6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F86A6
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F86A6#FFFFFF#000000##000000
##2F86A61.004.135.085.08
#FFFFFF4.131.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7583A8
Deuteranopia (green-blind)
#6478A6
Tritanopia (blue-blind)
#008F90
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #2f86a6;
/* rgb */ color: rgb(47, 134, 166);
/* oklch */ color: oklch(58.2% 0.094 226.5);
Tailwind
colors: {
  custom: {
    50: '#77a9c0',
    500: '#2f86a6',
    950: '#000000',
  },
}
SCSS
$custom: #2f86a6;
$custom-light: #77a9c0;
$custom-dark: #000000;
JSON
{
  "hex": "#2f86a6",
  "rgb": {
    "r": 47,
    "g": 134,
    "b": 166
  },
  "hsl": {
    "h": 196.134,
    "s": 55.869,
    "l": 41.765
  },
  "oklch": {
    "l": 0.58247,
    "c": 0.09433,
    "h": 226.5
  },
  "luminance": 0.20408
}

Semantic roles & 50–950 ramp

primary
#2F86A6
secondary
#C18670
accent
#7149DF
background
#F7FAFB
surface
#EEF4F7
border
#C9CED0
text
#0A0F12
muted
#7C7F81

Preview Lab

Preview with #2F86A6

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

Preview Lab → · Contrast checker → · Palette generator →

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