#2F8BBC#2F8BBC

#2F8BBC is a mid, moderate cyan. Relative luminance 0.227; OKLCH L 60.5% C 0.112 H 236.6°. Best body text is #000000 at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#2F8BBC
RGBrgb(47, 139, 188)
HSLhsl(201, 60%, 46%)
HSVhsv(201, 75%, 74%)
CMYKcmyk(75%, 26.1%, 0%, 26.3%)
CIE-LABlab(54.76, -10.21, -33.24)
CIE-LCHlch(54.76, 34.78, 252.92°)
OKLaboklab(60.53% -0.0619 -0.0938)
OKLCHoklch(60.53% 0.112 236.6)
XYZxyz(19.4784, 22.6981, 50.9218)
Luminance0.2270 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F8BBC #BC602F
analogous
#2FBCA6 #2F8BBC #2F44BC
triadic
#2F8BBC #BC2F8B #8BBC2F
tetradic
#2F8BBC #A62FBC #BC602F #44BC2F
square
#2F8BBC #A62FBC #BC602F #44BC2F
split-complementary
#2F8BBC #BC2F44 #BCA62F
monochromatic
#17435A #23678B #2F8BBC #54A8D4 #85C1E0

Accessibility & contrast

On white

3.79
#2F8BBC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.54
#2F8BBC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F8BBC
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F8BBC#FFFFFF#000000##000000
##2F8BBC1.003.795.545.54
#FFFFFF3.791.0021.0021.00
#0000005.5421.001.001.00
##0000005.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#748ABE
Deuteranopia (green-blind)
#607DBB
Tritanopia (blue-blind)
#00989C
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #2f8bbc;
/* rgb */ color: rgb(47, 139, 188);
/* oklch */ color: oklch(60.5% 0.112 236.6);
Tailwind
colors: {
  custom: {
    50: '#7bacd0',
    500: '#2f8bbc',
    950: '#000000',
  },
}
SCSS
$custom: #2f8bbc;
$custom-light: #7bacd0;
$custom-dark: #000000;
JSON
{
  "hex": "#2f8bbc",
  "rgb": {
    "r": 47,
    "g": 139,
    "b": 188
  },
  "hsl": {
    "h": 200.851,
    "s": 60,
    "l": 46.078
  },
  "oklch": {
    "l": 0.60525,
    "c": 0.11237,
    "h": 236.6
  },
  "luminance": 0.227
}

Semantic roles & 50–950 ramp

primary
#2F8BBC
secondary
#CA987D
accent
#7C45E3
background
#F8FAFC
surface
#EFF4F9
border
#CACED2
text
#0B1014
muted
#7C7F82

Preview Lab

Preview with #2F8BBC

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

Preview Lab → · Contrast checker → · Palette generator →

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