#2F8EA7#2F8EA7

#2F8EA7 is a mid, moderate cyan. Relative luminance 0.227; OKLCH L 60.3% C 0.094 H 219.1°. Best body text is #000000 at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#2F8EA7
RGBrgb(47, 142, 167)
HSLhsl(193, 56%, 42%)
HSVhsv(193, 72%, 65%)
CMYKcmyk(71.9%, 15%, 0%, 34.5%)
CIE-LABlab(54.80, -19.02, -21.17)
CIE-LCHlch(54.80, 28.46, 228.06°)
OKLaboklab(60.27% -0.0727 -0.0591)
OKLCHoklch(60.27% 0.094 219.1)
XYZxyz(17.8174, 22.7383, 40.0016)
Luminance0.2274 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F8EA7 #A7482F
analogous
#2FA784 #2F8EA7 #2F52A7
triadic
#2F8EA7 #A72F8E #8EA72F
tetradic
#2F8EA7 #842FA7 #A7482F #52A72F
square
#2F8EA7 #842FA7 #A7482F #52A72F
split-complementary
#2F8EA7 #A72F52 #A7842F
monochromatic
#143D47 #226577 #2F8EA7 #48B0CB #78C5D9

Accessibility & contrast

On white

3.79
#2F8EA7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.55
#2F8EA7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F8EA7
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F8EA7#FFFFFF#000000##000000
##2F8EA71.003.795.555.55
#FFFFFF3.791.0021.0021.00
#0000005.5521.001.001.00
##0000005.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7E8AA8
Deuteranopia (green-blind)
#6E7EA7
Tritanopia (blue-blind)
#009696
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #2f8ea7;
/* rgb */ color: rgb(47, 142, 167);
/* oklch */ color: oklch(60.3% 0.094 219.1);
Tailwind
colors: {
  custom: {
    50: '#78afc1',
    500: '#2f8ea7',
    950: '#000000',
  },
}
SCSS
$custom: #2f8ea7;
$custom-light: #78afc1;
$custom-dark: #000000;
JSON
{
  "hex": "#2f8ea7",
  "rgb": {
    "r": 47,
    "g": 142,
    "b": 167
  },
  "hsl": {
    "h": 192.5,
    "s": 56.075,
    "l": 41.961
  },
  "oklch": {
    "l": 0.6027,
    "c": 0.09372,
    "h": 219.1
  },
  "luminance": 0.2274
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2F8EA7

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

Preview Lab → · Contrast checker → · Palette generator →

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