#2F8DB3#2F8DB3

#2F8DB3 is a mid, moderate cyan. Relative luminance 0.229; OKLCH L 60.6% C 0.103 H 229.3°. Best body text is #000000 at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#2F8DB3
RGBrgb(47, 141, 179)
HSLhsl(197, 58%, 44%)
HSVhsv(197, 74%, 70%)
CMYKcmyk(73.7%, 21.2%, 0%, 29.8%)
CIE-LABlab(54.98, -14.45, -27.77)
CIE-LCHlch(54.98, 31.31, 242.51°)
OKLaboklab(60.57% -0.0671 -0.078)
OKLCHoklch(60.57% 0.103 229.3)
XYZxyz(18.8306, 22.9066, 46.0681)
Luminance0.2291 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F8DB3 #B3552F
analogous
#2FB397 #2F8DB3 #2F4BB3
triadic
#2F8DB3 #B32F8D #8DB32F
tetradic
#2F8DB3 #972FB3 #B3552F #4BB32F
square
#2F8DB3 #972FB3 #B3552F #4BB32F
split-complementary
#2F8DB3 #B32F4B #B3972F
monochromatic
#164152 #226783 #2F8DB3 #4FABD1 #7FC2DD

Accessibility & contrast

On white

3.76
#2F8DB3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.58
#2F8DB3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F8DB3
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F8DB3#FFFFFF#000000##000000
##2F8DB31.003.765.585.58
#FFFFFF3.761.0021.0021.00
#0000005.5821.001.001.00
##0000005.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#798BB5
Deuteranopia (green-blind)
#677EB2
Tritanopia (blue-blind)
#00989A
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #2f8db3;
/* rgb */ color: rgb(47, 141, 179);
/* oklch */ color: oklch(60.6% 0.103 229.3);
Tailwind
colors: {
  custom: {
    50: '#7aaeca',
    500: '#2f8db3',
    950: '#000000',
  },
}
SCSS
$custom: #2f8db3;
$custom-light: #7aaeca;
$custom-dark: #000000;
JSON
{
  "hex": "#2f8db3",
  "rgb": {
    "r": 47,
    "g": 141,
    "b": 179
  },
  "hsl": {
    "h": 197.273,
    "s": 58.407,
    "l": 44.314
  },
  "oklch": {
    "l": 0.60569,
    "c": 0.10286,
    "h": 229.3
  },
  "luminance": 0.22909
}

Semantic roles & 50–950 ramp

primary
#2F8DB3
secondary
#C68E78
accent
#7346E2
background
#F8FAFC
surface
#EFF4F8
border
#CACED1
text
#0A1013
muted
#7C7F82

Preview Lab

Preview with #2F8DB3

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

Preview Lab → · Contrast checker → · Palette generator →

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