#2F84BE#2F84BE

#2F84BE is a mid, moderate cyan. Relative luminance 0.208; OKLCH L 59.0% C 0.119 H 242.8°. Best body text is #000000 at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#2F84BE
RGBrgb(47, 132, 190)
HSLhsl(204, 60%, 46%)
HSVhsv(204, 75%, 75%)
CMYKcmyk(75.3%, 30.5%, 0%, 25.5%)
CIE-LABlab(52.75, -5.48, -37.53)
CIE-LCHlch(52.75, 37.92, 261.70°)
OKLaboklab(58.97% -0.0546 -0.1063)
OKLCHoklch(58.97% 0.119 242.8)
XYZxyz(18.7142, 20.8224, 51.7380)
Luminance0.2082 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F84BE #BE692F
analogous
#2FBEB1 #2F84BE #2F3CBE
triadic
#2F84BE #BE2F84 #84BE2F
tetradic
#2F84BE #B12FBE #BE692F #3CBE2F
square
#2F84BE #B12FBE #BE692F #3CBE2F
split-complementary
#2F84BE #BE2F3C #BEB12F
monochromatic
#17405C #23628D #2F84BE #55A1D5 #86BCE1

Accessibility & contrast

On white

4.07
#2F84BE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.16
#2F84BE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F84BE
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F84BE#FFFFFF#000000##000000
##2F84BE1.004.075.165.16
#FFFFFF4.071.0021.0021.00
#0000005.1621.001.001.00
##0000005.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6985C1
Deuteranopia (green-blind)
#5578BD
Tritanopia (blue-blind)
#009298
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #2f84be;
/* rgb */ color: rgb(47, 132, 190);
/* oklch */ color: oklch(59.0% 0.119 242.8);
Tailwind
colors: {
  custom: {
    50: '#7ba7d2',
    500: '#2f84be',
    950: '#000000',
  },
}
SCSS
$custom: #2f84be;
$custom-light: #7ba7d2;
$custom-dark: #000000;
JSON
{
  "hex": "#2f84be",
  "rgb": {
    "r": 47,
    "g": 132,
    "b": 190
  },
  "hsl": {
    "h": 204.336,
    "s": 60.338,
    "l": 46.471
  },
  "oklch": {
    "l": 0.58966,
    "c": 0.11947,
    "h": 242.8
  },
  "luminance": 0.20825
}

Semantic roles & 50–950 ramp

primary
#2F84BE
secondary
#CB9D7E
accent
#8544E3
background
#F8FAFC
surface
#EFF4F9
border
#CACED2
text
#0B0F14
muted
#7C7F82

Preview Lab

Preview with #2F84BE

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

Preview Lab → · Contrast checker → · Palette generator →

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