#2F8CA7#2F8CA7

#2F8CA7 is a mid, moderate cyan. Relative luminance 0.222; OKLCH L 59.8% C 0.094 H 221.2°. Best body text is #000000 at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#2F8CA7
RGBrgb(47, 140, 167)
HSLhsl(194, 56%, 42%)
HSVhsv(194, 72%, 65%)
CMYKcmyk(71.9%, 16.2%, 0%, 34.5%)
CIE-LABlab(54.18, -17.95, -22.12)
CIE-LCHlch(54.18, 28.48, 230.94°)
OKLaboklab(59.78% -0.0707 -0.0618)
OKLCHoklch(59.78% 0.094 221.2)
XYZxyz(17.5225, 22.1485, 39.9033)
Luminance0.2215 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F8CA7 #A74A2F
analogous
#2FA786 #2F8CA7 #2F50A7
triadic
#2F8CA7 #A72F8C #8CA72F
tetradic
#2F8CA7 #862FA7 #A74A2F #50A72F
square
#2F8CA7 #862FA7 #A74A2F #50A72F
split-complementary
#2F8CA7 #A72F50 #A7862F
monochromatic
#143C47 #226477 #2F8CA7 #48AECB #78C3D9

Accessibility & contrast

On white

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

On black

5.43
#2F8CA7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F8CA7
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F8CA7#FFFFFF#000000##000000
##2F8CA71.003.875.435.43
#FFFFFF3.871.0021.0021.00
#0000005.4321.001.001.00
##0000005.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7C88A8
Deuteranopia (green-blind)
#6B7CA7
Tritanopia (blue-blind)
#009595
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #2f8ca7;
/* rgb */ color: rgb(47, 140, 167);
/* oklch */ color: oklch(59.8% 0.094 221.2);
Tailwind
colors: {
  custom: {
    50: '#78adc1',
    500: '#2f8ca7',
    950: '#000000',
  },
}
SCSS
$custom: #2f8ca7;
$custom-light: #78adc1;
$custom-dark: #000000;
JSON
{
  "hex": "#2f8ca7",
  "rgb": {
    "r": 47,
    "g": 140,
    "b": 167
  },
  "hsl": {
    "h": 193.5,
    "s": 56.075,
    "l": 41.961
  },
  "oklch": {
    "l": 0.59775,
    "c": 0.09388,
    "h": 221.2
  },
  "luminance": 0.22151
}

Semantic roles & 50–950 ramp

primary
#2F8CA7
secondary
#C18371
accent
#6A48DF
background
#F7FAFB
surface
#EEF4F7
border
#C9CED0
text
#0A1012
muted
#7C7F81

Preview Lab

Preview with #2F8CA7

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

Preview Lab → · Contrast checker → · Palette generator →

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