#2F84A6#2F84A6

#2F84A6 is a mid, moderate cyan. Relative luminance 0.199; OKLCH L 57.8% C 0.095 H 228.6°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#2F84A6
RGBrgb(47, 132, 166)
HSLhsl(197, 56%, 42%)
HSVhsv(197, 72%, 65%)
CMYKcmyk(71.7%, 20.5%, 0%, 34.9%)
CIE-LABlab(51.68, -13.90, -25.40)
CIE-LCHlch(51.68, 28.96, 241.32°)
OKLaboklab(57.75% -0.0628 -0.0712)
OKLCHoklch(57.75% 0.095 228.6)
XYZxyz(16.3037, 19.8582, 39.0428)
Luminance0.1986 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F84A6 #A6512F
analogous
#2FA68D #2F84A6 #2F48A6
triadic
#2F84A6 #A62F84 #84A62F
tetradic
#2F84A6 #8D2FA6 #A6512F #48A62F
square
#2F84A6 #8D2FA6 #A6512F #48A62F
split-complementary
#2F84A6 #A62F48 #A68D2F
monochromatic
#143847 #215E76 #2F84A6 #47A5CB #77BDD8

Accessibility & contrast

On white

4.22
#2F84A6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.97
#2F84A6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F84A6
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F84A6#FFFFFF#000000##000000
##2F84A61.004.224.974.97
#FFFFFF4.221.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7282A8
Deuteranopia (green-blind)
#6276A6
Tritanopia (blue-blind)
#008E8F
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #2f84a6;
/* rgb */ color: rgb(47, 132, 166);
/* oklch */ color: oklch(57.8% 0.095 228.6);
Tailwind
colors: {
  custom: {
    50: '#77a7c0',
    500: '#2f84a6',
    950: '#000000',
  },
}
SCSS
$custom: #2f84a6;
$custom-light: #77a7c0;
$custom-dark: #000000;
JSON
{
  "hex": "#2f84a6",
  "rgb": {
    "r": 47,
    "g": 132,
    "b": 166
  },
  "hsl": {
    "h": 197.143,
    "s": 55.869,
    "l": 41.765
  },
  "oklch": {
    "l": 0.57754,
    "c": 0.09497,
    "h": 228.6
  },
  "luminance": 0.1986
}

Semantic roles & 50–950 ramp

primary
#2F84A6
secondary
#C18770
accent
#7449DF
background
#F7FAFB
surface
#EEF4F7
border
#C9CED0
text
#0A0F12
muted
#7C7F81

Preview Lab

Preview with #2F84A6

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

Preview Lab → · Contrast checker → · Palette generator →

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