#2F8FA8#2F8FA8

#2F8FA8 is a mid, moderate cyan. Relative luminance 0.231; OKLCH L 60.6% C 0.094 H 218.9°. Best body text is #000000 at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#2F8FA8
RGBrgb(47, 143, 168)
HSLhsl(192, 56%, 42%)
HSVhsv(192, 72%, 66%)
CMYKcmyk(72%, 14.9%, 0%, 34.1%)
CIE-LABlab(55.15, -19.23, -21.21)
CIE-LCHlch(55.15, 28.63, 227.81°)
OKLaboklab(60.56% -0.0734 -0.0592)
OKLCHoklch(60.56% 0.094 218.9)
XYZxyz(18.0597, 23.0743, 40.5402)
Luminance0.2308 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F8FA8 #A8482F
analogous
#2FA885 #2F8FA8 #2F52A8
triadic
#2F8FA8 #A82F8F #8FA82F
tetradic
#2F8FA8 #852FA8 #A8482F #52A82F
square
#2F8FA8 #852FA8 #A8482F #52A82F
split-complementary
#2F8FA8 #A82F52 #A8852F
monochromatic
#143E48 #226678 #2F8FA8 #48B1CC #78C5D9

Accessibility & contrast

On white

3.74
#2F8FA8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.62
#2F8FA8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F8FA8
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F8FA8#FFFFFF#000000##000000
##2F8FA81.003.745.625.62
#FFFFFF3.741.0021.0021.00
#0000005.6221.001.001.00
##0000005.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7F8BA9
Deuteranopia (green-blind)
#6F7FA8
Tritanopia (blue-blind)
#009797
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #2f8fa8;
/* rgb */ color: rgb(47, 143, 168);
/* oklch */ color: oklch(60.6% 0.094 218.9);
Tailwind
colors: {
  custom: {
    50: '#78b0c2',
    500: '#2f8fa8',
    950: '#000000',
  },
}
SCSS
$custom: #2f8fa8;
$custom-light: #78b0c2;
$custom-dark: #000000;
JSON
{
  "hex": "#2f8fa8",
  "rgb": {
    "r": 47,
    "g": 143,
    "b": 168
  },
  "hsl": {
    "h": 192.397,
    "s": 56.279,
    "l": 42.157
  },
  "oklch": {
    "l": 0.60562,
    "c": 0.09428,
    "h": 218.9
  },
  "luminance": 0.23076
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2F8FA8

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

Preview Lab → · Contrast checker → · Palette generator →

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