#2F8CB7#2F8CB7

#2F8CB7 is a mid, moderate cyan. Relative luminance 0.228; OKLCH L 60.5% C 0.107 H 232.8°. Best body text is #000000 at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#2F8CB7
RGBrgb(47, 140, 183)
HSLhsl(199, 59%, 45%)
HSVhsv(199, 74%, 72%)
CMYKcmyk(74.3%, 23.5%, 0%, 28.2%)
CIE-LABlab(54.84, -12.52, -30.26)
CIE-LCHlch(54.84, 32.75, 247.53°)
OKLaboklab(60.52% -0.0646 -0.0851)
OKLCHoklch(60.52% 0.107 232.8)
XYZxyz(19.0942, 22.7772, 48.1807)
Luminance0.2278 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F8CB7 #B75A2F
analogous
#2FB79E #2F8CB7 #2F48B7
triadic
#2F8CB7 #B72F8C #8CB72F
tetradic
#2F8CB7 #9E2FB7 #B75A2F #48B72F
square
#2F8CB7 #9E2FB7 #B75A2F #48B72F
split-complementary
#2F8CB7 #B72F48 #B79E2F
monochromatic
#164156 #226786 #2F8CB7 #51A9D2 #82C1DF

Accessibility & contrast

On white

3.78
#2F8CB7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.56
#2F8CB7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F8CB7
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F8CB7#FFFFFF#000000##000000
##2F8CB71.003.785.565.56
#FFFFFF3.781.0021.0021.00
#0000005.5621.001.001.00
##0000005.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#778BB9
Deuteranopia (green-blind)
#647DB6
Tritanopia (blue-blind)
#00989A
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #2f8cb7;
/* rgb */ color: rgb(47, 140, 183);
/* oklch */ color: oklch(60.5% 0.107 232.8);
Tailwind
colors: {
  custom: {
    50: '#7aadcc',
    500: '#2f8cb7',
    950: '#000000',
  },
}
SCSS
$custom: #2f8cb7;
$custom-light: #7aadcc;
$custom-dark: #000000;
JSON
{
  "hex": "#2f8cb7",
  "rgb": {
    "r": 47,
    "g": 140,
    "b": 183
  },
  "hsl": {
    "h": 198.971,
    "s": 59.13,
    "l": 45.098
  },
  "oklch": {
    "l": 0.60518,
    "c": 0.10691,
    "h": 232.8
  },
  "luminance": 0.22779
}

Semantic roles & 50–950 ramp

primary
#2F8CB7
secondary
#C8937A
accent
#7745E2
background
#F8FAFC
surface
#EFF4F9
border
#CACED2
text
#0B1013
muted
#7C7F82

Preview Lab

Preview with #2F8CB7

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

Preview Lab → · Contrast checker → · Palette generator →

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