#2F8DAB#2F8DAB

#2F8DAB is a mid, moderate cyan. Relative luminance 0.226; OKLCH L 60.2% C 0.097 H 223.4°. Best body text is #000000 at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#2F8DAB
RGBrgb(47, 141, 171)
HSLhsl(195, 57%, 43%)
HSVhsv(195, 73%, 67%)
CMYKcmyk(72.5%, 17.5%, 0%, 32.9%)
CIE-LABlab(54.65, -17.16, -23.70)
CIE-LCHlch(54.65, 29.26, 234.10°)
OKLaboklab(60.2% -0.0701 -0.0663)
OKLCHoklch(60.2% 0.097 223.4)
XYZxyz(18.0448, 22.5923, 41.9299)
Luminance0.2259 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F8DAB #AB4D2F
analogous
#2FAB8B #2F8DAB #2F4FAB
triadic
#2F8DAB #AB2F8D #8DAB2F
tetradic
#2F8DAB #8B2FAB #AB4D2F #4FAB2F
square
#2F8DAB #8B2FAB #AB4D2F #4FAB2F
split-complementary
#2F8DAB #AB2F4F #AB8B2F
monochromatic
#153E4B #22657B #2F8DAB #4AADCD #7AC3DA

Accessibility & contrast

On white

3.81
#2F8DAB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.52
#2F8DAB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F8DAB
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F8DAB#FFFFFF#000000##000000
##2F8DAB1.003.815.525.52
#FFFFFF3.811.0021.0021.00
#0000005.5221.001.001.00
##0000005.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7C8AAD
Deuteranopia (green-blind)
#6B7DAB
Tritanopia (blue-blind)
#009697
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #2f8dab;
/* rgb */ color: rgb(47, 141, 171);
/* oklch */ color: oklch(60.2% 0.097 223.4);
Tailwind
colors: {
  custom: {
    50: '#79aec4',
    500: '#2f8dab',
    950: '#000000',
  },
}
SCSS
$custom: #2f8dab;
$custom-light: #79aec4;
$custom-dark: #000000;
JSON
{
  "hex": "#2f8dab",
  "rgb": {
    "r": 47,
    "g": 141,
    "b": 171
  },
  "hsl": {
    "h": 194.516,
    "s": 56.881,
    "l": 42.745
  },
  "oklch": {
    "l": 0.602,
    "c": 0.0965,
    "h": 223.4
  },
  "luminance": 0.22594
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2F8DAB

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

Preview Lab → · Contrast checker → · Palette generator →

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