#2F84BA#2F84BA

#2F84BA is a mid, moderate cyan. Relative luminance 0.207; OKLCH L 58.8% C 0.115 H 240.9°. Best body text is #000000 at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#2F84BA
RGBrgb(47, 132, 186)
HSLhsl(203, 60%, 46%)
HSVhsv(203, 75%, 73%)
CMYKcmyk(74.7%, 29%, 0%, 27.1%)
CIE-LABlab(52.56, -6.91, -35.54)
CIE-LCHlch(52.56, 36.20, 259.00°)
OKLaboklab(58.75% -0.0558 -0.1005)
OKLCHoklch(58.75% 0.115 240.9)
XYZxyz(18.2830, 20.6499, 49.4671)
Luminance0.2065 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F84BA #BA652F
analogous
#2FBAAA #2F84BA #2F3FBA
triadic
#2F84BA #BA2F84 #84BA2F
tetradic
#2F84BA #AA2FBA #BA652F #3FBA2F
square
#2F84BA #AA2FBA #BA652F #3FBA2F
split-complementary
#2F84BA #BA2F3F #BAAA2F
monochromatic
#163F58 #236189 #2F84BA #53A1D3 #84BCE0

Accessibility & contrast

On white

4.09
#2F84BA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.13
#2F84BA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F84BA
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F84BA#FFFFFF#000000##000000
##2F84BA1.004.095.135.13
#FFFFFF4.091.0021.0021.00
#0000005.1321.001.001.00
##0000005.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B85BC
Deuteranopia (green-blind)
#5878B9
Tritanopia (blue-blind)
#009197
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #2f84ba;
/* rgb */ color: rgb(47, 132, 186);
/* oklch */ color: oklch(58.8% 0.115 240.9);
Tailwind
colors: {
  custom: {
    50: '#7ba7cf',
    500: '#2f84ba',
    950: '#000000',
  },
}
SCSS
$custom: #2f84ba;
$custom-light: #7ba7cf;
$custom-dark: #000000;
JSON
{
  "hex": "#2f84ba",
  "rgb": {
    "r": 47,
    "g": 132,
    "b": 186
  },
  "hsl": {
    "h": 203.309,
    "s": 59.657,
    "l": 45.686
  },
  "oklch": {
    "l": 0.58753,
    "c": 0.11496,
    "h": 240.9
  },
  "luminance": 0.20652
}

Semantic roles & 50–950 ramp

primary
#2F84BA
secondary
#C99A7C
accent
#8245E3
background
#F8FAFC
surface
#EFF4F9
border
#CACED2
text
#0B0F13
muted
#7C7F82

Preview Lab

Preview with #2F84BA

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

Preview Lab → · Contrast checker → · Palette generator →

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