#2F8BAD#2F8BAD

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

Color values

HEX#2F8BAD
RGBrgb(47, 139, 173)
HSLhsl(196, 57%, 43%)
HSVhsv(196, 73%, 68%)
CMYKcmyk(72.8%, 19.7%, 0%, 32.2%)
CIE-LABlab(54.12, -15.39, -25.67)
CIE-LCHlch(54.12, 29.93, 239.05°)
OKLaboklab(59.8% -0.0673 -0.0719)
OKLCHoklch(59.8% 0.099 226.9)
XYZxyz(17.9447, 22.0846, 42.8441)
Luminance0.2209 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F8BAD #AD512F
analogous
#2FAD90 #2F8BAD #2F4CAD
triadic
#2F8BAD #AD2F8B #8BAD2F
tetradic
#2F8BAD #902FAD #AD512F #4CAD2F
square
#2F8BAD #902FAD #AD512F #4CAD2F
split-complementary
#2F8BAD #AD2F4C #AD902F
monochromatic
#153E4D #22647D #2F8BAD #4BABCE #7BC1DB

Accessibility & contrast

On white

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

On black

5.42
#2F8BAD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F8BAD
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F8BAD#FFFFFF#000000##000000
##2F8BAD1.003.885.425.42
#FFFFFF3.881.0021.0021.00
#0000005.4221.001.001.00
##0000005.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7988AF
Deuteranopia (green-blind)
#687CAD
Tritanopia (blue-blind)
#009596
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #2f8bad;
/* rgb */ color: rgb(47, 139, 173);
/* oklch */ color: oklch(59.8% 0.099 226.9);
Tailwind
colors: {
  custom: {
    50: '#79adc5',
    500: '#2f8bad',
    950: '#000000',
  },
}
SCSS
$custom: #2f8bad;
$custom-light: #79adc5;
$custom-dark: #000000;
JSON
{
  "hex": "#2f8bad",
  "rgb": {
    "r": 47,
    "g": 139,
    "b": 173
  },
  "hsl": {
    "h": 196.19,
    "s": 57.273,
    "l": 43.137
  },
  "oklch": {
    "l": 0.598,
    "c": 0.09853,
    "h": 226.9
  },
  "luminance": 0.22087
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2F8BAD

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

Preview Lab → · Contrast checker → · Palette generator →

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