#2F89AC#2F89AC

#2F89AC is a mid, moderate cyan. Relative luminance 0.215; OKLCH L 59.3% C 0.098 H 228.1°. Best body text is #000000 at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#2F89AC
RGBrgb(47, 137, 172)
HSLhsl(197, 57%, 43%)
HSVhsv(197, 73%, 67%)
CMYKcmyk(72.7%, 20.3%, 0%, 32.5%)
CIE-LABlab(53.46, -14.63, -26.10)
CIE-LCHlch(53.46, 29.92, 240.74°)
OKLaboklab(59.26% -0.0657 -0.0732)
OKLCHoklch(59.26% 0.098 228.1)
XYZxyz(17.5613, 21.4722, 42.2407)
Luminance0.2147 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F89AC #AC522F
analogous
#2FAC90 #2F89AC #2F4AAC
triadic
#2F89AC #AC2F89 #89AC2F
tetradic
#2F89AC #902FAC #AC522F #4AAC2F
square
#2F89AC #902FAC #AC522F #4AAC2F
split-complementary
#2F89AC #AC2F4A #AC902F
monochromatic
#153C4C #22637C #2F89AC #4BA9CE #7BC0DB

Accessibility & contrast

On white

3.97
#2F89AC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.29
#2F89AC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F89AC
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F89AC#FFFFFF#000000##000000
##2F89AC1.003.975.295.29
#FFFFFF3.971.0021.0021.00
#0000005.2921.001.001.00
##0000005.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7787AE
Deuteranopia (green-blind)
#667AAC
Tritanopia (blue-blind)
#009395
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #2f89ac;
/* rgb */ color: rgb(47, 137, 172);
/* oklch */ color: oklch(59.3% 0.098 228.1);
Tailwind
colors: {
  custom: {
    50: '#79abc4',
    500: '#2f89ac',
    950: '#000000',
  },
}
SCSS
$custom: #2f89ac;
$custom-light: #79abc4;
$custom-dark: #000000;
JSON
{
  "hex": "#2f89ac",
  "rgb": {
    "r": 47,
    "g": 137,
    "b": 172
  },
  "hsl": {
    "h": 196.8,
    "s": 57.078,
    "l": 42.941
  },
  "oklch": {
    "l": 0.59263,
    "c": 0.09834,
    "h": 228.1
  },
  "luminance": 0.21474
}

Semantic roles & 50–950 ramp

primary
#2F89AC
secondary
#C38A74
accent
#7247E0
background
#F7FAFC
surface
#EEF4F8
border
#C9CED1
text
#0A1012
muted
#7C7F81

Preview Lab

Preview with #2F89AC

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

Preview Lab → · Contrast checker → · Palette generator →

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