#2F8CB5#2F8CB5

#2F8CB5 is a mid, moderate cyan. Relative luminance 0.227; OKLCH L 60.4% C 0.105 H 231.5°. Best body text is #000000 at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#2F8CB5
RGBrgb(47, 140, 181)
HSLhsl(198, 59%, 45%)
HSVhsv(198, 74%, 71%)
CMYKcmyk(74%, 22.7%, 0%, 29%)
CIE-LABlab(54.76, -13.21, -29.26)
CIE-LCHlch(54.76, 32.10, 245.70°)
OKLaboklab(60.42% -0.0654 -0.0822)
OKLCHoklch(60.42% 0.105 231.5)
XYZxyz(18.8875, 22.6945, 47.0921)
Luminance0.2270 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F8CB5 #B5582F
analogous
#2FB59B #2F8CB5 #2F49B5
triadic
#2F8CB5 #B52F8C #8CB52F
tetradic
#2F8CB5 #9B2FB5 #B5582F #49B52F
square
#2F8CB5 #9B2FB5 #B5582F #49B52F
split-complementary
#2F8CB5 #B52F49 #B59B2F
monochromatic
#164154 #226684 #2F8CB5 #50AAD1 #80C1DE

Accessibility & contrast

On white

3.79
#2F8CB5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.54
#2F8CB5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F8CB5
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F8CB5#FFFFFF#000000##000000
##2F8CB51.003.795.545.54
#FFFFFF3.791.0021.0021.00
#0000005.5421.001.001.00
##0000005.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#778AB7
Deuteranopia (green-blind)
#657DB4
Tritanopia (blue-blind)
#00979A
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #2f8cb5;
/* rgb */ color: rgb(47, 140, 181);
/* oklch */ color: oklch(60.4% 0.105 231.5);
Tailwind
colors: {
  custom: {
    50: '#7aadcb',
    500: '#2f8cb5',
    950: '#000000',
  },
}
SCSS
$custom: #2f8cb5;
$custom-light: #7aadcb;
$custom-dark: #000000;
JSON
{
  "hex": "#2f8cb5",
  "rgb": {
    "r": 47,
    "g": 140,
    "b": 181
  },
  "hsl": {
    "h": 198.358,
    "s": 58.772,
    "l": 44.706
  },
  "oklch": {
    "l": 0.60422,
    "c": 0.10506,
    "h": 231.5
  },
  "luminance": 0.22697
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2F8CB5

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

Preview Lab → · Contrast checker → · Palette generator →

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