#2F8DA7#2F8DA7

#2F8DA7 is a mid, moderate cyan. Relative luminance 0.224; OKLCH L 60.0% C 0.094 H 220.1°. Best body text is #000000 at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#2F8DA7
RGBrgb(47, 141, 167)
HSLhsl(193, 56%, 42%)
HSVhsv(193, 72%, 65%)
CMYKcmyk(71.9%, 15.6%, 0%, 34.5%)
CIE-LABlab(54.49, -18.49, -21.64)
CIE-LCHlch(54.49, 28.46, 229.50°)
OKLaboklab(60.02% -0.0717 -0.0604)
OKLCHoklch(60.02% 0.094 220.1)
XYZxyz(17.6693, 22.4421, 39.9523)
Luminance0.2244 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F8DA7 #A7492F
analogous
#2FA785 #2F8DA7 #2F51A7
triadic
#2F8DA7 #A72F8D #8DA72F
tetradic
#2F8DA7 #852FA7 #A7492F #51A72F
square
#2F8DA7 #852FA7 #A7492F #51A72F
split-complementary
#2F8DA7 #A72F51 #A7852F
monochromatic
#143C47 #226577 #2F8DA7 #48AFCB #78C4D9

Accessibility & contrast

On white

3.83
#2F8DA7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.49
#2F8DA7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F8DA7
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F8DA7#FFFFFF#000000##000000
##2F8DA71.003.835.495.49
#FFFFFF3.831.0021.0021.00
#0000005.4921.001.001.00
##0000005.4921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2f8da7;
/* rgb */ color: rgb(47, 141, 167);
/* oklch */ color: oklch(60.0% 0.094 220.1);
Tailwind
colors: {
  custom: {
    50: '#78aec1',
    500: '#2f8da7',
    950: '#000000',
  },
}
SCSS
$custom: #2f8da7;
$custom-light: #78aec1;
$custom-dark: #000000;
JSON
{
  "hex": "#2f8da7",
  "rgb": {
    "r": 47,
    "g": 141,
    "b": 167
  },
  "hsl": {
    "h": 193,
    "s": 56.075,
    "l": 41.961
  },
  "oklch": {
    "l": 0.60023,
    "c": 0.09378,
    "h": 220.1
  },
  "luminance": 0.22444
}

Semantic roles & 50–950 ramp

primary
#2F8DA7
secondary
#C18271
accent
#6948DF
background
#F7FAFB
surface
#EEF4F7
border
#C9CED0
text
#0A1012
muted
#7C7F81

Preview Lab

Preview with #2F8DA7

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

Preview Lab → · Contrast checker → · Palette generator →

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