#2F8BB4#2F8BB4

#2F8BB4 is a mid, moderate cyan. Relative luminance 0.224; OKLCH L 60.1% C 0.105 H 231.8°. Best body text is #000000 at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#2F8BB4
RGBrgb(47, 139, 180)
HSLhsl(198, 59%, 45%)
HSVhsv(198, 74%, 71%)
CMYKcmyk(73.9%, 22.8%, 0%, 29.4%)
CIE-LABlab(54.41, -13.00, -29.22)
CIE-LCHlch(54.41, 31.98, 246.02°)
OKLaboklab(60.13% -0.0647 -0.0821)
OKLCHoklch(60.13% 0.105 231.8)
XYZxyz(18.6398, 22.3627, 46.5052)
Luminance0.2236 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F8BB4 #B4582F
analogous
#2FB49A #2F8BB4 #2F49B4
triadic
#2F8BB4 #B42F8B #8BB42F
tetradic
#2F8BB4 #9A2FB4 #B4582F #49B42F
square
#2F8BB4 #9A2FB4 #B4582F #49B42F
split-complementary
#2F8BB4 #B42F49 #B49A2F
monochromatic
#164053 #226683 #2F8BB4 #4FA9D1 #80C1DE

Accessibility & contrast

On white

3.84
#2F8BB4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.47
#2F8BB4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F8BB4
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F8BB4#FFFFFF#000000##000000
##2F8BB41.003.845.475.47
#FFFFFF3.841.0021.0021.00
#0000005.4721.001.001.00
##0000005.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7689B6
Deuteranopia (green-blind)
#647CB3
Tritanopia (blue-blind)
#009699
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #2f8bb4;
/* rgb */ color: rgb(47, 139, 180);
/* oklch */ color: oklch(60.1% 0.105 231.8);
Tailwind
colors: {
  custom: {
    50: '#7aacca',
    500: '#2f8bb4',
    950: '#000000',
  },
}
SCSS
$custom: #2f8bb4;
$custom-light: #7aacca;
$custom-dark: #000000;
JSON
{
  "hex": "#2f8bb4",
  "rgb": {
    "r": 47,
    "g": 139,
    "b": 180
  },
  "hsl": {
    "h": 198.496,
    "s": 58.59,
    "l": 44.51
  },
  "oklch": {
    "l": 0.60131,
    "c": 0.10459,
    "h": 231.8
  },
  "luminance": 0.22365
}

Semantic roles & 50–950 ramp

primary
#2F8BB4
secondary
#C79078
accent
#7646E2
background
#F8FAFC
surface
#EFF4F8
border
#CACED1
text
#0A1013
muted
#7C7F82

Preview Lab

Preview with #2F8BB4

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

Preview Lab → · Contrast checker → · Palette generator →

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