#2F86B8#2F86B8

#2F86B8 is a mid, moderate cyan. Relative luminance 0.211; OKLCH L 59.1% C 0.111 H 238.4°. Best body text is #000000 at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#2F86B8
RGBrgb(47, 134, 184)
HSLhsl(202, 59%, 45%)
HSVhsv(202, 74%, 72%)
CMYKcmyk(74.5%, 27.2%, 0%, 27.8%)
CIE-LABlab(53.07, -8.77, -33.59)
CIE-LCHlch(53.07, 34.72, 255.37°)
OKLaboklab(59.13% -0.0584 -0.0948)
OKLCHoklch(59.13% 0.111 238.4)
XYZxyz(18.3457, 21.1131, 48.4465)
Luminance0.2112 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F86B8 #B8612F
analogous
#2FB8A5 #2F86B8 #2F41B8
triadic
#2F86B8 #B82F86 #86B82F
tetradic
#2F86B8 #A52FB8 #B8612F #41B82F
square
#2F86B8 #A52FB8 #B8612F #41B82F
split-complementary
#2F86B8 #B82F41 #B8A52F
monochromatic
#163F57 #236287 #2F86B8 #52A4D3 #82BDDF

Accessibility & contrast

On white

4.02
#2F86B8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.22
#2F86B8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F86B8
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F86B8#FFFFFF#000000##000000
##2F86B81.004.025.225.22
#FFFFFF4.021.0021.0021.00
#0000005.2221.001.001.00
##0000005.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6E86BA
Deuteranopia (green-blind)
#5C79B7
Tritanopia (blue-blind)
#009397
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #2f86b8;
/* rgb */ color: rgb(47, 134, 184);
/* oklch */ color: oklch(59.1% 0.111 238.4);
Tailwind
colors: {
  custom: {
    50: '#7aa9cd',
    500: '#2f86b8',
    950: '#000000',
  },
}
SCSS
$custom: #2f86b8;
$custom-light: #7aa9cd;
$custom-dark: #000000;
JSON
{
  "hex": "#2f86b8",
  "rgb": {
    "r": 47,
    "g": 134,
    "b": 184
  },
  "hsl": {
    "h": 201.898,
    "s": 59.307,
    "l": 45.294
  },
  "oklch": {
    "l": 0.59126,
    "c": 0.11138,
    "h": 238.4
  },
  "luminance": 0.21115
}

Semantic roles & 50–950 ramp

primary
#2F86B8
secondary
#C8977B
accent
#7F45E2
background
#F8FAFC
surface
#EFF4F9
border
#CACED2
text
#0B0F13
muted
#7C7F82

Preview Lab

Preview with #2F86B8

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

Preview Lab → · Contrast checker → · Palette generator →

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