#2F8BB3#2F8BB3

#2F8BB3 is a mid, moderate cyan. Relative luminance 0.223; OKLCH L 60.1% C 0.104 H 231.1°. Best body text is #000000 at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#2F8BB3
RGBrgb(47, 139, 179)
HSLhsl(198, 58%, 44%)
HSVhsv(198, 74%, 70%)
CMYKcmyk(73.7%, 22.3%, 0%, 29.8%)
CIE-LABlab(54.37, -13.34, -28.72)
CIE-LCHlch(54.37, 31.66, 245.08°)
OKLaboklab(60.08% -0.0651 -0.0807)
OKLCHoklch(60.08% 0.104 231.1)
XYZxyz(18.5383, 22.3221, 45.9706)
Luminance0.2232 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F8BB3 #B3572F
analogous
#2FB399 #2F8BB3 #2F49B3
triadic
#2F8BB3 #B32F8B #8BB32F
tetradic
#2F8BB3 #992FB3 #B3572F #49B32F
square
#2F8BB3 #992FB3 #B3572F #49B32F
split-complementary
#2F8BB3 #B32F49 #B3992F
monochromatic
#164052 #226583 #2F8BB3 #4FA9D1 #7FC1DD

Accessibility & contrast

On white

3.84
#2F8BB3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.46
#2F8BB3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F8BB3
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F8BB3#FFFFFF#000000##000000
##2F8BB31.003.845.465.46
#FFFFFF3.841.0021.0021.00
#0000005.4621.001.001.00
##0000005.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7789B5
Deuteranopia (green-blind)
#657CB2
Tritanopia (blue-blind)
#009698
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #2f8bb3;
/* rgb */ color: rgb(47, 139, 179);
/* oklch */ color: oklch(60.1% 0.104 231.1);
Tailwind
colors: {
  custom: {
    50: '#7aacca',
    500: '#2f8bb3',
    950: '#000000',
  },
}
SCSS
$custom: #2f8bb3;
$custom-light: #7aacca;
$custom-dark: #000000;
JSON
{
  "hex": "#2f8bb3",
  "rgb": {
    "r": 47,
    "g": 139,
    "b": 179
  },
  "hsl": {
    "h": 198.182,
    "s": 58.407,
    "l": 44.314
  },
  "oklch": {
    "l": 0.60083,
    "c": 0.10368,
    "h": 231.1
  },
  "luminance": 0.22324
}

Semantic roles & 50–950 ramp

primary
#2F8BB3
secondary
#C68F78
accent
#7546E2
background
#F8FAFC
surface
#EFF4F8
border
#CACED1
text
#0A1013
muted
#7C7F82

Preview Lab

Preview with #2F8BB3

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

Preview Lab → · Contrast checker → · Palette generator →

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