#2F8BAF#2F8BAF

#2F8BAF is a mid, moderate cyan. Relative luminance 0.222; OKLCH L 59.9% C 0.100 H 228.4°. Best body text is #000000 at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#2F8BAF
RGBrgb(47, 139, 175)
HSLhsl(197, 58%, 44%)
HSVhsv(197, 73%, 69%)
CMYKcmyk(73.1%, 20.6%, 0%, 31.4%)
CIE-LABlab(54.20, -14.71, -26.69)
CIE-LCHlch(54.20, 30.47, 241.13°)
OKLaboklab(59.89% -0.0666 -0.0749)
OKLCHoklch(59.89% 0.1 228.4)
XYZxyz(18.1396, 22.1626, 43.8709)
Luminance0.2217 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F8BAF #AF532F
analogous
#2FAF93 #2F8BAF #2F4BAF
triadic
#2F8BAF #AF2F8B #8BAF2F
tetradic
#2F8BAF #932FAF #AF532F #4BAF2F
square
#2F8BAF #932FAF #AF532F #4BAF2F
split-complementary
#2F8BAF #AF2F4B #AF932F
monochromatic
#153E4F #22657F #2F8BAF #4CAACF #7CC1DC

Accessibility & contrast

On white

3.87
#2F8BAF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.43
#2F8BAF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F8BAF
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F8BAF#FFFFFF#000000##000000
##2F8BAF1.003.875.435.43
#FFFFFF3.871.0021.0021.00
#0000005.4321.001.001.00
##0000005.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7889B1
Deuteranopia (green-blind)
#677CAF
Tritanopia (blue-blind)
#009597
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #2f8baf;
/* rgb */ color: rgb(47, 139, 175);
/* oklch */ color: oklch(59.9% 0.100 228.4);
Tailwind
colors: {
  custom: {
    50: '#79adc7',
    500: '#2f8baf',
    950: '#000000',
  },
}
SCSS
$custom: #2f8baf;
$custom-light: #79adc7;
$custom-dark: #000000;
JSON
{
  "hex": "#2f8baf",
  "rgb": {
    "r": 47,
    "g": 139,
    "b": 175
  },
  "hsl": {
    "h": 196.875,
    "s": 57.658,
    "l": 43.529
  },
  "oklch": {
    "l": 0.59893,
    "c": 0.10018,
    "h": 228.4
  },
  "luminance": 0.22165
}

Semantic roles & 50–950 ramp

primary
#2F8BAF
secondary
#C48C75
accent
#7247E1
background
#F7FAFC
surface
#EEF4F8
border
#C9CED1
text
#0A1013
muted
#7C7F82

Preview Lab

Preview with #2F8BAF

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

Preview Lab → · Contrast checker → · Palette generator →

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