#2F8AAF#2F8AAF

#2F8AAF is a mid, moderate cyan. Relative luminance 0.219; OKLCH L 59.6% C 0.101 H 229.3°. Best body text is #000000 at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#2F8AAF
RGBrgb(47, 138, 175)
HSLhsl(197, 58%, 44%)
HSVhsv(197, 73%, 69%)
CMYKcmyk(73.1%, 21.1%, 0%, 31.4%)
CIE-LABlab(53.89, -14.16, -27.16)
CIE-LCHlch(53.89, 30.63, 242.47°)
OKLaboklab(59.65% -0.0656 -0.0762)
OKLCHoklch(59.65% 0.101 229.3)
XYZxyz(17.9955, 21.8744, 43.8229)
Luminance0.2188 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F8AAF #AF542F
analogous
#2FAF94 #2F8AAF #2F4AAF
triadic
#2F8AAF #AF2F8A #8AAF2F
tetradic
#2F8AAF #942FAF #AF542F #4AAF2F
square
#2F8AAF #942FAF #AF542F #4AAF2F
split-complementary
#2F8AAF #AF2F4A #AF942F
monochromatic
#153E4F #22647F #2F8AAF #4CA9CF #7CC0DC

Accessibility & contrast

On white

3.91
#2F8AAF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.38
#2F8AAF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F8AAF
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F8AAF#FFFFFF#000000##000000
##2F8AAF1.003.915.385.38
#FFFFFF3.911.0021.0021.00
#0000005.3821.001.001.00
##0000005.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7788B1
Deuteranopia (green-blind)
#657BAE
Tritanopia (blue-blind)
#009496
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #2f8aaf;
/* rgb */ color: rgb(47, 138, 175);
/* oklch */ color: oklch(59.6% 0.101 229.3);
Tailwind
colors: {
  custom: {
    50: '#79acc7',
    500: '#2f8aaf',
    950: '#000000',
  },
}
SCSS
$custom: #2f8aaf;
$custom-light: #79acc7;
$custom-dark: #000000;
JSON
{
  "hex": "#2f8aaf",
  "rgb": {
    "r": 47,
    "g": 138,
    "b": 175
  },
  "hsl": {
    "h": 197.344,
    "s": 57.658,
    "l": 43.529
  },
  "oklch": {
    "l": 0.59649,
    "c": 0.10054,
    "h": 229.3
  },
  "luminance": 0.21876
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2F8AAF

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

Preview Lab → · Contrast checker → · Palette generator →

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