#2F789B#2F789B

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

Color values

HEX#2F789B
RGBrgb(47, 120, 155)
HSLhsl(199, 53%, 40%)
HSVhsv(199, 70%, 61%)
CMYKcmyk(69.7%, 22.6%, 0%, 39.2%)
CIE-LABlab(47.50, -10.89, -25.46)
CIE-LCHlch(47.50, 27.69, 246.85°)
OKLaboklab(54.27% -0.0544 -0.0715)
OKLCHoklch(54.27% 0.09 232.7)
XYZxyz(13.8028, 16.4023, 33.4425)
Luminance0.1640 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F789B #9B522F
analogous
#2F9B88 #2F789B #2F429B
triadic
#2F789B #9B2F78 #789B2F
tetradic
#2F789B #882F9B #9B522F #429B2F
square
#2F789B #882F9B #9B522F #429B2F
split-complementary
#2F789B #9B2F42 #9B882F
monochromatic
#132F3D #21546C #2F789B #429BC6 #71B4D4

Accessibility & contrast

On white

4.91
#2F789B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.28
#2F789B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F789B
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F789B#FFFFFF#000000##FFFFFF
##2F789B1.004.914.284.91
#FFFFFF4.911.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#67779D
Deuteranopia (green-blind)
#586C9A
Tritanopia (blue-blind)
#008184
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #2f789b;
/* rgb */ color: rgb(47, 120, 155);
/* oklch */ color: oklch(54.3% 0.090 232.7);
Tailwind
colors: {
  custom: {
    50: '#759fb8',
    500: '#2f789b',
    950: '#000000',
  },
}
SCSS
$custom: #2f789b;
$custom-light: #759fb8;
$custom-dark: #000000;
JSON
{
  "hex": "#2f789b",
  "rgb": {
    "r": 47,
    "g": 120,
    "b": 155
  },
  "hsl": {
    "h": 199.444,
    "s": 53.465,
    "l": 39.608
  },
  "oklch": {
    "l": 0.54266,
    "c": 0.08979,
    "h": 232.7
  },
  "luminance": 0.16404
}

Semantic roles & 50–950 ramp

primary
#2F789B
secondary
#BB856A
accent
#7A4BDD
background
#F7F9FB
surface
#EEF2F6
border
#C9CCD0
text
#090E11
muted
#7B7E80

Preview Lab

Preview with #2F789B

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

Preview Lab → · Contrast checker → · Palette generator →

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