#2F8CB6#2F8CB6

#2F8CB6 is a mid, moderate cyan. Relative luminance 0.227; OKLCH L 60.5% C 0.106 H 232.2°. Best body text is #000000 at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#2F8CB6
RGBrgb(47, 140, 182)
HSLhsl(199, 59%, 45%)
HSVhsv(199, 74%, 71%)
CMYKcmyk(74.2%, 23.1%, 0%, 28.6%)
CIE-LABlab(54.80, -12.86, -29.76)
CIE-LCHlch(54.80, 32.42, 246.62°)
OKLaboklab(60.47% -0.065 -0.0837)
OKLCHoklch(60.47% 0.106 232.2)
XYZxyz(18.9905, 22.7357, 47.6345)
Luminance0.2274 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F8CB6 #B6592F
analogous
#2FB69D #2F8CB6 #2F48B6
triadic
#2F8CB6 #B62F8C #8CB62F
tetradic
#2F8CB6 #9D2FB6 #B6592F #48B62F
square
#2F8CB6 #9D2FB6 #B6592F #48B62F
split-complementary
#2F8CB6 #B62F48 #B69D2F
monochromatic
#164155 #226785 #2F8CB6 #50AAD2 #81C1DE

Accessibility & contrast

On white

3.79
#2F8CB6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.55
#2F8CB6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F8CB6
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F8CB6#FFFFFF#000000##000000
##2F8CB61.003.795.555.55
#FFFFFF3.791.0021.0021.00
#0000005.5521.001.001.00
##0000005.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#778AB8
Deuteranopia (green-blind)
#657DB5
Tritanopia (blue-blind)
#00979A
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #2f8cb6;
/* rgb */ color: rgb(47, 140, 182);
/* oklch */ color: oklch(60.5% 0.106 232.2);
Tailwind
colors: {
  custom: {
    50: '#7aadcc',
    500: '#2f8cb6',
    950: '#000000',
  },
}
SCSS
$custom: #2f8cb6;
$custom-light: #7aadcc;
$custom-dark: #000000;
JSON
{
  "hex": "#2f8cb6",
  "rgb": {
    "r": 47,
    "g": 140,
    "b": 182
  },
  "hsl": {
    "h": 198.667,
    "s": 58.952,
    "l": 44.902
  },
  "oklch": {
    "l": 0.6047,
    "c": 0.10598,
    "h": 232.2
  },
  "luminance": 0.22738
}

Semantic roles & 50–950 ramp

primary
#2F8CB6
secondary
#C79279
accent
#7646E2
background
#F8FAFC
surface
#EFF4F8
border
#CACED1
text
#0B1013
muted
#7C7F82

Preview Lab

Preview with #2F8CB6

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

Preview Lab → · Contrast checker → · Palette generator →

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