#2F6D87#2F6D87

#2F6D87 is a mid, moderate cyan. Relative luminance 0.133; OKLCH L 50.6% C 0.075 H 228.6°. Best body text is #FFFFFF at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#2F6D87
RGBrgb(47, 109, 135)
HSLhsl(198, 48%, 36%)
HSVhsv(198, 65%, 53%)
CMYKcmyk(65.2%, 19.3%, 0%, 47.1%)
CIE-LABlab(43.20, -11.40, -20.24)
CIE-LCHlch(43.20, 23.24, 240.61°)
OKLaboklab(50.56% -0.0499 -0.0566)
OKLCHoklch(50.56% 0.075 228.6)
XYZxyz(11.0124, 13.2898, 24.9018)
Luminance0.1329 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F6D87 #87492F
analogous
#2F8775 #2F6D87 #2F4187
triadic
#2F6D87 #872F6D #6D872F
tetradic
#2F6D87 #752F87 #87492F #41872F
square
#2F6D87 #752F87 #87492F #41872F
split-complementary
#2F6D87 #872F41 #87752F
monochromatic
#0F242C #1F485A #2F6D87 #3F92B4 #66ADCA

Accessibility & contrast

On white

5.74
#2F6D87 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#2F6D87 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F6D87
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F6D87#FFFFFF#000000##FFFFFF
##2F6D871.005.743.665.74
#FFFFFF5.741.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F6B88
Deuteranopia (green-blind)
#536287
Tritanopia (blue-blind)
#007475
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #2f6d87;
/* rgb */ color: rgb(47, 109, 135);
/* oklch */ color: oklch(50.6% 0.075 228.6);
Tailwind
colors: {
  custom: {
    50: '#7196aa',
    500: '#2f6d87',
    950: '#000000',
  },
}
SCSS
$custom: #2f6d87;
$custom-light: #7196aa;
$custom-dark: #000000;
JSON
{
  "hex": "#2f6d87",
  "rgb": {
    "r": 47,
    "g": 109,
    "b": 135
  },
  "hsl": {
    "h": 197.727,
    "s": 48.352,
    "l": 35.686
  },
  "oklch": {
    "l": 0.50555,
    "c": 0.07544,
    "h": 228.6
  },
  "luminance": 0.13291
}

Semantic roles & 50–950 ramp

primary
#2F6D87
secondary
#B17961
accent
#7850D8
background
#F7F9FA
surface
#EDF2F4
border
#C8CCCE
text
#080D10
muted
#7B7E7F

Preview Lab

Preview with #2F6D87

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

Preview Lab → · Contrast checker → · Palette generator →

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