#2F89AA#2F89AA

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

Color values

HEX#2F89AA
RGBrgb(47, 137, 170)
HSLhsl(196, 57%, 43%)
HSVhsv(196, 72%, 67%)
CMYKcmyk(72.4%, 19.4%, 0%, 33.3%)
CIE-LABlab(53.38, -15.31, -25.08)
CIE-LCHlch(53.38, 29.38, 238.60°)
OKLaboklab(59.17% -0.0664 -0.0703)
OKLCHoklch(59.17% 0.097 226.6)
XYZxyz(17.3707, 21.3959, 41.2368)
Luminance0.2140 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F89AA #AA502F
analogous
#2FAA8E #2F89AA #2F4BAA
triadic
#2F89AA #AA2F89 #89AA2F
tetradic
#2F89AA #8E2FAA #AA502F #4BAA2F
square
#2F89AA #8E2FAA #AA502F #4BAA2F
split-complementary
#2F89AA #AA2F4B #AA8E2F
monochromatic
#143C4A #22627A #2F89AA #49AACD #79C0DA

Accessibility & contrast

On white

3.98
#2F89AA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.28
#2F89AA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F89AA
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F89AA#FFFFFF#000000##000000
##2F89AA1.003.985.285.28
#FFFFFF3.981.0021.0021.00
#0000005.2821.001.001.00
##0000005.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7786AC
Deuteranopia (green-blind)
#667AAA
Tritanopia (blue-blind)
#009394
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #2f89aa;
/* rgb */ color: rgb(47, 137, 170);
/* oklch */ color: oklch(59.2% 0.097 226.6);
Tailwind
colors: {
  custom: {
    50: '#78abc3',
    500: '#2f89aa',
    950: '#000000',
  },
}
SCSS
$custom: #2f89aa;
$custom-light: #78abc3;
$custom-dark: #000000;
JSON
{
  "hex": "#2f89aa",
  "rgb": {
    "r": 47,
    "g": 137,
    "b": 170
  },
  "hsl": {
    "h": 196.098,
    "s": 56.682,
    "l": 42.549
  },
  "oklch": {
    "l": 0.5917,
    "c": 0.0967,
    "h": 226.6
  },
  "luminance": 0.21398
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2F89AA

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

Preview Lab → · Contrast checker → · Palette generator →

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