#2F8AB3#2F8AB3

#2F8AB3 is a mid, moderate cyan. Relative luminance 0.220; OKLCH L 59.8% C 0.104 H 232.0°. Best body text is #000000 at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#2F8AB3
RGBrgb(47, 138, 179)
HSLhsl(199, 58%, 44%)
HSVhsv(199, 74%, 70%)
CMYKcmyk(73.7%, 22.9%, 0%, 29.8%)
CIE-LABlab(54.06, -12.78, -29.19)
CIE-LCHlch(54.06, 31.86, 246.35°)
OKLaboklab(59.84% -0.0641 -0.0821)
OKLCHoklch(59.84% 0.104 232)
XYZxyz(18.3942, 22.0338, 45.9226)
Luminance0.2204 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F8AB3 #B3582F
analogous
#2FB39A #2F8AB3 #2F48B3
triadic
#2F8AB3 #B32F8A #8AB32F
tetradic
#2F8AB3 #9A2FB3 #B3582F #48B32F
square
#2F8AB3 #9A2FB3 #B3582F #48B32F
split-complementary
#2F8AB3 #B32F48 #B39A2F
monochromatic
#163F52 #226583 #2F8AB3 #4FA8D1 #7FC0DD

Accessibility & contrast

On white

3.88
#2F8AB3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.41
#2F8AB3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F8AB3
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F8AB3#FFFFFF#000000##000000
##2F8AB31.003.885.415.41
#FFFFFF3.881.0021.0021.00
#0000005.4121.001.001.00
##0000005.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7588B5
Deuteranopia (green-blind)
#647CB2
Tritanopia (blue-blind)
#009598
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #2f8ab3;
/* rgb */ color: rgb(47, 138, 179);
/* oklch */ color: oklch(59.8% 0.104 232.0);
Tailwind
colors: {
  custom: {
    50: '#7aacca',
    500: '#2f8ab3',
    950: '#000000',
  },
}
SCSS
$custom: #2f8ab3;
$custom-light: #7aacca;
$custom-dark: #000000;
JSON
{
  "hex": "#2f8ab3",
  "rgb": {
    "r": 47,
    "g": 138,
    "b": 179
  },
  "hsl": {
    "h": 198.636,
    "s": 58.407,
    "l": 44.314
  },
  "oklch": {
    "l": 0.5984,
    "c": 0.10413,
    "h": 232
  },
  "luminance": 0.22036
}

Semantic roles & 50–950 ramp

primary
#2F8AB3
secondary
#C69078
accent
#7646E2
background
#F8FAFC
surface
#EFF4F8
border
#CACED1
text
#0A1013
muted
#7C7F82

Preview Lab

Preview with #2F8AB3

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

Preview Lab → · Contrast checker → · Palette generator →

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