#2F8BAC#2F8BAC

#2F8BAC is a mid, moderate cyan. Relative luminance 0.220; OKLCH L 59.8% C 0.098 H 226.1°. Best body text is #000000 at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#2F8BAC
RGBrgb(47, 139, 172)
HSLhsl(196, 57%, 43%)
HSVhsv(196, 73%, 67%)
CMYKcmyk(72.7%, 19.2%, 0%, 32.5%)
CIE-LABlab(54.08, -15.73, -25.16)
CIE-LCHlch(54.08, 29.67, 237.98°)
OKLaboklab(59.75% -0.0677 -0.0705)
OKLCHoklch(59.75% 0.098 226.1)
XYZxyz(17.8483, 22.0461, 42.3364)
Luminance0.2205 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F8BAC #AC502F
analogous
#2FAC8E #2F8BAC #2F4CAC
triadic
#2F8BAC #AC2F8B #8BAC2F
tetradic
#2F8BAC #8E2FAC #AC502F #4CAC2F
square
#2F8BAC #8E2FAC #AC502F #4CAC2F
split-complementary
#2F8BAC #AC2F4C #AC8E2F
monochromatic
#153D4C #22647C #2F8BAC #4BABCE #7BC1DB

Accessibility & contrast

On white

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

On black

5.41
#2F8BAC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F8BAC
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F8BAC#FFFFFF#000000##000000
##2F8BAC1.003.885.415.41
#FFFFFF3.881.0021.0021.00
#0000005.4121.001.001.00
##0000005.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7988AE
Deuteranopia (green-blind)
#687CAC
Tritanopia (blue-blind)
#009596
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #2f8bac;
/* rgb */ color: rgb(47, 139, 172);
/* oklch */ color: oklch(59.8% 0.098 226.1);
Tailwind
colors: {
  custom: {
    50: '#79adc4',
    500: '#2f8bac',
    950: '#000000',
  },
}
SCSS
$custom: #2f8bac;
$custom-light: #79adc4;
$custom-dark: #000000;
JSON
{
  "hex": "#2f8bac",
  "rgb": {
    "r": 47,
    "g": 139,
    "b": 172
  },
  "hsl": {
    "h": 195.84,
    "s": 57.078,
    "l": 42.941
  },
  "oklch": {
    "l": 0.59754,
    "c": 0.09773,
    "h": 226.1
  },
  "luminance": 0.22048
}

Semantic roles & 50–950 ramp

primary
#2F8BAC
secondary
#C38974
accent
#7047E0
background
#F7FAFC
surface
#EEF4F8
border
#C9CED1
text
#0A1012
muted
#7C7F81

Preview Lab

Preview with #2F8BAC

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

Preview Lab → · Contrast checker → · Palette generator →

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