#2F89B1#2F89B1

#2F89B1 is a mid, moderate cyan. Relative luminance 0.217; OKLCH L 59.5% C 0.103 H 231.6°. Best body text is #000000 at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#2F89B1
RGBrgb(47, 137, 177)
HSLhsl(198, 58%, 44%)
HSVhsv(198, 73%, 69%)
CMYKcmyk(73.4%, 22.6%, 0%, 30.6%)
CIE-LABlab(53.67, -12.91, -28.65)
CIE-LCHlch(53.67, 31.42, 245.74°)
OKLaboklab(59.5% -0.0638 -0.0805)
OKLCHoklch(59.5% 0.103 231.6)
XYZxyz(18.0506, 21.6679, 44.8174)
Luminance0.2167 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F89B1 #B1572F
analogous
#2FB198 #2F89B1 #2F48B1
triadic
#2F89B1 #B12F89 #89B12F
tetradic
#2F89B1 #982FB1 #B1572F #48B12F
square
#2F89B1 #982FB1 #B1572F #48B12F
split-complementary
#2F89B1 #B12F48 #B1982F
monochromatic
#153E50 #226481 #2F89B1 #4DA8D0 #7EBFDD

Accessibility & contrast

On white

3.94
#2F89B1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.33
#2F89B1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F89B1
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F89B1#FFFFFF#000000##000000
##2F89B11.003.945.335.33
#FFFFFF3.941.0021.0021.00
#0000005.3321.001.001.00
##0000005.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7587B3
Deuteranopia (green-blind)
#637BB0
Tritanopia (blue-blind)
#009496
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #2f89b1;
/* rgb */ color: rgb(47, 137, 177);
/* oklch */ color: oklch(59.5% 0.103 231.6);
Tailwind
colors: {
  custom: {
    50: '#79abc8',
    500: '#2f89b1',
    950: '#000000',
  },
}
SCSS
$custom: #2f89b1;
$custom-light: #79abc8;
$custom-dark: #000000;
JSON
{
  "hex": "#2f89b1",
  "rgb": {
    "r": 47,
    "g": 137,
    "b": 177
  },
  "hsl": {
    "h": 198.462,
    "s": 58.036,
    "l": 43.922
  },
  "oklch": {
    "l": 0.59501,
    "c": 0.10274,
    "h": 231.6
  },
  "luminance": 0.2167
}

Semantic roles & 50–950 ramp

primary
#2F89B1
secondary
#C58F76
accent
#7647E1
background
#F8FAFC
surface
#EFF4F8
border
#CACED1
text
#0A1013
muted
#7C7F82

Preview Lab

Preview with #2F89B1

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

Preview Lab → · Contrast checker → · Palette generator →

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