#2F8DB8#2F8DB8

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

Color values

HEX#2F8DB8
RGBrgb(47, 141, 184)
HSLhsl(199, 59%, 45%)
HSVhsv(199, 74%, 72%)
CMYKcmyk(74.5%, 23.4%, 0%, 27.8%)
CIE-LABlab(55.19, -12.73, -30.30)
CIE-LCHlch(55.19, 32.86, 247.21°)
OKLaboklab(60.81% -0.0653 -0.0852)
OKLCHoklch(60.81% 0.107 232.6)
XYZxyz(19.3454, 23.1125, 48.7797)
Luminance0.2311 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F8DB8 #B85A2F
analogous
#2FB89E #2F8DB8 #2F49B8
triadic
#2F8DB8 #B82F8D #8DB82F
tetradic
#2F8DB8 #9E2FB8 #B85A2F #49B82F
square
#2F8DB8 #9E2FB8 #B85A2F #49B82F
split-complementary
#2F8DB8 #B82F49 #B89E2F
monochromatic
#164257 #236887 #2F8DB8 #52AAD3 #82C2DF

Accessibility & contrast

On white

3.73
#2F8DB8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.62
#2F8DB8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F8DB8
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F8DB8#FFFFFF#000000##000000
##2F8DB81.003.735.625.62
#FFFFFF3.731.0021.0021.00
#0000005.6221.001.001.00
##0000005.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#788CBA
Deuteranopia (green-blind)
#657EB7
Tritanopia (blue-blind)
#00999B
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #2f8db8;
/* rgb */ color: rgb(47, 141, 184);
/* oklch */ color: oklch(60.8% 0.107 232.6);
Tailwind
colors: {
  custom: {
    50: '#7baecd',
    500: '#2f8db8',
    950: '#000000',
  },
}
SCSS
$custom: #2f8db8;
$custom-light: #7baecd;
$custom-dark: #000000;
JSON
{
  "hex": "#2f8db8",
  "rgb": {
    "r": 47,
    "g": 141,
    "b": 184
  },
  "hsl": {
    "h": 198.832,
    "s": 59.307,
    "l": 45.294
  },
  "oklch": {
    "l": 0.60808,
    "c": 0.10736,
    "h": 232.6
  },
  "luminance": 0.23115
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2F8DB8

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

Preview Lab → · Contrast checker → · Palette generator →

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