#2F84B5#2F84B5

#2F84B5 is a mid, moderate cyan. Relative luminance 0.204; OKLCH L 58.5% C 0.110 H 238.3°. Best body text is #000000 at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#2F84B5
RGBrgb(47, 132, 181)
HSLhsl(202, 59%, 45%)
HSVhsv(202, 74%, 71%)
CMYKcmyk(74%, 27.1%, 0%, 29%)
CIE-LABlab(52.33, -8.68, -33.03)
CIE-LCHlch(52.33, 34.15, 255.28°)
OKLaboklab(58.49% -0.0575 -0.0932)
OKLCHoklch(58.49% 0.11 238.3)
XYZxyz(17.7608, 20.4410, 46.7166)
Luminance0.2044 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F84B5 #B5602F
analogous
#2FB5A3 #2F84B5 #2F41B5
triadic
#2F84B5 #B52F84 #84B52F
tetradic
#2F84B5 #A32FB5 #B5602F #41B52F
square
#2F84B5 #A32FB5 #B5602F #41B52F
split-complementary
#2F84B5 #B52F41 #B5A32F
monochromatic
#163D54 #226184 #2F84B5 #50A2D1 #80BCDE

Accessibility & contrast

On white

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

On black

5.09
#2F84B5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F84B5
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F84B5#FFFFFF#000000##000000
##2F84B51.004.135.095.09
#FFFFFF4.131.0021.0021.00
#0000005.0921.001.001.00
##0000005.0921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2f84b5;
/* rgb */ color: rgb(47, 132, 181);
/* oklch */ color: oklch(58.5% 0.110 238.3);
Tailwind
colors: {
  custom: {
    50: '#7aa7cb',
    500: '#2f84b5',
    950: '#000000',
  },
}
SCSS
$custom: #2f84b5;
$custom-light: #7aa7cb;
$custom-dark: #000000;
JSON
{
  "hex": "#2f84b5",
  "rgb": {
    "r": 47,
    "g": 132,
    "b": 181
  },
  "hsl": {
    "h": 201.94,
    "s": 58.772,
    "l": 44.706
  },
  "oklch": {
    "l": 0.58492,
    "c": 0.10951,
    "h": 238.3
  },
  "luminance": 0.20443
}

Semantic roles & 50–950 ramp

primary
#2F84B5
secondary
#C79579
accent
#7F46E2
background
#F8FAFC
surface
#EFF4F8
border
#CACED1
text
#0A0F13
muted
#7C7F82

Preview Lab

Preview with #2F84B5

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

Preview Lab → · Contrast checker → · Palette generator →

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