#2F89B8#2F89B8

#2F89B8 is a mid, moderate cyan. Relative luminance 0.220; OKLCH L 59.8% C 0.110 H 235.9°. Best body text is #000000 at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#2F89B8
RGBrgb(47, 137, 184)
HSLhsl(201, 59%, 45%)
HSVhsv(201, 74%, 72%)
CMYKcmyk(74.5%, 25.5%, 0%, 27.8%)
CIE-LABlab(53.98, -10.48, -32.18)
CIE-LCHlch(53.98, 33.84, 251.96°)
OKLaboklab(59.85% -0.0613 -0.0907)
OKLCHoklch(59.85% 0.11 235.9)
XYZxyz(18.7662, 21.9542, 48.5866)
Luminance0.2196 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F89B8 #B85E2F
analogous
#2FB8A2 #2F89B8 #2F44B8
triadic
#2F89B8 #B82F89 #89B82F
tetradic
#2F89B8 #A22FB8 #B85E2F #44B82F
square
#2F89B8 #A22FB8 #B85E2F #44B82F
split-complementary
#2F89B8 #B82F44 #B8A22F
monochromatic
#164057 #236587 #2F89B8 #52A6D3 #82BFDF

Accessibility & contrast

On white

3.90
#2F89B8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.39
#2F89B8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F89B8
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F89B8#FFFFFF#000000##000000
##2F89B81.003.905.395.39
#FFFFFF3.901.0021.0021.00
#0000005.3921.001.001.00
##0000005.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7288BA
Deuteranopia (green-blind)
#607BB7
Tritanopia (blue-blind)
#009599
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #2f89b8;
/* rgb */ color: rgb(47, 137, 184);
/* oklch */ color: oklch(59.8% 0.110 235.9);
Tailwind
colors: {
  custom: {
    50: '#7aabcd',
    500: '#2f89b8',
    950: '#000000',
  },
}
SCSS
$custom: #2f89b8;
$custom-light: #7aabcd;
$custom-dark: #000000;
JSON
{
  "hex": "#2f89b8",
  "rgb": {
    "r": 47,
    "g": 137,
    "b": 184
  },
  "hsl": {
    "h": 200.584,
    "s": 59.307,
    "l": 45.294
  },
  "oklch": {
    "l": 0.59845,
    "c": 0.10951,
    "h": 235.9
  },
  "luminance": 0.21956
}

Semantic roles & 50–950 ramp

primary
#2F89B8
secondary
#C8957B
accent
#7B45E2
background
#F8FAFC
surface
#EFF4F9
border
#CACED2
text
#0B1013
muted
#7C7F82

Preview Lab

Preview with #2F89B8

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

Preview Lab → · Contrast checker → · Palette generator →

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