#2F8BAB#2F8BAB

#2F8BAB is a mid, moderate cyan. Relative luminance 0.220; OKLCH L 59.7% C 0.097 H 225.4°. Best body text is #000000 at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#2F8BAB
RGBrgb(47, 139, 171)
HSLhsl(195, 57%, 43%)
HSVhsv(195, 73%, 67%)
CMYKcmyk(72.5%, 18.7%, 0%, 32.9%)
CIE-LABlab(54.04, -16.07, -24.64)
CIE-LCHlch(54.04, 29.42, 236.90°)
OKLaboklab(59.71% -0.0681 -0.069)
OKLCHoklch(59.71% 0.097 225.4)
XYZxyz(17.7526, 22.0078, 41.8325)
Luminance0.2201 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F8BAB #AB4F2F
analogous
#2FAB8D #2F8BAB #2F4DAB
triadic
#2F8BAB #AB2F8B #8BAB2F
tetradic
#2F8BAB #8D2FAB #AB4F2F #4DAB2F
square
#2F8BAB #8D2FAB #AB4F2F #4DAB2F
split-complementary
#2F8BAB #AB2F4D #AB8D2F
monochromatic
#153D4B #22647B #2F8BAB #4AABCD #7AC2DA

Accessibility & contrast

On white

3.89
#2F8BAB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.40
#2F8BAB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F8BAB
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F8BAB#FFFFFF#000000##000000
##2F8BAB1.003.895.405.40
#FFFFFF3.891.0021.0021.00
#0000005.4021.001.001.00
##0000005.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7988AD
Deuteranopia (green-blind)
#687CAB
Tritanopia (blue-blind)
#009495
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #2f8bab;
/* rgb */ color: rgb(47, 139, 171);
/* oklch */ color: oklch(59.7% 0.097 225.4);
Tailwind
colors: {
  custom: {
    50: '#79adc4',
    500: '#2f8bab',
    950: '#000000',
  },
}
SCSS
$custom: #2f8bab;
$custom-light: #79adc4;
$custom-dark: #000000;
JSON
{
  "hex": "#2f8bab",
  "rgb": {
    "r": 47,
    "g": 139,
    "b": 171
  },
  "hsl": {
    "h": 195.484,
    "s": 56.881,
    "l": 42.745
  },
  "oklch": {
    "l": 0.59708,
    "c": 0.09695,
    "h": 225.4
  },
  "luminance": 0.2201
}

Semantic roles & 50–950 ramp

primary
#2F8BAB
secondary
#C38873
accent
#6F48E0
background
#F7FAFC
surface
#EEF4F8
border
#C9CED1
text
#0A1012
muted
#7C7F81

Preview Lab

Preview with #2F8BAB

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

Preview Lab → · Contrast checker → · Palette generator →

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