#2F8FB7#2F8FB7

#2F8FB7 is a mid, moderate cyan. Relative luminance 0.237; OKLCH L 61.2% C 0.106 H 230.2°. Best body text is #000000 at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#2F8FB7
RGBrgb(47, 143, 183)
HSLhsl(198, 59%, 45%)
HSVhsv(198, 74%, 72%)
CMYKcmyk(74.3%, 21.9%, 0%, 28.2%)
CIE-LABlab(55.75, -14.18, -28.85)
CIE-LCHlch(55.75, 32.15, 243.82°)
OKLaboklab(61.24% -0.0676 -0.0811)
OKLCHoklch(61.24% 0.106 230.2)
XYZxyz(19.5385, 23.6659, 48.3288)
Luminance0.2367 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F8FB7 #B7572F
analogous
#2FB79B #2F8FB7 #2F4BB7
triadic
#2F8FB7 #B72F8F #8FB72F
tetradic
#2F8FB7 #9B2FB7 #B7572F #4BB72F
square
#2F8FB7 #9B2FB7 #B7572F #4BB72F
split-complementary
#2F8FB7 #B72F4B #B79B2F
monochromatic
#164356 #226986 #2F8FB7 #51ACD2 #82C3DF

Accessibility & contrast

On white

3.66
#2F8FB7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.73
#2F8FB7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F8FB7
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F8FB7#FFFFFF#000000##000000
##2F8FB71.003.665.735.73
#FFFFFF3.661.0021.0021.00
#0000005.7321.001.001.00
##0000005.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7B8DB9
Deuteranopia (green-blind)
#6880B6
Tritanopia (blue-blind)
#009A9C
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #2f8fb7;
/* rgb */ color: rgb(47, 143, 183);
/* oklch */ color: oklch(61.2% 0.106 230.2);
Tailwind
colors: {
  custom: {
    50: '#7bafcc',
    500: '#2f8fb7',
    950: '#000000',
  },
}
SCSS
$custom: #2f8fb7;
$custom-light: #7bafcc;
$custom-dark: #000000;
JSON
{
  "hex": "#2f8fb7",
  "rgb": {
    "r": 47,
    "g": 143,
    "b": 183
  },
  "hsl": {
    "h": 197.647,
    "s": 59.13,
    "l": 45.098
  },
  "oklch": {
    "l": 0.61244,
    "c": 0.10555,
    "h": 230.2
  },
  "luminance": 0.23668
}

Semantic roles & 50–950 ramp

primary
#2F8FB7
secondary
#C8917A
accent
#7445E2
background
#F8FAFC
surface
#EFF4F9
border
#CACED2
text
#0B1013
muted
#7C7F82

Preview Lab

Preview with #2F8FB7

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

Preview Lab → · Contrast checker → · Palette generator →

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