#2F708B#2F708B

#2F708B is a mid, moderate cyan. Relative luminance 0.141; OKLCH L 51.5% C 0.078 H 228.5°. Best body text is #FFFFFF at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#2F708B
RGBrgb(47, 112, 139)
HSLhsl(198, 49%, 36%)
HSVhsv(198, 66%, 55%)
CMYKcmyk(66.2%, 19.4%, 0%, 45.5%)
CIE-LABlab(44.31, -11.78, -20.92)
CIE-LCHlch(44.31, 24.00, 240.62°)
OKLaboklab(51.5% -0.0517 -0.0585)
OKLCHoklch(51.5% 0.078 228.5)
XYZxyz(11.6248, 14.0555, 26.5214)
Luminance0.1406 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F708B #8B4A2F
analogous
#2F8B78 #2F708B #2F428B
triadic
#2F708B #8B2F70 #708B2F
tetradic
#2F708B #782F8B #8B4A2F #428B2F
square
#2F708B #782F8B #8B4A2F #428B2F
split-complementary
#2F708B #8B2F42 #8B782F
monochromatic
#102630 #204B5D #2F708B #3E95B9 #68AFCC

Accessibility & contrast

On white

5.51
#2F708B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#2F708B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F708B
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F708B#FFFFFF#000000##FFFFFF
##2F708B1.005.513.815.51
#FFFFFF5.511.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#626E8C
Deuteranopia (green-blind)
#55658B
Tritanopia (blue-blind)
#007879
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #2f708b;
/* rgb */ color: rgb(47, 112, 139);
/* oklch */ color: oklch(51.5% 0.078 228.5);
Tailwind
colors: {
  custom: {
    50: '#7299ad',
    500: '#2f708b',
    950: '#000000',
  },
}
SCSS
$custom: #2f708b;
$custom-light: #7299ad;
$custom-dark: #000000;
JSON
{
  "hex": "#2f708b",
  "rgb": {
    "r": 47,
    "g": 112,
    "b": 139
  },
  "hsl": {
    "h": 197.609,
    "s": 49.462,
    "l": 36.471
  },
  "oklch": {
    "l": 0.51501,
    "c": 0.07807,
    "h": 228.5
  },
  "luminance": 0.14057
}

Semantic roles & 50–950 ramp

primary
#2F708B
secondary
#B37A63
accent
#774FD9
background
#F7F9FA
surface
#EDF2F4
border
#C8CCCE
text
#090D10
muted
#7B7E7F

Preview Lab

Preview with #2F708B

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

Preview Lab → · Contrast checker → · Palette generator →

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