#2F8BB6#2F8BB6

#2F8BB6 is a mid, moderate cyan. Relative luminance 0.224; OKLCH L 60.2% C 0.106 H 233.0°. Best body text is #000000 at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#2F8BB6
RGBrgb(47, 139, 182)
HSLhsl(199, 59%, 45%)
HSVhsv(199, 74%, 71%)
CMYKcmyk(74.2%, 23.6%, 0%, 28.6%)
CIE-LABlab(54.50, -12.30, -30.23)
CIE-LCHlch(54.50, 32.64, 247.85°)
OKLaboklab(60.23% -0.064 -0.0851)
OKLCHoklch(60.23% 0.106 233)
XYZxyz(18.8450, 22.4448, 47.5860)
Luminance0.2245 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F8BB6 #B65A2F
analogous
#2FB69D #2F8BB6 #2F48B6
triadic
#2F8BB6 #B62F8B #8BB62F
tetradic
#2F8BB6 #9D2FB6 #B65A2F #48B62F
square
#2F8BB6 #9D2FB6 #B65A2F #48B62F
split-complementary
#2F8BB6 #B62F48 #B69D2F
monochromatic
#164155 #226685 #2F8BB6 #50A9D2 #81C1DE

Accessibility & contrast

On white

3.83
#2F8BB6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.49
#2F8BB6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F8BB6
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F8BB6#FFFFFF#000000##000000
##2F8BB61.003.835.495.49
#FFFFFF3.831.0021.0021.00
#0000005.4921.001.001.00
##0000005.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#768AB8
Deuteranopia (green-blind)
#637DB5
Tritanopia (blue-blind)
#009699
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #2f8bb6;
/* rgb */ color: rgb(47, 139, 182);
/* oklch */ color: oklch(60.2% 0.106 233.0);
Tailwind
colors: {
  custom: {
    50: '#7aaccc',
    500: '#2f8bb6',
    950: '#000000',
  },
}
SCSS
$custom: #2f8bb6;
$custom-light: #7aaccc;
$custom-dark: #000000;
JSON
{
  "hex": "#2f8bb6",
  "rgb": {
    "r": 47,
    "g": 139,
    "b": 182
  },
  "hsl": {
    "h": 199.111,
    "s": 58.952,
    "l": 44.902
  },
  "oklch": {
    "l": 0.60228,
    "c": 0.10646,
    "h": 233
  },
  "luminance": 0.22447
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2F8BB6

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

Preview Lab → · Contrast checker → · Palette generator →

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