#2F8CA8#2F8CA8

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

Color values

HEX#2F8CA8
RGBrgb(47, 140, 168)
HSLhsl(194, 56%, 42%)
HSVhsv(194, 72%, 66%)
CMYKcmyk(72%, 16.7%, 0%, 34.1%)
CIE-LABlab(54.22, -17.62, -22.63)
CIE-LCHlch(54.22, 28.68, 232.10°)
OKLaboklab(59.82% -0.0703 -0.0632)
OKLCHoklch(59.82% 0.095 222)
XYZxyz(17.6153, 22.1856, 40.3921)
Luminance0.2219 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F8CA8 #A84B2F
analogous
#2FA887 #2F8CA8 #2F50A8
triadic
#2F8CA8 #A82F8C #8CA82F
tetradic
#2F8CA8 #872FA8 #A84B2F #50A82F
square
#2F8CA8 #872FA8 #A84B2F #50A82F
split-complementary
#2F8CA8 #A82F50 #A8872F
monochromatic
#143C48 #226478 #2F8CA8 #48ADCC #78C3D9

Accessibility & contrast

On white

3.86
#2F8CA8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.44
#2F8CA8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F8CA8
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F8CA8#FFFFFF#000000##000000
##2F8CA81.003.865.445.44
#FFFFFF3.861.0021.0021.00
#0000005.4421.001.001.00
##0000005.4421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2f8ca8;
/* rgb */ color: rgb(47, 140, 168);
/* oklch */ color: oklch(59.8% 0.095 222.0);
Tailwind
colors: {
  custom: {
    50: '#78adc2',
    500: '#2f8ca8',
    950: '#000000',
  },
}
SCSS
$custom: #2f8ca8;
$custom-light: #78adc2;
$custom-dark: #000000;
JSON
{
  "hex": "#2f8ca8",
  "rgb": {
    "r": 47,
    "g": 140,
    "b": 168
  },
  "hsl": {
    "h": 193.884,
    "s": 56.279,
    "l": 42.157
  },
  "oklch": {
    "l": 0.59819,
    "c": 0.09455,
    "h": 222
  },
  "luminance": 0.22188
}

Semantic roles & 50–950 ramp

primary
#2F8CA8
secondary
#C18471
accent
#6B48E0
background
#F7FAFB
surface
#EEF4F7
border
#C9CED0
text
#0A1012
muted
#7C7F81

Preview Lab

Preview with #2F8CA8

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

Preview Lab → · Contrast checker → · Palette generator →

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