#2F89BC#2F89BC

#2F89BC is a mid, moderate cyan. Relative luminance 0.221; OKLCH L 60.0% C 0.114 H 238.1°. Best body text is #000000 at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#2F89BC
RGBrgb(47, 137, 188)
HSLhsl(202, 60%, 46%)
HSVhsv(202, 75%, 74%)
CMYKcmyk(75%, 27.1%, 0%, 26.3%)
CIE-LABlab(54.16, -9.08, -34.18)
CIE-LCHlch(54.16, 35.37, 255.13°)
OKLaboklab(60.05% -0.06 -0.0965)
OKLCHoklch(60.05% 0.114 238.1)
XYZxyz(19.1915, 22.1243, 50.8262)
Luminance0.2213 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F89BC #BC622F
analogous
#2FBCA8 #2F89BC #2F42BC
triadic
#2F89BC #BC2F89 #89BC2F
tetradic
#2F89BC #A82FBC #BC622F #42BC2F
square
#2F89BC #A82FBC #BC622F #42BC2F
split-complementary
#2F89BC #BC2F42 #BCA82F
monochromatic
#17425A #23658B #2F89BC #54A6D4 #85BFE0

Accessibility & contrast

On white

3.87
#2F89BC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.43
#2F89BC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F89BC
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F89BC#FFFFFF#000000##000000
##2F89BC1.003.875.435.43
#FFFFFF3.871.0021.0021.00
#0000005.4321.001.001.00
##0000005.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7189BE
Deuteranopia (green-blind)
#5E7CBB
Tritanopia (blue-blind)
#00969B
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #2f89bc;
/* rgb */ color: rgb(47, 137, 188);
/* oklch */ color: oklch(60.0% 0.114 238.1);
Tailwind
colors: {
  custom: {
    50: '#7babd0',
    500: '#2f89bc',
    950: '#000000',
  },
}
SCSS
$custom: #2f89bc;
$custom-light: #7babd0;
$custom-dark: #000000;
JSON
{
  "hex": "#2f89bc",
  "rgb": {
    "r": 47,
    "g": 137,
    "b": 188
  },
  "hsl": {
    "h": 201.702,
    "s": 60,
    "l": 46.078
  },
  "oklch": {
    "l": 0.60048,
    "c": 0.11364,
    "h": 238.1
  },
  "luminance": 0.22126
}

Semantic roles & 50–950 ramp

primary
#2F89BC
secondary
#CA997D
accent
#7E45E3
background
#F8FAFC
surface
#EFF4F9
border
#CACED2
text
#0B1014
muted
#7C7F82

Preview Lab

Preview with #2F89BC

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

Preview Lab → · Contrast checker → · Palette generator →

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