#2F8AB1#2F8AB1

#2F8AB1 is a mid, moderate cyan. Relative luminance 0.220; OKLCH L 59.7% C 0.102 H 230.7°. Best body text is #000000 at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#2F8AB1
RGBrgb(47, 138, 177)
HSLhsl(198, 58%, 44%)
HSVhsv(198, 73%, 69%)
CMYKcmyk(73.4%, 22%, 0%, 30.6%)
CIE-LABlab(53.98, -13.47, -28.18)
CIE-LCHlch(53.98, 31.23, 244.45°)
OKLaboklab(59.74% -0.0648 -0.0791)
OKLCHoklch(59.74% 0.102 230.7)
XYZxyz(18.1934, 21.9535, 44.8650)
Luminance0.2196 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F8AB1 #B1562F
analogous
#2FB197 #2F8AB1 #2F49B1
triadic
#2F8AB1 #B12F8A #8AB12F
tetradic
#2F8AB1 #972FB1 #B1562F #49B12F
square
#2F8AB1 #972FB1 #B1562F #49B12F
split-complementary
#2F8AB1 #B12F49 #B1972F
monochromatic
#153F50 #226481 #2F8AB1 #4DA9D0 #7EC0DD

Accessibility & contrast

On white

3.90
#2F8AB1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.39
#2F8AB1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F8AB1
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F8AB1#FFFFFF#000000##000000
##2F8AB11.003.905.395.39
#FFFFFF3.901.0021.0021.00
#0000005.3921.001.001.00
##0000005.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7688B3
Deuteranopia (green-blind)
#657BB0
Tritanopia (blue-blind)
#009597
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #2f8ab1;
/* rgb */ color: rgb(47, 138, 177);
/* oklch */ color: oklch(59.7% 0.102 230.7);
Tailwind
colors: {
  custom: {
    50: '#79acc8',
    500: '#2f8ab1',
    950: '#000000',
  },
}
SCSS
$custom: #2f8ab1;
$custom-light: #79acc8;
$custom-dark: #000000;
JSON
{
  "hex": "#2f8ab1",
  "rgb": {
    "r": 47,
    "g": 138,
    "b": 177
  },
  "hsl": {
    "h": 198,
    "s": 58.036,
    "l": 43.922
  },
  "oklch": {
    "l": 0.59744,
    "c": 0.10231,
    "h": 230.7
  },
  "luminance": 0.21956
}

Semantic roles & 50–950 ramp

primary
#2F8AB1
secondary
#C58E76
accent
#7547E1
background
#F8FAFC
surface
#EFF4F8
border
#CACED1
text
#0A1013
muted
#7C7F82

Preview Lab

Preview with #2F8AB1

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

Preview Lab → · Contrast checker → · Palette generator →

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