#2F84B3#2F84B3

#2F84B3 is a mid, moderate cyan. Relative luminance 0.204; OKLCH L 58.4% C 0.107 H 237.2°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#2F84B3
RGBrgb(47, 132, 179)
HSLhsl(201, 58%, 44%)
HSVhsv(201, 74%, 70%)
CMYKcmyk(73.7%, 26.3%, 0%, 29.8%)
CIE-LABlab(52.24, -9.39, -32.02)
CIE-LCHlch(52.24, 33.37, 253.66°)
OKLaboklab(58.39% -0.0581 -0.0903)
OKLCHoklch(58.39% 0.107 237.2)
XYZxyz(17.5570, 20.3595, 45.6436)
Luminance0.2036 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F84B3 #B35E2F
analogous
#2FB3A0 #2F84B3 #2F42B3
triadic
#2F84B3 #B32F84 #84B32F
tetradic
#2F84B3 #A02FB3 #B35E2F #42B32F
square
#2F84B3 #A02FB3 #B35E2F #42B32F
split-complementary
#2F84B3 #B32F42 #B3A02F
monochromatic
#163D52 #226083 #2F84B3 #4FA2D1 #7FBCDD

Accessibility & contrast

On white

4.14
#2F84B3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.07
#2F84B3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F84B3
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F84B3#FFFFFF#000000##000000
##2F84B31.004.145.075.07
#FFFFFF4.141.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6E84B5
Deuteranopia (green-blind)
#5C77B2
Tritanopia (blue-blind)
#009094
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #2f84b3;
/* rgb */ color: rgb(47, 132, 179);
/* oklch */ color: oklch(58.4% 0.107 237.2);
Tailwind
colors: {
  custom: {
    50: '#79a7ca',
    500: '#2f84b3',
    950: '#000000',
  },
}
SCSS
$custom: #2f84b3;
$custom-light: #79a7ca;
$custom-dark: #000000;
JSON
{
  "hex": "#2f84b3",
  "rgb": {
    "r": 47,
    "g": 132,
    "b": 179
  },
  "hsl": {
    "h": 201.364,
    "s": 58.407,
    "l": 44.314
  },
  "oklch": {
    "l": 0.5839,
    "c": 0.10741,
    "h": 237.2
  },
  "luminance": 0.20362
}

Semantic roles & 50–950 ramp

primary
#2F84B3
secondary
#C69478
accent
#7E46E2
background
#F8FAFC
surface
#EFF4F8
border
#CACED1
text
#0A0F13
muted
#7C7F82

Preview Lab

Preview with #2F84B3

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

Preview Lab → · Contrast checker → · Palette generator →

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