#2F8AAC#2F8AAC

#2F8AAC is a mid, moderate cyan. Relative luminance 0.218; OKLCH L 59.5% C 0.098 H 227.1°. Best body text is #000000 at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#2F8AAC
RGBrgb(47, 138, 172)
HSLhsl(196, 57%, 43%)
HSVhsv(196, 73%, 67%)
CMYKcmyk(72.7%, 19.8%, 0%, 32.5%)
CIE-LABlab(53.77, -15.18, -25.63)
CIE-LCHlch(53.77, 29.79, 239.36°)
OKLaboklab(59.51% -0.0667 -0.0718)
OKLCHoklch(59.51% 0.098 227.1)
XYZxyz(17.7041, 21.7578, 42.2883)
Luminance0.2176 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F8AAC #AC512F
analogous
#2FAC8F #2F8AAC #2F4BAC
triadic
#2F8AAC #AC2F8A #8AAC2F
tetradic
#2F8AAC #8F2FAC #AC512F #4BAC2F
square
#2F8AAC #8F2FAC #AC512F #4BAC2F
split-complementary
#2F8AAC #AC2F4B #AC8F2F
monochromatic
#153D4C #22637C #2F8AAC #4BAACE #7BC1DB

Accessibility & contrast

On white

3.92
#2F8AAC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.35
#2F8AAC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F8AAC
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F8AAC#FFFFFF#000000##000000
##2F8AAC1.003.925.355.35
#FFFFFF3.921.0021.0021.00
#0000005.3521.001.001.00
##0000005.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7887AE
Deuteranopia (green-blind)
#677BAC
Tritanopia (blue-blind)
#009495
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #2f8aac;
/* rgb */ color: rgb(47, 138, 172);
/* oklch */ color: oklch(59.5% 0.098 227.1);
Tailwind
colors: {
  custom: {
    50: '#79acc4',
    500: '#2f8aac',
    950: '#000000',
  },
}
SCSS
$custom: #2f8aac;
$custom-light: #79acc4;
$custom-dark: #000000;
JSON
{
  "hex": "#2f8aac",
  "rgb": {
    "r": 47,
    "g": 138,
    "b": 172
  },
  "hsl": {
    "h": 196.32,
    "s": 57.078,
    "l": 42.941
  },
  "oklch": {
    "l": 0.59509,
    "c": 0.09802,
    "h": 227.1
  },
  "luminance": 0.2176
}

Semantic roles & 50–950 ramp

primary
#2F8AAC
secondary
#C38974
accent
#7147E0
background
#F7FAFC
surface
#EEF4F8
border
#C9CED1
text
#0A1012
muted
#7C7F81

Preview Lab

Preview with #2F8AAC

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

Preview Lab → · Contrast checker → · Palette generator →

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