#2F86AC#2F86AC

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

Color values

HEX#2F86AC
RGBrgb(47, 134, 172)
HSLhsl(198, 57%, 43%)
HSVhsv(198, 73%, 67%)
CMYKcmyk(72.7%, 22.1%, 0%, 32.5%)
CIE-LABlab(52.54, -12.96, -27.53)
CIE-LCHlch(52.54, 30.42, 244.79°)
OKLaboklab(58.53% -0.0626 -0.0773)
OKLCHoklch(58.53% 0.1 231)
XYZxyz(17.1408, 20.6311, 42.1006)
Luminance0.2063 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F86AC #AC552F
analogous
#2FAC93 #2F86AC #2F47AC
triadic
#2F86AC #AC2F86 #86AC2F
tetradic
#2F86AC #932FAC #AC552F #47AC2F
square
#2F86AC #932FAC #AC552F #47AC2F
split-complementary
#2F86AC #AC2F47 #AC932F
monochromatic
#153B4C #22617C #2F86AC #4BA6CE #7BBEDB

Accessibility & contrast

On white

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

On black

5.13
#2F86AC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F86AC
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F86AC#FFFFFF#000000##000000
##2F86AC1.004.105.135.13
#FFFFFF4.101.0021.0021.00
#0000005.1321.001.001.00
##0000005.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7384AE
Deuteranopia (green-blind)
#6278AB
Tritanopia (blue-blind)
#009093
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #2f86ac;
/* rgb */ color: rgb(47, 134, 172);
/* oklch */ color: oklch(58.5% 0.100 231.0);
Tailwind
colors: {
  custom: {
    50: '#78a9c5',
    500: '#2f86ac',
    950: '#000000',
  },
}
SCSS
$custom: #2f86ac;
$custom-light: #78a9c5;
$custom-dark: #000000;
JSON
{
  "hex": "#2f86ac",
  "rgb": {
    "r": 47,
    "g": 134,
    "b": 172
  },
  "hsl": {
    "h": 198.24,
    "s": 57.078,
    "l": 42.941
  },
  "oklch": {
    "l": 0.58529,
    "c": 0.0995,
    "h": 231
  },
  "luminance": 0.20633
}

Semantic roles & 50–950 ramp

primary
#2F86AC
secondary
#C38C74
accent
#7647E0
background
#F7FAFC
surface
#EEF4F8
border
#C9CED1
text
#0A0F12
muted
#7C7F81

Preview Lab

Preview with #2F86AC

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

Preview Lab → · Contrast checker → · Palette generator →

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