#2F8CB4#2F8CB4

#2F8CB4 is a mid, moderate cyan. Relative luminance 0.227; OKLCH L 60.4% C 0.104 H 230.9°. Best body text is #000000 at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#2F8CB4
RGBrgb(47, 140, 180)
HSLhsl(198, 59%, 45%)
HSVhsv(198, 74%, 71%)
CMYKcmyk(73.9%, 22.2%, 0%, 29.4%)
CIE-LABlab(54.71, -13.55, -28.75)
CIE-LCHlch(54.71, 31.78, 244.76°)
OKLaboklab(60.37% -0.0657 -0.0808)
OKLCHoklch(60.37% 0.104 230.9)
XYZxyz(18.7853, 22.6536, 46.5537)
Luminance0.2266 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F8CB4 #B4572F
analogous
#2FB49A #2F8CB4 #2F4AB4
triadic
#2F8CB4 #B42F8C #8CB42F
tetradic
#2F8CB4 #9A2FB4 #B4572F #4AB42F
square
#2F8CB4 #9A2FB4 #B4572F #4AB42F
split-complementary
#2F8CB4 #B42F4A #B49A2F
monochromatic
#164153 #226683 #2F8CB4 #4FAAD1 #80C1DE

Accessibility & contrast

On white

3.80
#2F8CB4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.53
#2F8CB4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F8CB4
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F8CB4#FFFFFF#000000##000000
##2F8CB41.003.805.535.53
#FFFFFF3.801.0021.0021.00
#0000005.5321.001.001.00
##0000005.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#788AB6
Deuteranopia (green-blind)
#667DB3
Tritanopia (blue-blind)
#009799
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #2f8cb4;
/* rgb */ color: rgb(47, 140, 180);
/* oklch */ color: oklch(60.4% 0.104 230.9);
Tailwind
colors: {
  custom: {
    50: '#7aadca',
    500: '#2f8cb4',
    950: '#000000',
  },
}
SCSS
$custom: #2f8cb4;
$custom-light: #7aadca;
$custom-dark: #000000;
JSON
{
  "hex": "#2f8cb4",
  "rgb": {
    "r": 47,
    "g": 140,
    "b": 180
  },
  "hsl": {
    "h": 198.045,
    "s": 58.59,
    "l": 44.51
  },
  "oklch": {
    "l": 0.60374,
    "c": 0.10415,
    "h": 230.9
  },
  "luminance": 0.22656
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2F8CB4

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

Preview Lab → · Contrast checker → · Palette generator →

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