#2F8AB4#2F8AB4

#2F8AB4 is a mid, moderate cyan. Relative luminance 0.221; OKLCH L 59.9% C 0.105 H 232.7°. Best body text is #000000 at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#2F8AB4
RGBrgb(47, 138, 180)
HSLhsl(199, 59%, 45%)
HSVhsv(199, 74%, 71%)
CMYKcmyk(73.9%, 23.3%, 0%, 29.4%)
CIE-LABlab(54.11, -12.44, -29.69)
CIE-LCHlch(54.11, 32.19, 247.27°)
OKLaboklab(59.89% -0.0637 -0.0835)
OKLCHoklch(59.89% 0.105 232.7)
XYZxyz(18.4957, 22.0744, 46.4572)
Luminance0.2208 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F8AB4 #B4592F
analogous
#2FB49B #2F8AB4 #2F48B4
triadic
#2F8AB4 #B42F8A #8AB42F
tetradic
#2F8AB4 #9B2FB4 #B4592F #48B42F
square
#2F8AB4 #9B2FB4 #B4592F #48B42F
split-complementary
#2F8AB4 #B42F48 #B49B2F
monochromatic
#164053 #226583 #2F8AB4 #4FA8D1 #80C0DE

Accessibility & contrast

On white

3.88
#2F8AB4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.42
#2F8AB4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F8AB4
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F8AB4#FFFFFF#000000##000000
##2F8AB41.003.885.425.42
#FFFFFF3.881.0021.0021.00
#0000005.4221.001.001.00
##0000005.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7589B6
Deuteranopia (green-blind)
#637CB3
Tritanopia (blue-blind)
#009598
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #2f8ab4;
/* rgb */ color: rgb(47, 138, 180);
/* oklch */ color: oklch(59.9% 0.105 232.7);
Tailwind
colors: {
  custom: {
    50: '#7aacca',
    500: '#2f8ab4',
    950: '#000000',
  },
}
SCSS
$custom: #2f8ab4;
$custom-light: #7aacca;
$custom-dark: #000000;
JSON
{
  "hex": "#2f8ab4",
  "rgb": {
    "r": 47,
    "g": 138,
    "b": 180
  },
  "hsl": {
    "h": 198.947,
    "s": 58.59,
    "l": 44.51
  },
  "oklch": {
    "l": 0.59889,
    "c": 0.10506,
    "h": 232.7
  },
  "luminance": 0.22077
}

Semantic roles & 50–950 ramp

primary
#2F8AB4
secondary
#C79178
accent
#7746E2
background
#F8FAFC
surface
#EFF4F8
border
#CACED1
text
#0A1013
muted
#7C7F82

Preview Lab

Preview with #2F8AB4

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

Preview Lab → · Contrast checker → · Palette generator →

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