#2F8FBC#2F8FBC

#2F8FBC is a mid, moderate cyan. Relative luminance 0.239; OKLCH L 61.5% C 0.110 H 233.3°. Best body text is #000000 at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#2F8FBC
RGBrgb(47, 143, 188)
HSLhsl(199, 60%, 46%)
HSVhsv(199, 75%, 74%)
CMYKcmyk(75%, 23.9%, 0%, 26.3%)
CIE-LABlab(55.97, -12.46, -31.36)
CIE-LCHlch(55.97, 33.75, 248.33°)
OKLaboklab(61.49% -0.0658 -0.0883)
OKLCHoklch(61.49% 0.11 233.3)
XYZxyz(20.0682, 23.8777, 51.1184)
Luminance0.2388 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F8FBC #BC5C2F
analogous
#2FBCA2 #2F8FBC #2F48BC
triadic
#2F8FBC #BC2F8F #8FBC2F
tetradic
#2F8FBC #A22FBC #BC5C2F #48BC2F
square
#2F8FBC #A22FBC #BC5C2F #48BC2F
split-complementary
#2F8FBC #BC2F48 #BCA22F
monochromatic
#17455A #236A8B #2F8FBC #54ABD4 #85C3E0

Accessibility & contrast

On white

3.64
#2F8FBC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.78
#2F8FBC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F8FBC
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F8FBC#FFFFFF#000000##000000
##2F8FBC1.003.645.785.78
#FFFFFF3.641.0021.0021.00
#0000005.7821.001.001.00
##0000005.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#798EBE
Deuteranopia (green-blind)
#6680BB
Tritanopia (blue-blind)
#009B9E
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #2f8fbc;
/* rgb */ color: rgb(47, 143, 188);
/* oklch */ color: oklch(61.5% 0.110 233.3);
Tailwind
colors: {
  custom: {
    50: '#7bafd0',
    500: '#2f8fbc',
    950: '#000000',
  },
}
SCSS
$custom: #2f8fbc;
$custom-light: #7bafd0;
$custom-dark: #000000;
JSON
{
  "hex": "#2f8fbc",
  "rgb": {
    "r": 47,
    "g": 143,
    "b": 188
  },
  "hsl": {
    "h": 199.149,
    "s": 60,
    "l": 46.078
  },
  "oklch": {
    "l": 0.61485,
    "c": 0.11013,
    "h": 233.3
  },
  "luminance": 0.2388
}

Semantic roles & 50–950 ramp

primary
#2F8FBC
secondary
#CA957D
accent
#7745E3
background
#F8FAFC
surface
#EFF4F9
border
#CACED2
text
#0B1014
muted
#7C7F82

Preview Lab

Preview with #2F8FBC

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

Preview Lab → · Contrast checker → · Palette generator →

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