#2F8FAA#2F8FAA

#2F8FAA is a mid, moderate cyan. Relative luminance 0.232; OKLCH L 60.6% C 0.096 H 220.6°. Best body text is #000000 at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#2F8FAA
RGBrgb(47, 143, 170)
HSLhsl(193, 57%, 43%)
HSVhsv(193, 72%, 67%)
CMYKcmyk(72.4%, 15.9%, 0%, 33.3%)
CIE-LABlab(55.23, -18.57, -22.24)
CIE-LCHlch(55.23, 28.97, 230.14°)
OKLaboklab(60.65% -0.0726 -0.0621)
OKLCHoklch(60.65% 0.096 220.6)
XYZxyz(18.2474, 23.1494, 41.5290)
Luminance0.2315 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F8FAA #AA4A2F
analogous
#2FAA88 #2F8FAA #2F51AA
triadic
#2F8FAA #AA2F8F #8FAA2F
tetradic
#2F8FAA #882FAA #AA4A2F #51AA2F
square
#2F8FAA #882FAA #AA4A2F #51AA2F
split-complementary
#2F8FAA #AA2F51 #AA882F
monochromatic
#143E4A #22677A #2F8FAA #49B0CD #79C5DA

Accessibility & contrast

On white

3.73
#2F8FAA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.63
#2F8FAA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F8FAA
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F8FAA#FFFFFF#000000##000000
##2F8FAA1.003.735.635.63
#FFFFFF3.731.0021.0021.00
#0000005.6321.001.001.00
##0000005.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7F8BAB
Deuteranopia (green-blind)
#6E7FAA
Tritanopia (blue-blind)
#009898
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #2f8faa;
/* rgb */ color: rgb(47, 143, 170);
/* oklch */ color: oklch(60.6% 0.096 220.6);
Tailwind
colors: {
  custom: {
    50: '#79b0c3',
    500: '#2f8faa',
    950: '#000000',
  },
}
SCSS
$custom: #2f8faa;
$custom-light: #79b0c3;
$custom-dark: #000000;
JSON
{
  "hex": "#2f8faa",
  "rgb": {
    "r": 47,
    "g": 143,
    "b": 170
  },
  "hsl": {
    "h": 193.171,
    "s": 56.682,
    "l": 42.549
  },
  "oklch": {
    "l": 0.60649,
    "c": 0.09553,
    "h": 220.6
  },
  "luminance": 0.23152
}

Semantic roles & 50–950 ramp

primary
#2F8FAA
secondary
#C28472
accent
#6948E0
background
#F7FAFC
surface
#EEF4F8
border
#C9CED1
text
#0A1012
muted
#7C7F81

Preview Lab

Preview with #2F8FAA

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

Preview Lab → · Contrast checker → · Palette generator →

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