#2F8DB7#2F8DB7

#2F8DB7 is a mid, moderate cyan. Relative luminance 0.231; OKLCH L 60.8% C 0.106 H 231.9°. Best body text is #000000 at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#2F8DB7
RGBrgb(47, 141, 183)
HSLhsl(199, 59%, 45%)
HSVhsv(199, 74%, 72%)
CMYKcmyk(74.3%, 23%, 0%, 28.2%)
CIE-LABlab(55.15, -13.08, -29.79)
CIE-LCHlch(55.15, 32.54, 246.30°)
OKLaboklab(60.76% -0.0656 -0.0838)
OKLCHoklch(60.76% 0.106 231.9)
XYZxyz(19.2410, 23.0707, 48.2296)
Luminance0.2307 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F8DB7 #B7592F
analogous
#2FB79D #2F8DB7 #2F49B7
triadic
#2F8DB7 #B72F8D #8DB72F
tetradic
#2F8DB7 #9D2FB7 #B7592F #49B72F
square
#2F8DB7 #9D2FB7 #B7592F #49B72F
split-complementary
#2F8DB7 #B72F49 #B79D2F
monochromatic
#164256 #226786 #2F8DB7 #51AAD2 #82C2DF

Accessibility & contrast

On white

3.74
#2F8DB7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.61
#2F8DB7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F8DB7
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F8DB7#FFFFFF#000000##000000
##2F8DB71.003.745.615.61
#FFFFFF3.741.0021.0021.00
#0000005.6121.001.001.00
##0000005.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#788BB9
Deuteranopia (green-blind)
#667EB6
Tritanopia (blue-blind)
#00989B
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #2f8db7;
/* rgb */ color: rgb(47, 141, 183);
/* oklch */ color: oklch(60.8% 0.106 231.9);
Tailwind
colors: {
  custom: {
    50: '#7baecc',
    500: '#2f8db7',
    950: '#000000',
  },
}
SCSS
$custom: #2f8db7;
$custom-light: #7baecc;
$custom-dark: #000000;
JSON
{
  "hex": "#2f8db7",
  "rgb": {
    "r": 47,
    "g": 141,
    "b": 183
  },
  "hsl": {
    "h": 198.529,
    "s": 59.13,
    "l": 45.098
  },
  "oklch": {
    "l": 0.6076,
    "c": 0.10643,
    "h": 231.9
  },
  "luminance": 0.23073
}

Semantic roles & 50–950 ramp

primary
#2F8DB7
secondary
#C8927A
accent
#7645E2
background
#F8FAFC
surface
#EFF4F9
border
#CACED2
text
#0B1013
muted
#7C7F82

Preview Lab

Preview with #2F8DB7

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

Preview Lab → · Contrast checker → · Palette generator →

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