#2F8AAB#2F8AAB

#2F8AAB is a mid, moderate cyan. Relative luminance 0.217; OKLCH L 59.5% C 0.097 H 226.4°. Best body text is #000000 at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#2F8AAB
RGBrgb(47, 138, 171)
HSLhsl(196, 57%, 43%)
HSVhsv(196, 73%, 67%)
CMYKcmyk(72.5%, 19.3%, 0%, 32.9%)
CIE-LABlab(53.73, -15.52, -25.12)
CIE-LCHlch(53.73, 29.52, 238.29°)
OKLaboklab(59.46% -0.0671 -0.0704)
OKLCHoklch(59.46% 0.097 226.4)
XYZxyz(17.6085, 21.7195, 41.7845)
Luminance0.2172 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F8AAB #AB502F
analogous
#2FAB8E #2F8AAB #2F4CAB
triadic
#2F8AAB #AB2F8A #8AAB2F
tetradic
#2F8AAB #8E2FAB #AB502F #4CAB2F
square
#2F8AAB #8E2FAB #AB502F #4CAB2F
split-complementary
#2F8AAB #AB2F4C #AB8E2F
monochromatic
#153D4B #22637B #2F8AAB #4AAACD #7AC1DA

Accessibility & contrast

On white

3.93
#2F8AAB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.34
#2F8AAB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F8AAB
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F8AAB#FFFFFF#000000##000000
##2F8AAB1.003.935.345.34
#FFFFFF3.931.0021.0021.00
#0000005.3421.001.001.00
##0000005.3421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2f8aab;
/* rgb */ color: rgb(47, 138, 171);
/* oklch */ color: oklch(59.5% 0.097 226.4);
Tailwind
colors: {
  custom: {
    50: '#78acc4',
    500: '#2f8aab',
    950: '#000000',
  },
}
SCSS
$custom: #2f8aab;
$custom-light: #78acc4;
$custom-dark: #000000;
JSON
{
  "hex": "#2f8aab",
  "rgb": {
    "r": 47,
    "g": 138,
    "b": 171
  },
  "hsl": {
    "h": 195.968,
    "s": 56.881,
    "l": 42.745
  },
  "oklch": {
    "l": 0.59462,
    "c": 0.09721,
    "h": 226.4
  },
  "luminance": 0.21722
}

Semantic roles & 50–950 ramp

primary
#2F8AAB
secondary
#C38873
accent
#7048E0
background
#F7FAFC
surface
#EEF4F8
border
#C9CED1
text
#0A1012
muted
#7C7F81

Preview Lab

Preview with #2F8AAB

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

Preview Lab → · Contrast checker → · Palette generator →

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