#2F6B87#2F6B87

#2F6B87 is a mid, moderate cyan. Relative luminance 0.129; OKLCH L 50.1% C 0.076 H 231.3°. Best body text is #FFFFFF at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#2F6B87
RGBrgb(47, 107, 135)
HSLhsl(199, 48%, 36%)
HSVhsv(199, 65%, 53%)
CMYKcmyk(65.2%, 20.7%, 0%, 47.1%)
CIE-LABlab(42.56, -10.24, -21.22)
CIE-LCHlch(42.56, 23.56, 244.24°)
OKLaboklab(50.05% -0.0476 -0.0594)
OKLCHoklch(50.05% 0.076 231.3)
XYZxyz(10.8015, 12.8679, 24.8315)
Luminance0.1287 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F6B87 #874B2F
analogous
#2F8777 #2F6B87 #2F3F87
triadic
#2F6B87 #872F6B #6B872F
tetradic
#2F6B87 #772F87 #874B2F #3F872F
square
#2F6B87 #772F87 #874B2F #3F872F
split-complementary
#2F6B87 #872F3F #87772F
monochromatic
#0F232C #1F475A #2F6B87 #3F8FB4 #66AACA

Accessibility & contrast

On white

5.88
#2F6B87 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#2F6B87 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F6B87
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F6B87#FFFFFF#000000##FFFFFF
##2F6B871.005.883.575.88
#FFFFFF5.881.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D6A88
Deuteranopia (green-blind)
#516187
Tritanopia (blue-blind)
#007374
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #2f6b87;
/* rgb */ color: rgb(47, 107, 135);
/* oklch */ color: oklch(50.1% 0.076 231.3);
Tailwind
colors: {
  custom: {
    50: '#7195aa',
    500: '#2f6b87',
    950: '#000000',
  },
}
SCSS
$custom: #2f6b87;
$custom-light: #7195aa;
$custom-dark: #000000;
JSON
{
  "hex": "#2f6b87",
  "rgb": {
    "r": 47,
    "g": 107,
    "b": 135
  },
  "hsl": {
    "h": 199.091,
    "s": 48.352,
    "l": 35.686
  },
  "oklch": {
    "l": 0.50051,
    "c": 0.07611,
    "h": 231.3
  },
  "luminance": 0.12869
}

Semantic roles & 50–950 ramp

primary
#2F6B87
secondary
#B17A61
accent
#7B50D8
background
#F7F9FA
surface
#EDF1F4
border
#C8CBCE
text
#080D10
muted
#7B7E7F

Preview Lab

Preview with #2F6B87

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

Preview Lab → · Contrast checker → · Palette generator →

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