#2F86B2#2F86B2

#2F86B2 is a mid, moderate cyan. Relative luminance 0.209; OKLCH L 58.8% C 0.105 H 234.9°. Best body text is #000000 at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#2F86B2
RGBrgb(47, 134, 178)
HSLhsl(200, 58%, 44%)
HSVhsv(200, 74%, 70%)
CMYKcmyk(73.6%, 24.7%, 0%, 30.2%)
CIE-LABlab(52.80, -10.88, -30.57)
CIE-LCHlch(52.80, 32.45, 250.42°)
OKLaboklab(58.82% -0.0605 -0.0861)
OKLCHoklch(58.82% 0.105 234.9)
XYZxyz(17.7301, 20.8668, 45.2041)
Luminance0.2087 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F86B2 #B25B2F
analogous
#2FB29D #2F86B2 #2F44B2
triadic
#2F86B2 #B22F86 #86B22F
tetradic
#2F86B2 #9D2FB2 #B25B2F #44B22F
square
#2F86B2 #9D2FB2 #B25B2F #44B22F
split-complementary
#2F86B2 #B22F44 #B29D2F
monochromatic
#153D51 #226282 #2F86B2 #4EA4D0 #7EBDDD

Accessibility & contrast

On white

4.06
#2F86B2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.17
#2F86B2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F86B2
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F86B2#FFFFFF#000000##000000
##2F86B21.004.065.175.17
#FFFFFF4.061.0021.0021.00
#0000005.1721.001.001.00
##0000005.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7185B4
Deuteranopia (green-blind)
#5F78B1
Tritanopia (blue-blind)
#009295
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #2f86b2;
/* rgb */ color: rgb(47, 134, 178);
/* oklch */ color: oklch(58.8% 0.105 234.9);
Tailwind
colors: {
  custom: {
    50: '#79a9c9',
    500: '#2f86b2',
    950: '#000000',
  },
}
SCSS
$custom: #2f86b2;
$custom-light: #79a9c9;
$custom-dark: #000000;
JSON
{
  "hex": "#2f86b2",
  "rgb": {
    "r": 47,
    "g": 134,
    "b": 178
  },
  "hsl": {
    "h": 200.153,
    "s": 58.222,
    "l": 44.118
  },
  "oklch": {
    "l": 0.58822,
    "c": 0.10521,
    "h": 234.9
  },
  "luminance": 0.20869
}

Semantic roles & 50–950 ramp

primary
#2F86B2
secondary
#C69177
accent
#7A46E1
background
#F8FAFC
surface
#EFF4F8
border
#CACED1
text
#0A0F13
muted
#7C7F82

Preview Lab

Preview with #2F86B2

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

Preview Lab → · Contrast checker → · Palette generator →

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