#2F8BAE#2F8BAE

#2F8BAE is a mid, moderate cyan. Relative luminance 0.221; OKLCH L 59.8% C 0.099 H 227.6°. Best body text is #000000 at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#2F8BAE
RGBrgb(47, 139, 174)
HSLhsl(197, 57%, 43%)
HSVhsv(197, 73%, 68%)
CMYKcmyk(73%, 20.1%, 0%, 31.8%)
CIE-LABlab(54.16, -15.05, -26.18)
CIE-LCHlch(54.16, 30.19, 240.10°)
OKLaboklab(59.85% -0.0669 -0.0734)
OKLCHoklch(59.85% 0.099 227.6)
XYZxyz(18.0418, 22.1235, 43.3556)
Luminance0.2213 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F8BAE #AE522F
analogous
#2FAE91 #2F8BAE #2F4CAE
triadic
#2F8BAE #AE2F8B #8BAE2F
tetradic
#2F8BAE #912FAE #AE522F #4CAE2F
square
#2F8BAE #912FAE #AE522F #4CAE2F
split-complementary
#2F8BAE #AE2F4C #AE912F
monochromatic
#153E4E #22657E #2F8BAE #4CAACF #7CC1DC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2F8BAE#FFFFFF#000000##000000
##2F8BAE1.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)
#7889B0
Deuteranopia (green-blind)
#677CAE
Tritanopia (blue-blind)
#009597
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #2f8bae;
/* rgb */ color: rgb(47, 139, 174);
/* oklch */ color: oklch(59.8% 0.099 227.6);
Tailwind
colors: {
  custom: {
    50: '#79adc6',
    500: '#2f8bae',
    950: '#000000',
  },
}
SCSS
$custom: #2f8bae;
$custom-light: #79adc6;
$custom-dark: #000000;
JSON
{
  "hex": "#2f8bae",
  "rgb": {
    "r": 47,
    "g": 139,
    "b": 174
  },
  "hsl": {
    "h": 196.535,
    "s": 57.466,
    "l": 43.333
  },
  "oklch": {
    "l": 0.59847,
    "c": 0.09935,
    "h": 227.6
  },
  "luminance": 0.22126
}

Semantic roles & 50–950 ramp

primary
#2F8BAE
secondary
#C48B75
accent
#7147E1
background
#F7FAFC
surface
#EEF4F8
border
#C9CED1
text
#0A1013
muted
#7C7F82

Preview Lab

Preview with #2F8BAE

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

Preview Lab → · Contrast checker → · Palette generator →

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