#2F86AB#2F86AB

#2F86AB is a mid, moderate cyan. Relative luminance 0.206; OKLCH L 58.5% C 0.099 H 230.3°. Best body text is #000000 at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#2F86AB
RGBrgb(47, 134, 171)
HSLhsl(198, 57%, 43%)
HSVhsv(198, 73%, 67%)
CMYKcmyk(72.5%, 21.6%, 0%, 32.9%)
CIE-LABlab(52.50, -13.30, -27.02)
CIE-LCHlch(52.50, 30.11, 243.79°)
OKLaboklab(58.48% -0.063 -0.0758)
OKLCHoklch(58.48% 0.099 230.3)
XYZxyz(17.0451, 20.5929, 41.5967)
Luminance0.2059 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F86AB #AB542F
analogous
#2FAB92 #2F86AB #2F48AB
triadic
#2F86AB #AB2F86 #86AB2F
tetradic
#2F86AB #922FAB #AB542F #48AB2F
square
#2F86AB #922FAB #AB542F #48AB2F
split-complementary
#2F86AB #AB2F48 #AB922F
monochromatic
#153B4B #22607B #2F86AB #4AA6CD #7ABEDA

Accessibility & contrast

On white

4.10
#2F86AB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.12
#2F86AB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F86AB
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F86AB#FFFFFF#000000##000000
##2F86AB1.004.105.125.12
#FFFFFF4.101.0021.0021.00
#0000005.1221.001.001.00
##0000005.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7384AD
Deuteranopia (green-blind)
#6278AA
Tritanopia (blue-blind)
#009092
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #2f86ab;
/* rgb */ color: rgb(47, 134, 171);
/* oklch */ color: oklch(58.5% 0.099 230.3);
Tailwind
colors: {
  custom: {
    50: '#78a9c4',
    500: '#2f86ab',
    950: '#000000',
  },
}
SCSS
$custom: #2f86ab;
$custom-light: #78a9c4;
$custom-dark: #000000;
JSON
{
  "hex": "#2f86ab",
  "rgb": {
    "r": 47,
    "g": 134,
    "b": 171
  },
  "hsl": {
    "h": 197.903,
    "s": 56.881,
    "l": 42.745
  },
  "oklch": {
    "l": 0.58482,
    "c": 0.09859,
    "h": 230.3
  },
  "luminance": 0.20595
}

Semantic roles & 50–950 ramp

primary
#2F86AB
secondary
#C38B73
accent
#7548E0
background
#F7FAFC
surface
#EEF4F8
border
#C9CED1
text
#0A0F12
muted
#7C7F81

Preview Lab

Preview with #2F86AB

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

Preview Lab → · Contrast checker → · Palette generator →

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