#2F789F#2F789F

#2F789F is a mid, moderate cyan. Relative luminance 0.165; OKLCH L 54.5% C 0.094 H 235.7°. Best body text is #FFFFFF at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#2F789F
RGBrgb(47, 120, 159)
HSLhsl(201, 54%, 40%)
HSVhsv(201, 70%, 62%)
CMYKcmyk(70.4%, 24.5%, 0%, 37.6%)
CIE-LABlab(47.67, -9.49, -27.54)
CIE-LCHlch(47.67, 29.13, 250.98°)
OKLaboklab(54.46% -0.0529 -0.0774)
OKLCHoklch(54.46% 0.094 235.7)
XYZxyz(14.1443, 16.5389, 35.2411)
Luminance0.1654 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F789F #9F562F
analogous
#2F9F8E #2F789F #2F409F
triadic
#2F789F #9F2F78 #789F2F
tetradic
#2F789F #8E2F9F #9F562F #409F2F
square
#2F789F #8E2F9F #9F562F #409F2F
split-complementary
#2F789F #9F2F40 #9F8E2F
monochromatic
#133141 #215470 #2F789F #449AC8 #73B3D6

Accessibility & contrast

On white

4.87
#2F789F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#2F789F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F789F
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F789F#FFFFFF#000000##FFFFFF
##2F789F1.004.874.314.87
#FFFFFF4.871.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6577A1
Deuteranopia (green-blind)
#566C9E
Tritanopia (blue-blind)
#008285
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #2f789f;
/* rgb */ color: rgb(47, 120, 159);
/* oklch */ color: oklch(54.5% 0.094 235.7);
Tailwind
colors: {
  custom: {
    50: '#769ebb',
    500: '#2f789f',
    950: '#000000',
  },
}
SCSS
$custom: #2f789f;
$custom-light: #769ebb;
$custom-dark: #000000;
JSON
{
  "hex": "#2f789f",
  "rgb": {
    "r": 47,
    "g": 120,
    "b": 159
  },
  "hsl": {
    "h": 200.893,
    "s": 54.369,
    "l": 40.392
  },
  "oklch": {
    "l": 0.54464,
    "c": 0.09379,
    "h": 235.7
  },
  "luminance": 0.1654
}

Semantic roles & 50–950 ramp

primary
#2F789F
secondary
#BD896D
accent
#7D4ADE
background
#F7F9FB
surface
#EEF2F6
border
#C9CCD0
text
#090E12
muted
#7B7E81

Preview Lab

Preview with #2F789F

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

Preview Lab → · Contrast checker → · Palette generator →

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