#2F86A7#2F86A7

#2F86A7 is a mid, moderate cyan. Relative luminance 0.204; OKLCH L 58.3% C 0.095 H 227.3°. Best body text is #000000 at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#2F86A7
RGBrgb(47, 134, 167)
HSLhsl(197, 56%, 42%)
HSVhsv(197, 72%, 65%)
CMYKcmyk(71.9%, 19.8%, 0%, 34.5%)
CIE-LABlab(52.33, -14.67, -24.97)
CIE-LCHlch(52.33, 28.96, 239.57°)
OKLaboklab(58.29% -0.0645 -0.07)
OKLCHoklch(58.29% 0.095 227.3)
XYZxyz(16.6696, 20.4427, 39.6190)
Luminance0.2044 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F86A7 #A7502F
analogous
#2FA78C #2F86A7 #2F4AA7
triadic
#2F86A7 #A72F86 #86A72F
tetradic
#2F86A7 #8C2FA7 #A7502F #4AA72F
square
#2F86A7 #8C2FA7 #A7502F #4AA72F
split-complementary
#2F86A7 #A72F4A #A78C2F
monochromatic
#143947 #226077 #2F86A7 #48A7CB #78BED9

Accessibility & contrast

On white

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

On black

5.09
#2F86A7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F86A7
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F86A7#FFFFFF#000000##000000
##2F86A71.004.135.095.09
#FFFFFF4.131.0021.0021.00
#0000005.0921.001.001.00
##0000005.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7484A9
Deuteranopia (green-blind)
#6478A7
Tritanopia (blue-blind)
#008F91
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #2f86a7;
/* rgb */ color: rgb(47, 134, 167);
/* oklch */ color: oklch(58.3% 0.095 227.3);
Tailwind
colors: {
  custom: {
    50: '#78a9c1',
    500: '#2f86a7',
    950: '#000000',
  },
}
SCSS
$custom: #2f86a7;
$custom-light: #78a9c1;
$custom-dark: #000000;
JSON
{
  "hex": "#2f86a7",
  "rgb": {
    "r": 47,
    "g": 134,
    "b": 167
  },
  "hsl": {
    "h": 196.5,
    "s": 56.075,
    "l": 41.961
  },
  "oklch": {
    "l": 0.58293,
    "c": 0.09516,
    "h": 227.3
  },
  "luminance": 0.20445
}

Semantic roles & 50–950 ramp

primary
#2F86A7
secondary
#C18771
accent
#7248DF
background
#F7FAFB
surface
#EEF4F7
border
#C9CED0
text
#0A0F12
muted
#7C7F81

Preview Lab

Preview with #2F86A7

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

Preview Lab → · Contrast checker → · Palette generator →

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