#2F89B2#2F89B2

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

Color values

HEX#2F89B2
RGBrgb(47, 137, 178)
HSLhsl(199, 58%, 44%)
HSVhsv(199, 74%, 70%)
CMYKcmyk(73.6%, 23%, 0%, 30.2%)
CIE-LABlab(53.72, -12.57, -29.15)
CIE-LCHlch(53.72, 31.75, 246.68°)
OKLaboklab(59.55% -0.0635 -0.082)
OKLCHoklch(59.55% 0.104 232.2)
XYZxyz(18.1506, 21.7079, 45.3443)
Luminance0.2171 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F89B2 #B2582F
analogous
#2FB29A #2F89B2 #2F47B2
triadic
#2F89B2 #B22F89 #89B22F
tetradic
#2F89B2 #9A2FB2 #B2582F #47B22F
square
#2F89B2 #9A2FB2 #B2582F #47B22F
split-complementary
#2F89B2 #B22F47 #B29A2F
monochromatic
#153E51 #226482 #2F89B2 #4EA7D0 #7EBFDD

Accessibility & contrast

On white

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

On black

5.34
#2F89B2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F89B2
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F89B2#FFFFFF#000000##000000
##2F89B21.003.935.345.34
#FFFFFF3.931.0021.0021.00
#0000005.3421.001.001.00
##0000005.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7587B4
Deuteranopia (green-blind)
#637BB1
Tritanopia (blue-blind)
#009497
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #2f89b2;
/* rgb */ color: rgb(47, 137, 178);
/* oklch */ color: oklch(59.5% 0.104 232.2);
Tailwind
colors: {
  custom: {
    50: '#79abc9',
    500: '#2f89b2',
    950: '#000000',
  },
}
SCSS
$custom: #2f89b2;
$custom-light: #79abc9;
$custom-dark: #000000;
JSON
{
  "hex": "#2f89b2",
  "rgb": {
    "r": 47,
    "g": 137,
    "b": 178
  },
  "hsl": {
    "h": 198.779,
    "s": 58.222,
    "l": 44.118
  },
  "oklch": {
    "l": 0.59549,
    "c": 0.10367,
    "h": 232.2
  },
  "luminance": 0.2171
}

Semantic roles & 50–950 ramp

primary
#2F89B2
secondary
#C69077
accent
#7746E1
background
#F8FAFC
surface
#EFF4F8
border
#CACED1
text
#0A1013
muted
#7C7F82

Preview Lab

Preview with #2F89B2

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

Preview Lab → · Contrast checker → · Palette generator →

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