#2F84AE#2F84AE

#2F84AE is a mid, moderate cyan. Relative luminance 0.202; OKLCH L 58.1% C 0.102 H 234.2°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#2F84AE
RGBrgb(47, 132, 174)
HSLhsl(200, 57%, 43%)
HSVhsv(200, 73%, 68%)
CMYKcmyk(73%, 24.1%, 0%, 31.8%)
CIE-LABlab(52.02, -11.14, -29.49)
CIE-LCHlch(52.02, 31.53, 249.31°)
OKLaboklab(58.14% -0.0599 -0.083)
OKLCHoklch(58.14% 0.102 234.2)
XYZxyz(17.0605, 20.1609, 43.0285)
Luminance0.2016 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F84AE #AE592F
analogous
#2FAE98 #2F84AE #2F44AE
triadic
#2F84AE #AE2F84 #84AE2F
tetradic
#2F84AE #982FAE #AE592F #44AE2F
square
#2F84AE #982FAE #AE592F #44AE2F
split-complementary
#2F84AE #AE2F44 #AE982F
monochromatic
#153B4E #225F7E #2F84AE #4CA3CF #7CBCDC

Accessibility & contrast

On white

4.17
#2F84AE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.03
#2F84AE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F84AE
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F84AE#FFFFFF#000000##000000
##2F84AE1.004.175.035.03
#FFFFFF4.171.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F83B0
Deuteranopia (green-blind)
#5E77AD
Tritanopia (blue-blind)
#008F92
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #2f84ae;
/* rgb */ color: rgb(47, 132, 174);
/* oklch */ color: oklch(58.1% 0.102 234.2);
Tailwind
colors: {
  custom: {
    50: '#79a7c6',
    500: '#2f84ae',
    950: '#000000',
  },
}
SCSS
$custom: #2f84ae;
$custom-light: #79a7c6;
$custom-dark: #000000;
JSON
{
  "hex": "#2f84ae",
  "rgb": {
    "r": 47,
    "g": 132,
    "b": 174
  },
  "hsl": {
    "h": 199.843,
    "s": 57.466,
    "l": 43.333
  },
  "oklch": {
    "l": 0.5814,
    "c": 0.10234,
    "h": 234.2
  },
  "luminance": 0.20163
}

Semantic roles & 50–950 ramp

primary
#2F84AE
secondary
#C48F75
accent
#7A47E1
background
#F7FAFC
surface
#EEF4F8
border
#C9CED1
text
#0A0F13
muted
#7C7F82

Preview Lab

Preview with #2F84AE

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

Preview Lab → · Contrast checker → · Palette generator →

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