#2F84A8#2F84A8

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

Color values

HEX#2F84A8
RGBrgb(47, 132, 168)
HSLhsl(198, 56%, 42%)
HSVhsv(198, 72%, 66%)
CMYKcmyk(72%, 21.4%, 0%, 34.1%)
CIE-LABlab(51.76, -13.21, -26.43)
CIE-LCHlch(51.76, 29.55, 243.44°)
OKLaboklab(57.85% -0.0621 -0.0742)
OKLCHoklch(57.85% 0.097 230.1)
XYZxyz(16.4886, 19.9321, 40.0165)
Luminance0.1993 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F84A8 #A8532F
analogous
#2FA88F #2F84A8 #2F48A8
triadic
#2F84A8 #A82F84 #84A82F
tetradic
#2F84A8 #8F2FA8 #A8532F #48A82F
square
#2F84A8 #8F2FA8 #A8532F #48A82F
split-complementary
#2F84A8 #A82F48 #A88F2F
monochromatic
#143948 #225E78 #2F84A8 #48A5CC #78BCD9

Accessibility & contrast

On white

4.21
#2F84A8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##2F84A8#FFFFFF#000000##000000
##2F84A81.004.214.994.99
#FFFFFF4.211.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7282AA
Deuteranopia (green-blind)
#6176A7
Tritanopia (blue-blind)
#008E90
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #2f84a8;
/* rgb */ color: rgb(47, 132, 168);
/* oklch */ color: oklch(57.8% 0.097 230.1);
Tailwind
colors: {
  custom: {
    50: '#78a7c2',
    500: '#2f84a8',
    950: '#000000',
  },
}
SCSS
$custom: #2f84a8;
$custom-light: #78a7c2;
$custom-dark: #000000;
JSON
{
  "hex": "#2f84a8",
  "rgb": {
    "r": 47,
    "g": 132,
    "b": 168
  },
  "hsl": {
    "h": 197.851,
    "s": 56.279,
    "l": 42.157
  },
  "oklch": {
    "l": 0.57848,
    "c": 0.09672,
    "h": 230.1
  },
  "luminance": 0.19934
}

Semantic roles & 50–950 ramp

primary
#2F84A8
secondary
#C18971
accent
#7548E0
background
#F7FAFB
surface
#EEF4F7
border
#C9CED0
text
#0A0F12
muted
#7C7F81

Preview Lab

Preview with #2F84A8

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

Preview Lab → · Contrast checker → · Palette generator →

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