#2F84B8#2F84B8

#2F84B8 is a mid, moderate cyan. Relative luminance 0.206; OKLCH L 58.6% C 0.113 H 239.9°. Best body text is #000000 at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#2F84B8
RGBrgb(47, 132, 184)
HSLhsl(203, 59%, 45%)
HSVhsv(203, 74%, 72%)
CMYKcmyk(74.5%, 28.3%, 0%, 27.8%)
CIE-LABlab(52.47, -7.62, -34.54)
CIE-LCHlch(52.47, 35.37, 257.56°)
OKLaboklab(58.65% -0.0565 -0.0976)
OKLCHoklch(58.65% 0.113 239.9)
XYZxyz(18.0719, 20.5655, 48.3552)
Luminance0.2057 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F84B8 #B8632F
analogous
#2FB8A7 #2F84B8 #2F3FB8
triadic
#2F84B8 #B82F84 #84B82F
tetradic
#2F84B8 #A72FB8 #B8632F #3FB82F
square
#2F84B8 #A72FB8 #B8632F #3FB82F
split-complementary
#2F84B8 #B82F3F #B8A72F
monochromatic
#163E57 #236187 #2F84B8 #52A2D3 #82BCDF

Accessibility & contrast

On white

4.11
#2F84B8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.11
#2F84B8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F84B8
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F84B8#FFFFFF#000000##000000
##2F84B81.004.115.115.11
#FFFFFF4.111.0021.0021.00
#0000005.1121.001.001.00
##0000005.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C84BA
Deuteranopia (green-blind)
#5977B7
Tritanopia (blue-blind)
#009196
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #2f84b8;
/* rgb */ color: rgb(47, 132, 184);
/* oklch */ color: oklch(58.6% 0.113 239.9);
Tailwind
colors: {
  custom: {
    50: '#7aa7cd',
    500: '#2f84b8',
    950: '#000000',
  },
}
SCSS
$custom: #2f84b8;
$custom-light: #7aa7cd;
$custom-dark: #000000;
JSON
{
  "hex": "#2f84b8",
  "rgb": {
    "r": 47,
    "g": 132,
    "b": 184
  },
  "hsl": {
    "h": 202.774,
    "s": 59.307,
    "l": 45.294
  },
  "oklch": {
    "l": 0.58648,
    "c": 0.11276,
    "h": 239.9
  },
  "luminance": 0.20568
}

Semantic roles & 50–950 ramp

primary
#2F84B8
secondary
#C8987B
accent
#8145E2
background
#F8FAFC
surface
#EFF4F9
border
#CACED2
text
#0B0F13
muted
#7C7F82

Preview Lab

Preview with #2F84B8

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

Preview Lab → · Contrast checker → · Palette generator →

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