#2F86AD#2F86AD

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

Color values

HEX#2F86AD
RGBrgb(47, 134, 173)
HSLhsl(199, 57%, 43%)
HSVhsv(199, 73%, 68%)
CMYKcmyk(72.8%, 22.5%, 0%, 32.2%)
CIE-LABlab(52.59, -12.61, -28.04)
CIE-LCHlch(52.59, 30.74, 245.78°)
OKLaboklab(58.58% -0.0623 -0.0788)
OKLCHoklch(58.58% 0.1 231.7)
XYZxyz(17.2372, 20.6697, 42.6083)
Luminance0.2067 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F86AD #AD562F
analogous
#2FAD95 #2F86AD #2F47AD
triadic
#2F86AD #AD2F86 #86AD2F
tetradic
#2F86AD #952FAD #AD562F #47AD2F
square
#2F86AD #952FAD #AD562F #47AD2F
split-complementary
#2F86AD #AD2F47 #AD952F
monochromatic
#153B4D #22617D #2F86AD #4BA6CE #7BBDDB

Accessibility & contrast

On white

4.09
#2F86AD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##2F86AD#FFFFFF#000000##000000
##2F86AD1.004.095.135.13
#FFFFFF4.091.0021.0021.00
#0000005.1321.001.001.00
##0000005.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7284AF
Deuteranopia (green-blind)
#6178AC
Tritanopia (blue-blind)
#009193
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #2f86ad;
/* rgb */ color: rgb(47, 134, 173);
/* oklch */ color: oklch(58.6% 0.100 231.7);
Tailwind
colors: {
  custom: {
    50: '#79a9c5',
    500: '#2f86ad',
    950: '#000000',
  },
}
SCSS
$custom: #2f86ad;
$custom-light: #79a9c5;
$custom-dark: #000000;
JSON
{
  "hex": "#2f86ad",
  "rgb": {
    "r": 47,
    "g": 134,
    "b": 173
  },
  "hsl": {
    "h": 198.571,
    "s": 57.273,
    "l": 43.137
  },
  "oklch": {
    "l": 0.58578,
    "c": 0.1004,
    "h": 231.7
  },
  "luminance": 0.20672
}

Semantic roles & 50–950 ramp

primary
#2F86AD
secondary
#C48D74
accent
#7747E1
background
#F7FAFC
surface
#EEF4F8
border
#C9CED1
text
#0A0F13
muted
#7C7F82

Preview Lab

Preview with #2F86AD

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

Preview Lab → · Contrast checker → · Palette generator →

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