#2F86B5#2F86B5

#2F86B5 is a mid, moderate cyan. Relative luminance 0.210; OKLCH L 59.0% C 0.108 H 236.7°. Best body text is #000000 at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#2F86B5
RGBrgb(47, 134, 181)
HSLhsl(201, 59%, 45%)
HSVhsv(201, 74%, 71%)
CMYKcmyk(74%, 26%, 0%, 29%)
CIE-LABlab(52.94, -9.83, -32.09)
CIE-LCHlch(52.94, 33.56, 252.97°)
OKLaboklab(58.97% -0.0594 -0.0905)
OKLCHoklch(58.97% 0.108 236.7)
XYZxyz(18.0346, 20.9886, 46.8078)
Luminance0.2099 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F86B5 #B55E2F
analogous
#2FB5A1 #2F86B5 #2F43B5
triadic
#2F86B5 #B52F86 #86B52F
tetradic
#2F86B5 #A12FB5 #B55E2F #43B52F
square
#2F86B5 #A12FB5 #B55E2F #43B52F
split-complementary
#2F86B5 #B52F43 #B5A12F
monochromatic
#163E54 #226284 #2F86B5 #50A4D1 #80BDDE

Accessibility & contrast

On white

4.04
#2F86B5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.20
#2F86B5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F86B5
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F86B5#FFFFFF#000000##000000
##2F86B51.004.045.205.20
#FFFFFF4.041.0021.0021.00
#0000005.2021.001.001.00
##0000005.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7086B7
Deuteranopia (green-blind)
#5D79B4
Tritanopia (blue-blind)
#009296
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #2f86b5;
/* rgb */ color: rgb(47, 134, 181);
/* oklch */ color: oklch(59.0% 0.108 236.7);
Tailwind
colors: {
  custom: {
    50: '#7aa9cb',
    500: '#2f86b5',
    950: '#000000',
  },
}
SCSS
$custom: #2f86b5;
$custom-light: #7aa9cb;
$custom-dark: #000000;
JSON
{
  "hex": "#2f86b5",
  "rgb": {
    "r": 47,
    "g": 134,
    "b": 181
  },
  "hsl": {
    "h": 201.045,
    "s": 58.772,
    "l": 44.706
  },
  "oklch": {
    "l": 0.58973,
    "c": 0.10825,
    "h": 236.7
  },
  "luminance": 0.20991
}

Semantic roles & 50–950 ramp

primary
#2F86B5
secondary
#C79479
accent
#7D46E2
background
#F8FAFC
surface
#EFF4F8
border
#CACED1
text
#0A0F13
muted
#7C7F82

Preview Lab

Preview with #2F86B5

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

Preview Lab → · Contrast checker → · Palette generator →

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