#2F8BB5#2F8BB5

#2F8BB5 is a mid, moderate cyan. Relative luminance 0.224; OKLCH L 60.2% C 0.106 H 232.4°. Best body text is #000000 at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#2F8BB5
RGBrgb(47, 139, 181)
HSLhsl(199, 59%, 45%)
HSVhsv(199, 74%, 71%)
CMYKcmyk(74%, 23.2%, 0%, 29%)
CIE-LABlab(54.45, -12.65, -29.73)
CIE-LCHlch(54.45, 32.31, 246.95°)
OKLaboklab(60.18% -0.0644 -0.0836)
OKLCHoklch(60.18% 0.106 232.4)
XYZxyz(18.7421, 22.4036, 47.0437)
Luminance0.2241 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F8BB5 #B5592F
analogous
#2FB59C #2F8BB5 #2F48B5
triadic
#2F8BB5 #B52F8B #8BB52F
tetradic
#2F8BB5 #9C2FB5 #B5592F #48B52F
square
#2F8BB5 #9C2FB5 #B5592F #48B52F
split-complementary
#2F8BB5 #B52F48 #B59C2F
monochromatic
#164054 #226684 #2F8BB5 #50A9D1 #80C1DE

Accessibility & contrast

On white

3.83
#2F8BB5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.48
#2F8BB5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F8BB5
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F8BB5#FFFFFF#000000##000000
##2F8BB51.003.835.485.48
#FFFFFF3.831.0021.0021.00
#0000005.4821.001.001.00
##0000005.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7689B7
Deuteranopia (green-blind)
#647DB4
Tritanopia (blue-blind)
#009699
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #2f8bb5;
/* rgb */ color: rgb(47, 139, 181);
/* oklch */ color: oklch(60.2% 0.106 232.4);
Tailwind
colors: {
  custom: {
    50: '#7aaccb',
    500: '#2f8bb5',
    950: '#000000',
  },
}
SCSS
$custom: #2f8bb5;
$custom-light: #7aaccb;
$custom-dark: #000000;
JSON
{
  "hex": "#2f8bb5",
  "rgb": {
    "r": 47,
    "g": 139,
    "b": 181
  },
  "hsl": {
    "h": 198.806,
    "s": 58.772,
    "l": 44.706
  },
  "oklch": {
    "l": 0.60179,
    "c": 0.10552,
    "h": 232.4
  },
  "luminance": 0.22406
}

Semantic roles & 50–950 ramp

primary
#2F8BB5
secondary
#C79179
accent
#7746E2
background
#F8FAFC
surface
#EFF4F8
border
#CACED1
text
#0B1013
muted
#7C7F82

Preview Lab

Preview with #2F8BB5

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

Preview Lab → · Contrast checker → · Palette generator →

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