#2F8BB1#2F8BB1

#2F8BB1 is a mid, moderate cyan. Relative luminance 0.222; OKLCH L 60.0% C 0.102 H 229.8°. Best body text is #000000 at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#2F8BB1
RGBrgb(47, 139, 177)
HSLhsl(198, 58%, 44%)
HSVhsv(198, 73%, 69%)
CMYKcmyk(73.4%, 21.5%, 0%, 30.6%)
CIE-LABlab(54.28, -14.03, -27.70)
CIE-LCHlch(54.28, 31.05, 243.14°)
OKLaboklab(59.99% -0.0658 -0.0778)
OKLCHoklch(59.99% 0.102 229.8)
XYZxyz(18.3375, 22.2418, 44.9131)
Luminance0.2224 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F8BB1 #B1552F
analogous
#2FB196 #2F8BB1 #2F4AB1
triadic
#2F8BB1 #B12F8B #8BB12F
tetradic
#2F8BB1 #962FB1 #B1552F #4AB12F
square
#2F8BB1 #962FB1 #B1552F #4AB12F
split-complementary
#2F8BB1 #B12F4A #B1962F
monochromatic
#153F50 #226581 #2F8BB1 #4DAAD0 #7EC1DD

Accessibility & contrast

On white

3.85
#2F8BB1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.45
#2F8BB1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F8BB1
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F8BB1#FFFFFF#000000##000000
##2F8BB11.003.855.455.45
#FFFFFF3.851.0021.0021.00
#0000005.4521.001.001.00
##0000005.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7789B3
Deuteranopia (green-blind)
#667CB0
Tritanopia (blue-blind)
#009698
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #2f8bb1;
/* rgb */ color: rgb(47, 139, 177);
/* oklch */ color: oklch(60.0% 0.102 229.8);
Tailwind
colors: {
  custom: {
    50: '#79adc8',
    500: '#2f8bb1',
    950: '#000000',
  },
}
SCSS
$custom: #2f8bb1;
$custom-light: #79adc8;
$custom-dark: #000000;
JSON
{
  "hex": "#2f8bb1",
  "rgb": {
    "r": 47,
    "g": 139,
    "b": 177
  },
  "hsl": {
    "h": 197.538,
    "s": 58.036,
    "l": 43.922
  },
  "oklch": {
    "l": 0.59988,
    "c": 0.1019,
    "h": 229.8
  },
  "luminance": 0.22244
}

Semantic roles & 50–950 ramp

primary
#2F8BB1
secondary
#C58E76
accent
#7447E1
background
#F8FAFC
surface
#EFF4F8
border
#CACED1
text
#0A1013
muted
#7C7F82

Preview Lab

Preview with #2F8BB1

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

Preview Lab → · Contrast checker → · Palette generator →

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