#2F8CAA#2F8CAA

#2F8CAA is a mid, moderate cyan. Relative luminance 0.223; OKLCH L 59.9% C 0.096 H 223.6°. Best body text is #000000 at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#2F8CAA
RGBrgb(47, 140, 170)
HSLhsl(195, 57%, 43%)
HSVhsv(195, 72%, 67%)
CMYKcmyk(72.4%, 17.6%, 0%, 33.3%)
CIE-LABlab(54.30, -16.95, -23.66)
CIE-LCHlch(54.30, 29.10, 234.38°)
OKLaboklab(59.91% -0.0695 -0.0662)
OKLCHoklch(59.91% 0.096 223.6)
XYZxyz(17.8031, 22.2607, 41.3809)
Luminance0.2226 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F8CAA #AA4D2F
analogous
#2FAA8A #2F8CAA #2F4FAA
triadic
#2F8CAA #AA2F8C #8CAA2F
tetradic
#2F8CAA #8A2FAA #AA4D2F #4FAA2F
square
#2F8CAA #8A2FAA #AA4D2F #4FAA2F
split-complementary
#2F8CAA #AA2F4F #AA8A2F
monochromatic
#143D4A #22657A #2F8CAA #49ADCD #79C2DA

Accessibility & contrast

On white

3.85
#2F8CAA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.45
#2F8CAA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F8CAA
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F8CAA#FFFFFF#000000##000000
##2F8CAA1.003.855.455.45
#FFFFFF3.851.0021.0021.00
#0000005.4521.001.001.00
##0000005.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7B89AC
Deuteranopia (green-blind)
#6A7DAA
Tritanopia (blue-blind)
#009596
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #2f8caa;
/* rgb */ color: rgb(47, 140, 170);
/* oklch */ color: oklch(59.9% 0.096 223.6);
Tailwind
colors: {
  custom: {
    50: '#78adc3',
    500: '#2f8caa',
    950: '#000000',
  },
}
SCSS
$custom: #2f8caa;
$custom-light: #78adc3;
$custom-dark: #000000;
JSON
{
  "hex": "#2f8caa",
  "rgb": {
    "r": 47,
    "g": 140,
    "b": 170
  },
  "hsl": {
    "h": 194.634,
    "s": 56.682,
    "l": 42.549
  },
  "oklch": {
    "l": 0.59909,
    "c": 0.09597,
    "h": 223.6
  },
  "luminance": 0.22263
}

Semantic roles & 50–950 ramp

primary
#2F8CAA
secondary
#C28672
accent
#6D48E0
background
#F7FAFC
surface
#EEF4F8
border
#C9CED1
text
#0A1012
muted
#7C7F81

Preview Lab

Preview with #2F8CAA

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

Preview Lab → · Contrast checker → · Palette generator →

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