#2F8EA8#2F8EA8

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

Color values

HEX#2F8EA8
RGBrgb(47, 142, 168)
HSLhsl(193, 56%, 42%)
HSVhsv(193, 72%, 66%)
CMYKcmyk(72%, 15.5%, 0%, 34.1%)
CIE-LABlab(54.84, -18.69, -21.68)
CIE-LCHlch(54.84, 28.63, 229.24°)
OKLaboklab(60.31% -0.0723 -0.0605)
OKLCHoklch(60.31% 0.094 219.9)
XYZxyz(17.9102, 22.7754, 40.4904)
Luminance0.2278 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F8EA8 #A8492F
analogous
#2FA886 #2F8EA8 #2F51A8
triadic
#2F8EA8 #A82F8E #8EA82F
tetradic
#2F8EA8 #862FA8 #A8492F #51A82F
square
#2F8EA8 #862FA8 #A8492F #51A82F
split-complementary
#2F8EA8 #A82F51 #A8862F
monochromatic
#143D48 #226678 #2F8EA8 #48B0CC #78C4D9

Accessibility & contrast

On white

3.78
#2F8EA8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.56
#2F8EA8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F8EA8
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F8EA8#FFFFFF#000000##000000
##2F8EA81.003.785.565.56
#FFFFFF3.781.0021.0021.00
#0000005.5621.001.001.00
##0000005.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7E8AA9
Deuteranopia (green-blind)
#6D7EA8
Tritanopia (blue-blind)
#009796
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #2f8ea8;
/* rgb */ color: rgb(47, 142, 168);
/* oklch */ color: oklch(60.3% 0.094 219.9);
Tailwind
colors: {
  custom: {
    50: '#78afc2',
    500: '#2f8ea8',
    950: '#000000',
  },
}
SCSS
$custom: #2f8ea8;
$custom-light: #78afc2;
$custom-dark: #000000;
JSON
{
  "hex": "#2f8ea8",
  "rgb": {
    "r": 47,
    "g": 142,
    "b": 168
  },
  "hsl": {
    "h": 192.893,
    "s": 56.279,
    "l": 42.157
  },
  "oklch": {
    "l": 0.60314,
    "c": 0.09434,
    "h": 219.9
  },
  "luminance": 0.22777
}

Semantic roles & 50–950 ramp

primary
#2F8EA8
secondary
#C18371
accent
#6948E0
background
#F7FAFB
surface
#EEF4F7
border
#C9CED0
text
#0A1012
muted
#7C7F81

Preview Lab

Preview with #2F8EA8

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

Preview Lab → · Contrast checker → · Palette generator →

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