#2F89AB#2F89AB

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

Color values

HEX#2F89AB
RGBrgb(47, 137, 171)
HSLhsl(196, 57%, 43%)
HSVhsv(196, 73%, 67%)
CMYKcmyk(72.5%, 19.9%, 0%, 32.9%)
CIE-LABlab(53.42, -14.97, -25.59)
CIE-LCHlch(53.42, 29.65, 239.68°)
OKLaboklab(59.22% -0.066 -0.0717)
OKLCHoklch(59.22% 0.098 227.4)
XYZxyz(17.4657, 21.4339, 41.7368)
Luminance0.2144 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F89AB #AB512F
analogous
#2FAB8F #2F89AB #2F4BAB
triadic
#2F89AB #AB2F89 #89AB2F
tetradic
#2F89AB #8F2FAB #AB512F #4BAB2F
square
#2F89AB #8F2FAB #AB512F #4BAB2F
split-complementary
#2F89AB #AB2F4B #AB8F2F
monochromatic
#153C4B #22637B #2F89AB #4AA9CD #7AC0DA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2F89AB#FFFFFF#000000##000000
##2F89AB1.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)
#7787AD
Deuteranopia (green-blind)
#667AAB
Tritanopia (blue-blind)
#009394
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #2f89ab;
/* rgb */ color: rgb(47, 137, 171);
/* oklch */ color: oklch(59.2% 0.098 227.4);
Tailwind
colors: {
  custom: {
    50: '#78abc4',
    500: '#2f89ab',
    950: '#000000',
  },
}
SCSS
$custom: #2f89ab;
$custom-light: #78abc4;
$custom-dark: #000000;
JSON
{
  "hex": "#2f89ab",
  "rgb": {
    "r": 47,
    "g": 137,
    "b": 171
  },
  "hsl": {
    "h": 196.452,
    "s": 56.881,
    "l": 42.745
  },
  "oklch": {
    "l": 0.59217,
    "c": 0.09751,
    "h": 227.4
  },
  "luminance": 0.21436
}

Semantic roles & 50–950 ramp

primary
#2F89AB
secondary
#C38973
accent
#7148E0
background
#F7FAFC
surface
#EEF4F8
border
#C9CED1
text
#0A1012
muted
#7C7F81

Preview Lab

Preview with #2F89AB

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

Preview Lab → · Contrast checker → · Palette generator →

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