#2F89B5#2F89B5

#2F89B5 is a mid, moderate cyan. Relative luminance 0.218; OKLCH L 59.7% C 0.107 H 234.1°. Best body text is #000000 at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#2F89B5
RGBrgb(47, 137, 181)
HSLhsl(200, 59%, 45%)
HSVhsv(200, 74%, 71%)
CMYKcmyk(74%, 24.3%, 0%, 29%)
CIE-LABlab(53.85, -11.53, -30.67)
CIE-LCHlch(53.85, 32.77, 249.40°)
OKLaboklab(59.7% -0.0624 -0.0863)
OKLCHoklch(59.7% 0.107 234.1)
XYZxyz(18.4551, 21.8297, 46.9480)
Luminance0.2183 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F89B5 #B55B2F
analogous
#2FB59E #2F89B5 #2F46B5
triadic
#2F89B5 #B52F89 #89B52F
tetradic
#2F89B5 #9E2FB5 #B55B2F #46B52F
square
#2F89B5 #9E2FB5 #B55B2F #46B52F
split-complementary
#2F89B5 #B52F46 #B59E2F
monochromatic
#163F54 #226484 #2F89B5 #50A7D1 #80BFDE

Accessibility & contrast

On white

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

On black

5.37
#2F89B5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F89B5
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F89B5#FFFFFF#000000##000000
##2F89B51.003.915.375.37
#FFFFFF3.911.0021.0021.00
#0000005.3721.001.001.00
##0000005.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7388B7
Deuteranopia (green-blind)
#617BB4
Tritanopia (blue-blind)
#009598
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #2f89b5;
/* rgb */ color: rgb(47, 137, 181);
/* oklch */ color: oklch(59.7% 0.107 234.1);
Tailwind
colors: {
  custom: {
    50: '#7aabcb',
    500: '#2f89b5',
    950: '#000000',
  },
}
SCSS
$custom: #2f89b5;
$custom-light: #7aabcb;
$custom-dark: #000000;
JSON
{
  "hex": "#2f89b5",
  "rgb": {
    "r": 47,
    "g": 137,
    "b": 181
  },
  "hsl": {
    "h": 199.701,
    "s": 58.772,
    "l": 44.706
  },
  "oklch": {
    "l": 0.59696,
    "c": 0.10654,
    "h": 234.1
  },
  "luminance": 0.21832
}

Semantic roles & 50–950 ramp

primary
#2F89B5
secondary
#C79279
accent
#7946E2
background
#F8FAFC
surface
#EFF4F8
border
#CACED1
text
#0A1013
muted
#7C7F82

Preview Lab

Preview with #2F89B5

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

Preview Lab → · Contrast checker → · Palette generator →

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