#2F86BC#2F86BC

#2F86BC is a mid, moderate cyan. Relative luminance 0.213; OKLCH L 59.3% C 0.116 H 240.4°. Best body text is #000000 at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#2F86BC
RGBrgb(47, 134, 188)
HSLhsl(203, 60%, 46%)
HSVhsv(203, 75%, 74%)
CMYKcmyk(75%, 28.7%, 0%, 26.3%)
CIE-LABlab(53.26, -7.35, -35.59)
CIE-LCHlch(53.26, 36.34, 258.33°)
OKLaboklab(59.33% -0.0571 -0.1006)
OKLCHoklch(59.33% 0.116 240.4)
XYZxyz(18.7709, 21.2832, 50.6860)
Luminance0.2129 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F86BC #BC652F
analogous
#2FBCAB #2F86BC #2F3FBC
triadic
#2F86BC #BC2F86 #86BC2F
tetradic
#2F86BC #AB2FBC #BC652F #3FBC2F
square
#2F86BC #AB2FBC #BC652F #3FBC2F
split-complementary
#2F86BC #BC2F3F #BCAB2F
monochromatic
#17405A #23638B #2F86BC #54A3D4 #85BDE0

Accessibility & contrast

On white

3.99
#2F86BC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.26
#2F86BC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F86BC
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F86BC#FFFFFF#000000##000000
##2F86BC1.003.995.265.26
#FFFFFF3.991.0021.0021.00
#0000005.2621.001.001.00
##0000005.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D87BE
Deuteranopia (green-blind)
#5979BB
Tritanopia (blue-blind)
#009399
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #2f86bc;
/* rgb */ color: rgb(47, 134, 188);
/* oklch */ color: oklch(59.3% 0.116 240.4);
Tailwind
colors: {
  custom: {
    50: '#7ba9d0',
    500: '#2f86bc',
    950: '#000000',
  },
}
SCSS
$custom: #2f86bc;
$custom-light: #7ba9d0;
$custom-dark: #000000;
JSON
{
  "hex": "#2f86bc",
  "rgb": {
    "r": 47,
    "g": 134,
    "b": 188
  },
  "hsl": {
    "h": 202.979,
    "s": 60,
    "l": 46.078
  },
  "oklch": {
    "l": 0.59333,
    "c": 0.11571,
    "h": 240.4
  },
  "luminance": 0.21285
}

Semantic roles & 50–950 ramp

primary
#2F86BC
secondary
#CA9A7D
accent
#8145E3
background
#F8FAFC
surface
#EFF4F9
border
#CACED2
text
#0B0F14
muted
#7C7F82

Preview Lab

Preview with #2F86BC

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

Preview Lab → · Contrast checker → · Palette generator →

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