#2F84B7#2F84B7

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

Color values

HEX#2F84B7
RGBrgb(47, 132, 183)
HSLhsl(203, 59%, 45%)
HSVhsv(203, 74%, 72%)
CMYKcmyk(74.3%, 27.9%, 0%, 28.2%)
CIE-LABlab(52.42, -7.97, -34.04)
CIE-LCHlch(52.42, 34.96, 256.81°)
OKLaboklab(58.6% -0.0568 -0.0961)
OKLCHoklch(58.6% 0.112 239.4)
XYZxyz(17.9674, 20.5237, 47.8051)
Luminance0.2053 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F84B7 #B7622F
analogous
#2FB7A6 #2F84B7 #2F40B7
triadic
#2F84B7 #B72F84 #84B72F
tetradic
#2F84B7 #A62FB7 #B7622F #40B72F
square
#2F84B7 #A62FB7 #B7622F #40B72F
split-complementary
#2F84B7 #B72F40 #B7A62F
monochromatic
#163E56 #226186 #2F84B7 #51A2D2 #82BCDF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2F84B7#FFFFFF#000000##000000
##2F84B71.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)
#6C84B9
Deuteranopia (green-blind)
#5A77B6
Tritanopia (blue-blind)
#009196
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #2f84b7;
/* rgb */ color: rgb(47, 132, 183);
/* oklch */ color: oklch(58.6% 0.112 239.4);
Tailwind
colors: {
  custom: {
    50: '#7aa7cd',
    500: '#2f84b7',
    950: '#000000',
  },
}
SCSS
$custom: #2f84b7;
$custom-light: #7aa7cd;
$custom-dark: #000000;
JSON
{
  "hex": "#2f84b7",
  "rgb": {
    "r": 47,
    "g": 132,
    "b": 183
  },
  "hsl": {
    "h": 202.5,
    "s": 59.13,
    "l": 45.098
  },
  "oklch": {
    "l": 0.58596,
    "c": 0.11167,
    "h": 239.4
  },
  "luminance": 0.20526
}

Semantic roles & 50–950 ramp

primary
#2F84B7
secondary
#C8977A
accent
#8045E2
background
#F8FAFC
surface
#EFF4F9
border
#CACED2
text
#0B0F13
muted
#7C7F82

Preview Lab

Preview with #2F84B7

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

Preview Lab → · Contrast checker → · Palette generator →

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