#2F709D#2F709D

#2F709D is a mid, moderate cyan. Relative luminance 0.146; OKLCH L 52.4% C 0.097 H 242.2°. Best body text is #FFFFFF at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#2F709D
RGBrgb(47, 112, 157)
HSLhsl(205, 54%, 40%)
HSVhsv(205, 70%, 62%)
CMYKcmyk(70.1%, 28.7%, 0%, 38.4%)
CIE-LABlab(45.12, -5.49, -30.35)
CIE-LCHlch(45.12, 30.84, 259.74°)
OKLaboklab(52.41% -0.0452 -0.0856)
OKLCHoklch(52.41% 0.097 242.2)
XYZxyz(13.0499, 14.6256, 34.0270)
Luminance0.1463 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F709D #9D5C2F
analogous
#2F9D93 #2F709D #2F399D
triadic
#2F709D #9D2F70 #709D2F
tetradic
#2F709D #932F9D #9D5C2F #399D2F
square
#2F709D #932F9D #9D5C2F #399D2F
split-complementary
#2F709D #9D2F39 #9D932F
monochromatic
#132D3F #214E6E #2F709D #4391C7 #72ACD5

Accessibility & contrast

On white

5.35
#2F709D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#2F709D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F709D
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F709D#FFFFFF#000000##FFFFFF
##2F709D1.005.353.935.35
#FFFFFF5.351.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B719F
Deuteranopia (green-blind)
#4C669C
Tritanopia (blue-blind)
#007B80
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #2f709d;
/* rgb */ color: rgb(47, 112, 157);
/* oklch */ color: oklch(52.4% 0.097 242.2);
Tailwind
colors: {
  custom: {
    50: '#7598ba',
    500: '#2f709d',
    950: '#000000',
  },
}
SCSS
$custom: #2f709d;
$custom-light: #7598ba;
$custom-dark: #000000;
JSON
{
  "hex": "#2f709d",
  "rgb": {
    "r": 47,
    "g": 112,
    "b": 157
  },
  "hsl": {
    "h": 204.545,
    "s": 53.922,
    "l": 40
  },
  "oklch": {
    "l": 0.52405,
    "c": 0.09685,
    "h": 242.2
  },
  "luminance": 0.14627
}

Semantic roles & 50–950 ramp

primary
#2F709D
secondary
#BC8D6B
accent
#874BDD
background
#F7F9FB
surface
#EEF2F6
border
#C9CCD0
text
#090D11
muted
#7B7E80

Preview Lab

Preview with #2F709D

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

Preview Lab → · Contrast checker → · Palette generator →

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