#2F789C#2F789C

#2F789C is a mid, moderate cyan. Relative luminance 0.164; OKLCH L 54.3% C 0.091 H 233.5°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#2F789C
RGBrgb(47, 120, 156)
HSLhsl(200, 54%, 40%)
HSVhsv(200, 70%, 61%)
CMYKcmyk(69.9%, 23.1%, 0%, 38.8%)
CIE-LABlab(47.54, -10.54, -25.98)
CIE-LCHlch(47.54, 28.04, 247.92°)
OKLaboklab(54.32% -0.054 -0.073)
OKLCHoklch(54.32% 0.091 233.5)
XYZxyz(13.8871, 16.4361, 33.8866)
Luminance0.1644 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F789C #9C532F
analogous
#2F9C8A #2F789C #2F419C
triadic
#2F789C #9C2F78 #789C2F
tetradic
#2F789C #8A2F9C #9C532F #419C2F
square
#2F789C #8A2F9C #9C532F #419C2F
split-complementary
#2F789C #9C2F41 #9C8A2F
monochromatic
#13303E #21546D #2F789C #429AC6 #71B4D4

Accessibility & contrast

On white

4.90
#2F789C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#2F789C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F789C
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F789C#FFFFFF#000000##FFFFFF
##2F789C1.004.904.294.90
#FFFFFF4.901.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#66779E
Deuteranopia (green-blind)
#576C9B
Tritanopia (blue-blind)
#008284
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #2f789c;
/* rgb */ color: rgb(47, 120, 156);
/* oklch */ color: oklch(54.3% 0.091 233.5);
Tailwind
colors: {
  custom: {
    50: '#759fb9',
    500: '#2f789c',
    950: '#000000',
  },
}
SCSS
$custom: #2f789c;
$custom-light: #759fb9;
$custom-dark: #000000;
JSON
{
  "hex": "#2f789c",
  "rgb": {
    "r": 47,
    "g": 120,
    "b": 156
  },
  "hsl": {
    "h": 199.817,
    "s": 53.695,
    "l": 39.804
  },
  "oklch": {
    "l": 0.54315,
    "c": 0.09077,
    "h": 233.5
  },
  "luminance": 0.16438
}

Semantic roles & 50–950 ramp

primary
#2F789C
secondary
#BC866B
accent
#7B4BDD
background
#F7F9FB
surface
#EEF2F6
border
#C9CCD0
text
#090E11
muted
#7B7E80

Preview Lab

Preview with #2F789C

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

Preview Lab → · Contrast checker → · Palette generator →

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