#2F789E#2F789E

#2F789E is a mid, moderate cyan. Relative luminance 0.165; OKLCH L 54.4% C 0.093 H 235.0°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#2F789E
RGBrgb(47, 120, 158)
HSLhsl(201, 54%, 40%)
HSVhsv(201, 70%, 62%)
CMYKcmyk(70.3%, 24.1%, 0%, 38%)
CIE-LABlab(47.63, -9.84, -27.02)
CIE-LCHlch(47.63, 28.76, 249.98°)
OKLaboklab(54.41% -0.0533 -0.0759)
OKLCHoklch(54.41% 0.093 235)
XYZxyz(14.0579, 16.5044, 34.7859)
Luminance0.1651 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F789E #9E552F
analogous
#2F9E8D #2F789E #2F409E
triadic
#2F789E #9E2F78 #789E2F
tetradic
#2F789E #8D2F9E #9E552F #409E2F
square
#2F789E #8D2F9E #9E552F #409E2F
split-complementary
#2F789E #9E2F40 #9E8D2F
monochromatic
#133040 #21546F #2F789E #439AC7 #72B3D5

Accessibility & contrast

On white

4.88
#2F789E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.30
#2F789E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F789E
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F789E#FFFFFF#000000##FFFFFF
##2F789E1.004.884.304.88
#FFFFFF4.881.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6677A0
Deuteranopia (green-blind)
#566C9D
Tritanopia (blue-blind)
#008285
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #2f789e;
/* rgb */ color: rgb(47, 120, 158);
/* oklch */ color: oklch(54.4% 0.093 235.0);
Tailwind
colors: {
  custom: {
    50: '#759fba',
    500: '#2f789e',
    950: '#000000',
  },
}
SCSS
$custom: #2f789e;
$custom-light: #759fba;
$custom-dark: #000000;
JSON
{
  "hex": "#2f789e",
  "rgb": {
    "r": 47,
    "g": 120,
    "b": 158
  },
  "hsl": {
    "h": 200.541,
    "s": 54.146,
    "l": 40.196
  },
  "oklch": {
    "l": 0.54414,
    "c": 0.09276,
    "h": 235
  },
  "luminance": 0.16506
}

Semantic roles & 50–950 ramp

primary
#2F789E
secondary
#BD886C
accent
#7D4ADE
background
#F7F9FB
surface
#EEF2F6
border
#C9CCD0
text
#090E11
muted
#7B7E80

Preview Lab

Preview with #2F789E

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

Preview Lab → · Contrast checker → · Palette generator →

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