#2F8CA6#2F8CA6

#2F8CA6 is a mid, moderate cyan. Relative luminance 0.221; OKLCH L 59.7% C 0.093 H 220.3°. Best body text is #000000 at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#2F8CA6
RGBrgb(47, 140, 166)
HSLhsl(193, 56%, 42%)
HSVhsv(193, 72%, 65%)
CMYKcmyk(71.7%, 15.7%, 0%, 34.9%)
CIE-LABlab(54.15, -18.28, -21.60)
CIE-LCHlch(54.15, 28.30, 229.76°)
OKLaboklab(59.73% -0.0711 -0.0603)
OKLCHoklch(59.73% 0.093 220.3)
XYZxyz(17.4305, 22.1117, 39.4183)
Luminance0.2211 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F8CA6 #A6492F
analogous
#2FA685 #2F8CA6 #2F51A6
triadic
#2F8CA6 #A62F8C #8CA62F
tetradic
#2F8CA6 #852FA6 #A6492F #51A62F
square
#2F8CA6 #852FA6 #A6492F #51A62F
split-complementary
#2F8CA6 #A62F51 #A6852F
monochromatic
#143C47 #216476 #2F8CA6 #47AECB #77C3D8

Accessibility & contrast

On white

3.87
#2F8CA6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.42
#2F8CA6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F8CA6
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F8CA6#FFFFFF#000000##000000
##2F8CA61.003.875.425.42
#FFFFFF3.871.0021.0021.00
#0000005.4221.001.001.00
##0000005.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7C88A7
Deuteranopia (green-blind)
#6C7CA6
Tritanopia (blue-blind)
#009494
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #2f8ca6;
/* rgb */ color: rgb(47, 140, 166);
/* oklch */ color: oklch(59.7% 0.093 220.3);
Tailwind
colors: {
  custom: {
    50: '#78adc0',
    500: '#2f8ca6',
    950: '#000000',
  },
}
SCSS
$custom: #2f8ca6;
$custom-light: #78adc0;
$custom-dark: #000000;
JSON
{
  "hex": "#2f8ca6",
  "rgb": {
    "r": 47,
    "g": 140,
    "b": 166
  },
  "hsl": {
    "h": 193.109,
    "s": 55.869,
    "l": 41.765
  },
  "oklch": {
    "l": 0.59731,
    "c": 0.09322,
    "h": 220.3
  },
  "luminance": 0.22114
}

Semantic roles & 50–950 ramp

primary
#2F8CA6
secondary
#C18270
accent
#6A49DF
background
#F7FAFB
surface
#EEF4F7
border
#C9CED0
text
#0A1012
muted
#7C7F81

Preview Lab

Preview with #2F8CA6

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

Preview Lab → · Contrast checker → · Palette generator →

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