#2F8CB1#2F8CB1

#2F8CB1 is a mid, moderate cyan. Relative luminance 0.225; OKLCH L 60.2% C 0.102 H 228.8°. Best body text is #000000 at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#2F8CB1
RGBrgb(47, 140, 177)
HSLhsl(197, 58%, 44%)
HSVhsv(197, 73%, 69%)
CMYKcmyk(73.4%, 20.9%, 0%, 30.6%)
CIE-LABlab(54.59, -14.58, -27.23)
CIE-LCHlch(54.59, 30.89, 241.83°)
OKLaboklab(60.23% -0.0668 -0.0764)
OKLCHoklch(60.23% 0.102 228.8)
XYZxyz(18.4830, 22.5327, 44.9616)
Luminance0.2253 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F8CB1 #B1542F
analogous
#2FB195 #2F8CB1 #2F4BB1
triadic
#2F8CB1 #B12F8C #8CB12F
tetradic
#2F8CB1 #952FB1 #B1542F #4BB12F
square
#2F8CB1 #952FB1 #B1542F #4BB12F
split-complementary
#2F8CB1 #B12F4B #B1952F
monochromatic
#154050 #226681 #2F8CB1 #4DABD0 #7EC2DD

Accessibility & contrast

On white

3.81
#2F8CB1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.51
#2F8CB1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F8CB1
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F8CB1#FFFFFF#000000##000000
##2F8CB11.003.815.515.51
#FFFFFF3.811.0021.0021.00
#0000005.5121.001.001.00
##0000005.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#798AB3
Deuteranopia (green-blind)
#677DB1
Tritanopia (blue-blind)
#009698
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #2f8cb1;
/* rgb */ color: rgb(47, 140, 177);
/* oklch */ color: oklch(60.2% 0.102 228.8);
Tailwind
colors: {
  custom: {
    50: '#7aadc8',
    500: '#2f8cb1',
    950: '#000000',
  },
}
SCSS
$custom: #2f8cb1;
$custom-light: #7aadc8;
$custom-dark: #000000;
JSON
{
  "hex": "#2f8cb1",
  "rgb": {
    "r": 47,
    "g": 140,
    "b": 177
  },
  "hsl": {
    "h": 197.077,
    "s": 58.036,
    "l": 43.922
  },
  "oklch": {
    "l": 0.60231,
    "c": 0.10151,
    "h": 228.8
  },
  "luminance": 0.22535
}

Semantic roles & 50–950 ramp

primary
#2F8CB1
secondary
#C58D76
accent
#7347E1
background
#F8FAFC
surface
#EFF4F8
border
#CACED1
text
#0A1013
muted
#7C7F82

Preview Lab

Preview with #2F8CB1

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

Preview Lab → · Contrast checker → · Palette generator →

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