#2F84B4#2F84B4

#2F84B4 is a mid, moderate cyan. Relative luminance 0.204; OKLCH L 58.4% C 0.108 H 237.8°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#2F84B4
RGBrgb(47, 132, 180)
HSLhsl(202, 59%, 45%)
HSVhsv(202, 74%, 71%)
CMYKcmyk(73.9%, 26.7%, 0%, 29.4%)
CIE-LABlab(52.29, -9.03, -32.53)
CIE-LCHlch(52.29, 33.76, 254.48°)
OKLaboklab(58.44% -0.0578 -0.0918)
OKLCHoklch(58.44% 0.108 237.8)
XYZxyz(17.6585, 20.4001, 46.1781)
Luminance0.2040 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F84B4 #B45F2F
analogous
#2FB4A2 #2F84B4 #2F42B4
triadic
#2F84B4 #B42F84 #84B42F
tetradic
#2F84B4 #A22FB4 #B45F2F #42B42F
square
#2F84B4 #A22FB4 #B45F2F #42B42F
split-complementary
#2F84B4 #B42F42 #B4A22F
monochromatic
#163D53 #226083 #2F84B4 #4FA2D1 #80BCDE

Accessibility & contrast

On white

4.13
#2F84B4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.08
#2F84B4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F84B4
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F84B4#FFFFFF#000000##000000
##2F84B41.004.135.085.08
#FFFFFF4.131.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D84B6
Deuteranopia (green-blind)
#5B77B3
Tritanopia (blue-blind)
#009095
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #2f84b4;
/* rgb */ color: rgb(47, 132, 180);
/* oklch */ color: oklch(58.4% 0.108 237.8);
Tailwind
colors: {
  custom: {
    50: '#7aa7ca',
    500: '#2f84b4',
    950: '#000000',
  },
}
SCSS
$custom: #2f84b4;
$custom-light: #7aa7ca;
$custom-dark: #000000;
JSON
{
  "hex": "#2f84b4",
  "rgb": {
    "r": 47,
    "g": 132,
    "b": 180
  },
  "hsl": {
    "h": 201.654,
    "s": 58.59,
    "l": 44.51
  },
  "oklch": {
    "l": 0.58441,
    "c": 0.10846,
    "h": 237.8
  },
  "luminance": 0.20402
}

Semantic roles & 50–950 ramp

primary
#2F84B4
secondary
#C79478
accent
#7E46E2
background
#F8FAFC
surface
#EFF4F8
border
#CACED1
text
#0A0F13
muted
#7C7F82

Preview Lab

Preview with #2F84B4

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

Preview Lab → · Contrast checker → · Palette generator →

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