#2F89B3#2F89B3

#2F89B3 is a mid, moderate cyan. Relative luminance 0.217; OKLCH L 59.6% C 0.105 H 232.9°. Best body text is #000000 at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#2F89B3
RGBrgb(47, 137, 179)
HSLhsl(199, 58%, 44%)
HSVhsv(199, 74%, 70%)
CMYKcmyk(73.7%, 23.5%, 0%, 29.8%)
CIE-LABlab(53.76, -12.22, -29.66)
CIE-LCHlch(53.76, 32.08, 247.61°)
OKLaboklab(59.6% -0.0631 -0.0834)
OKLCHoklch(59.6% 0.105 232.9)
XYZxyz(18.2514, 21.7482, 45.8750)
Luminance0.2175 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F89B3 #B3592F
analogous
#2FB39B #2F89B3 #2F47B3
triadic
#2F89B3 #B32F89 #89B32F
tetradic
#2F89B3 #9B2FB3 #B3592F #47B32F
square
#2F89B3 #9B2FB3 #B3592F #47B32F
split-complementary
#2F89B3 #B32F47 #B39B2F
monochromatic
#163F52 #226483 #2F89B3 #4FA7D1 #7FBFDD

Accessibility & contrast

On white

3.93
#2F89B3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.35
#2F89B3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F89B3
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F89B3#FFFFFF#000000##000000
##2F89B31.003.935.355.35
#FFFFFF3.931.0021.0021.00
#0000005.3521.001.001.00
##0000005.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7488B5
Deuteranopia (green-blind)
#627BB2
Tritanopia (blue-blind)
#009497
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #2f89b3;
/* rgb */ color: rgb(47, 137, 179);
/* oklch */ color: oklch(59.6% 0.105 232.9);
Tailwind
colors: {
  custom: {
    50: '#7aabca',
    500: '#2f89b3',
    950: '#000000',
  },
}
SCSS
$custom: #2f89b3;
$custom-light: #7aabca;
$custom-dark: #000000;
JSON
{
  "hex": "#2f89b3",
  "rgb": {
    "r": 47,
    "g": 137,
    "b": 179
  },
  "hsl": {
    "h": 199.091,
    "s": 58.407,
    "l": 44.314
  },
  "oklch": {
    "l": 0.59598,
    "c": 0.10461,
    "h": 232.9
  },
  "luminance": 0.2175
}

Semantic roles & 50–950 ramp

primary
#2F89B3
secondary
#C69178
accent
#7846E2
background
#F8FAFC
surface
#EFF4F8
border
#CACED1
text
#0A1013
muted
#7C7F82

Preview Lab

Preview with #2F89B3

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

Preview Lab → · Contrast checker → · Palette generator →

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