#2F778C#2F778C

#2F778C is a mid, moderate cyan. Relative luminance 0.157; OKLCH L 53.3% C 0.078 H 220.4°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#2F778C
RGBrgb(47, 119, 140)
HSLhsl(194, 50%, 37%)
HSVhsv(194, 66%, 55%)
CMYKcmyk(66.4%, 15%, 0%, 45.1%)
CIE-LABlab(46.57, -15.40, -18.05)
CIE-LCHlch(46.57, 23.73, 229.53°)
OKLaboklab(53.32% -0.0591 -0.0503)
OKLCHoklch(53.32% 0.078 220.4)
XYZxyz(12.5008, 15.6901, 27.1755)
Luminance0.1569 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F778C #8C442F
analogous
#2F8C73 #2F778C #2F498C
triadic
#2F778C #8C2F77 #778C2F
tetradic
#2F778C #732F8C #8C442F #498C2F
square
#2F778C #732F8C #8C442F #498C2F
split-complementary
#2F778C #8C2F49 #8C732F
monochromatic
#102930 #20505E #2F778C #3E9EBA #69B6CD

Accessibility & contrast

On white

5.07
#2F778C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#2F778C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F778C
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F778C#FFFFFF#000000##FFFFFF
##2F778C1.005.074.145.07
#FFFFFF5.071.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6A748D
Deuteranopia (green-blind)
#5D6A8C
Tritanopia (blue-blind)
#007E7E
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #2f778c;
/* rgb */ color: rgb(47, 119, 140);
/* oklch */ color: oklch(53.3% 0.078 220.4);
Tailwind
colors: {
  custom: {
    50: '#739ead',
    500: '#2f778c',
    950: '#000000',
  },
}
SCSS
$custom: #2f778c;
$custom-light: #739ead;
$custom-dark: #000000;
JSON
{
  "hex": "#2f778c",
  "rgb": {
    "r": 47,
    "g": 119,
    "b": 140
  },
  "hsl": {
    "h": 193.548,
    "s": 49.733,
    "l": 36.667
  },
  "oklch": {
    "l": 0.53316,
    "c": 0.07764,
    "h": 220.4
  },
  "luminance": 0.15691
}

Semantic roles & 50–950 ramp

primary
#2F778C
secondary
#B47563
accent
#6E4FD9
background
#F7F9FA
surface
#EDF2F4
border
#C8CCCE
text
#090E10
muted
#7B7E7F

Preview Lab

Preview with #2F778C

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

Preview Lab → · Contrast checker → · Palette generator →

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