#2F86B3#2F86B3

#2F86B3 is a mid, moderate cyan. Relative luminance 0.209; OKLCH L 58.9% C 0.106 H 235.5°. Best body text is #000000 at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#2F86B3
RGBrgb(47, 134, 179)
HSLhsl(200, 58%, 44%)
HSVhsv(200, 74%, 70%)
CMYKcmyk(73.7%, 25.1%, 0%, 29.8%)
CIE-LABlab(52.85, -10.53, -31.08)
CIE-LCHlch(52.85, 32.81, 251.29°)
OKLaboklab(58.87% -0.0601 -0.0875)
OKLCHoklch(58.87% 0.106 235.5)
XYZxyz(17.8308, 20.9071, 45.7348)
Luminance0.2091 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F86B3 #B35C2F
analogous
#2FB39E #2F86B3 #2F44B3
triadic
#2F86B3 #B32F86 #86B32F
tetradic
#2F86B3 #9E2FB3 #B35C2F #44B32F
square
#2F86B3 #9E2FB3 #B35C2F #44B32F
split-complementary
#2F86B3 #B32F44 #B39E2F
monochromatic
#163D52 #226283 #2F86B3 #4FA4D1 #7FBDDD

Accessibility & contrast

On white

4.05
#2F86B3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.18
#2F86B3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F86B3
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F86B3#FFFFFF#000000##000000
##2F86B31.004.055.185.18
#FFFFFF4.051.0021.0021.00
#0000005.1821.001.001.00
##0000005.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7085B5
Deuteranopia (green-blind)
#5E79B2
Tritanopia (blue-blind)
#009295
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #2f86b3;
/* rgb */ color: rgb(47, 134, 179);
/* oklch */ color: oklch(58.9% 0.106 235.5);
Tailwind
colors: {
  custom: {
    50: '#79a9ca',
    500: '#2f86b3',
    950: '#000000',
  },
}
SCSS
$custom: #2f86b3;
$custom-light: #79a9ca;
$custom-dark: #000000;
JSON
{
  "hex": "#2f86b3",
  "rgb": {
    "r": 47,
    "g": 134,
    "b": 179
  },
  "hsl": {
    "h": 200.455,
    "s": 58.407,
    "l": 44.314
  },
  "oklch": {
    "l": 0.58872,
    "c": 0.10621,
    "h": 235.5
  },
  "luminance": 0.20909
}

Semantic roles & 50–950 ramp

primary
#2F86B3
secondary
#C69278
accent
#7B46E2
background
#F8FAFC
surface
#EFF4F8
border
#CACED1
text
#0A0F13
muted
#7C7F82

Preview Lab

Preview with #2F86B3

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

Preview Lab → · Contrast checker → · Palette generator →

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