#2F84A9#2F84A9

#2F84A9 is a mid, moderate cyan. Relative luminance 0.200; OKLCH L 57.9% C 0.098 H 230.8°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#2F84A9
RGBrgb(47, 132, 169)
HSLhsl(198, 56%, 42%)
HSVhsv(198, 72%, 66%)
CMYKcmyk(72.2%, 21.9%, 0%, 33.7%)
CIE-LABlab(51.80, -12.87, -26.94)
CIE-LCHlch(51.80, 29.86, 244.47°)
OKLaboklab(57.9% -0.0617 -0.0756)
OKLCHoklch(57.9% 0.098 230.8)
XYZxyz(16.5821, 19.9696, 40.5090)
Luminance0.1997 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F84A9 #A9542F
analogous
#2FA991 #2F84A9 #2F47A9
triadic
#2F84A9 #A92F84 #84A92F
tetradic
#2F84A9 #912FA9 #A9542F #47A92F
square
#2F84A9 #912FA9 #A9542F #47A92F
split-complementary
#2F84A9 #A92F47 #A9912F
monochromatic
#143949 #225F79 #2F84A9 #49A4CC #79BCDA

Accessibility & contrast

On white

4.20
#2F84A9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.99
#2F84A9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F84A9
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F84A9#FFFFFF#000000##000000
##2F84A91.004.204.994.99
#FFFFFF4.201.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7182AB
Deuteranopia (green-blind)
#6176A8
Tritanopia (blue-blind)
#008E90
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #2f84a9;
/* rgb */ color: rgb(47, 132, 169);
/* oklch */ color: oklch(57.9% 0.098 230.8);
Tailwind
colors: {
  custom: {
    50: '#78a7c2',
    500: '#2f84a9',
    950: '#000000',
  },
}
SCSS
$custom: #2f84a9;
$custom-light: #78a7c2;
$custom-dark: #000000;
JSON
{
  "hex": "#2f84a9",
  "rgb": {
    "r": 47,
    "g": 132,
    "b": 169
  },
  "hsl": {
    "h": 198.197,
    "s": 56.481,
    "l": 42.353
  },
  "oklch": {
    "l": 0.57896,
    "c": 0.09761,
    "h": 230.8
  },
  "luminance": 0.19971
}

Semantic roles & 50–950 ramp

primary
#2F84A9
secondary
#C28A72
accent
#7648E0
background
#F7FAFB
surface
#EEF4F7
border
#C9CED0
text
#0A0F12
muted
#7C7F81

Preview Lab

Preview with #2F84A9

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

Preview Lab → · Contrast checker → · Palette generator →

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