#2F84B6#2F84B6

#2F84B6 is a mid, moderate cyan. Relative luminance 0.205; OKLCH L 58.5% C 0.111 H 238.9°. Best body text is #000000 at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#2F84B6
RGBrgb(47, 132, 182)
HSLhsl(202, 59%, 45%)
HSVhsv(202, 74%, 71%)
CMYKcmyk(74.2%, 27.5%, 0%, 28.6%)
CIE-LABlab(52.38, -8.33, -33.53)
CIE-LCHlch(52.38, 34.55, 256.05°)
OKLaboklab(58.54% -0.0571 -0.0947)
OKLCHoklch(58.54% 0.111 238.9)
XYZxyz(17.8637, 20.4822, 47.2589)
Luminance0.2048 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F84B6 #B6612F
analogous
#2FB6A4 #2F84B6 #2F41B6
triadic
#2F84B6 #B62F84 #84B62F
tetradic
#2F84B6 #A42FB6 #B6612F #41B62F
square
#2F84B6 #A42FB6 #B6612F #41B62F
split-complementary
#2F84B6 #B62F41 #B6A42F
monochromatic
#163D55 #226185 #2F84B6 #50A2D2 #81BCDE

Accessibility & contrast

On white

4.12
#2F84B6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.10
#2F84B6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F84B6
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F84B6#FFFFFF#000000##000000
##2F84B61.004.125.105.10
#FFFFFF4.121.0021.0021.00
#0000005.1021.001.001.00
##0000005.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C84B8
Deuteranopia (green-blind)
#5A77B5
Tritanopia (blue-blind)
#009195
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #2f84b6;
/* rgb */ color: rgb(47, 132, 182);
/* oklch */ color: oklch(58.5% 0.111 238.9);
Tailwind
colors: {
  custom: {
    50: '#7aa7cc',
    500: '#2f84b6',
    950: '#000000',
  },
}
SCSS
$custom: #2f84b6;
$custom-light: #7aa7cc;
$custom-dark: #000000;
JSON
{
  "hex": "#2f84b6",
  "rgb": {
    "r": 47,
    "g": 132,
    "b": 182
  },
  "hsl": {
    "h": 202.222,
    "s": 58.952,
    "l": 44.902
  },
  "oklch": {
    "l": 0.58544,
    "c": 0.11059,
    "h": 238.9
  },
  "luminance": 0.20484
}

Semantic roles & 50–950 ramp

primary
#2F84B6
secondary
#C79679
accent
#8046E2
background
#F8FAFC
surface
#EFF4F8
border
#CACED1
text
#0A0F13
muted
#7C7F82

Preview Lab

Preview with #2F84B6

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

Preview Lab → · Contrast checker → · Palette generator →

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