#2F8DA8#2F8DA8

#2F8DA8 is a mid, moderate cyan. Relative luminance 0.225; OKLCH L 60.1% C 0.094 H 221.0°. Best body text is #000000 at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#2F8DA8
RGBrgb(47, 141, 168)
HSLhsl(193, 56%, 42%)
HSVhsv(193, 72%, 66%)
CMYKcmyk(72%, 16.1%, 0%, 34.1%)
CIE-LABlab(54.53, -18.16, -22.16)
CIE-LCHlch(54.53, 28.65, 230.67°)
OKLaboklab(60.07% -0.0713 -0.0619)
OKLCHoklch(60.07% 0.094 221)
XYZxyz(17.7621, 22.4792, 40.4410)
Luminance0.2248 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F8DA8 #A84A2F
analogous
#2FA886 #2F8DA8 #2F51A8
triadic
#2F8DA8 #A82F8D #8DA82F
tetradic
#2F8DA8 #862FA8 #A84A2F #51A82F
square
#2F8DA8 #862FA8 #A84A2F #51A82F
split-complementary
#2F8DA8 #A82F51 #A8862F
monochromatic
#143D48 #226578 #2F8DA8 #48AFCC #78C4D9

Accessibility & contrast

On white

3.82
#2F8DA8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.50
#2F8DA8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F8DA8
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F8DA8#FFFFFF#000000##000000
##2F8DA81.003.825.505.50
#FFFFFF3.821.0021.0021.00
#0000005.5021.001.001.00
##0000005.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7D89A9
Deuteranopia (green-blind)
#6C7DA8
Tritanopia (blue-blind)
#009696
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #2f8da8;
/* rgb */ color: rgb(47, 141, 168);
/* oklch */ color: oklch(60.1% 0.094 221.0);
Tailwind
colors: {
  custom: {
    50: '#78aec2',
    500: '#2f8da8',
    950: '#000000',
  },
}
SCSS
$custom: #2f8da8;
$custom-light: #78aec2;
$custom-dark: #000000;
JSON
{
  "hex": "#2f8da8",
  "rgb": {
    "r": 47,
    "g": 141,
    "b": 168
  },
  "hsl": {
    "h": 193.388,
    "s": 56.279,
    "l": 42.157
  },
  "oklch": {
    "l": 0.60067,
    "c": 0.09443,
    "h": 221
  },
  "luminance": 0.22481
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2F8DA8

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

Preview Lab → · Contrast checker → · Palette generator →

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